https://mooseframework.inl.gov
AdvectionIPHDGAssemblyHelper.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "IPHDGAssemblyHelper.h"
13 
20 {
21 public:
23 
24  AdvectionIPHDGAssemblyHelper(const MooseObject * const moose_obj,
26  const TransientInterface * const ti,
27  SystemBase & sys,
28  const Assembly & assembly,
29  const THREAD_ID tid,
30  const std::set<SubdomainID> & block_ids,
31  const std::set<BoundaryID> & boundary_ids);
32 
39  virtual void scalarVolume() override;
40 
45  virtual void scalarFace() override;
46 
51  virtual void lmFace() override;
52 
56  virtual void scalarDirichlet(const Moose::Functor<Real> & dirichlet_value) override;
57 
61  void lmOutflow();
62 
65 
68 
72  const Real _coeff;
73 
76  const bool _self_advection;
77 };
virtual void scalarDirichlet(const Moose::Functor< Real > &dirichlet_value) override
Weakly imposes a Dirichlet condition for the scalar field in the scalar field equation.
Keeps track of stuff related to assembling.
Definition: Assembly.h:101
const bool _self_advection
Whether this kernel should advect itself, e.g.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
void lmOutflow()
prescribes an outflow condition
virtual void lmFace() override
Computes a local residual vector for the weak form: -<Dq*n, > + < * (u - {u}) * n * n...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for a system (of equations)
Definition: SystemBase.h:84
Base class that declares all the methods for assembling a hybridized interior penalty discontinuous G...
Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-...
Interface for objects that needs transient capabilities.
virtual void scalarVolume() override
Computes a local residual vector for the weak form: (Dq, grad(w)) - (f, w) where D is the diffusivity...
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:28
const ADMaterialProperty< RealVectorValue > & _velocity
The velocity in the element interior.
AdvectionIPHDGAssemblyHelper(const MooseObject *const moose_obj, MooseVariableDependencyInterface *const mvdi, const TransientInterface *const ti, SystemBase &sys, const Assembly &assembly, const THREAD_ID tid, const std::set< SubdomainID > &block_ids, const std::set< BoundaryID > &boundary_ids)
const ADMaterialProperty< RealVectorValue > & _face_velocity
The velocity on the element faces.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void scalarFace() override
Computes a local residual vector for the weak form: -<Dq*n, w> + < * (u - {u}) * n * n...
const Real _coeff
The quantity we are advecting, e.g.
unsigned int THREAD_ID
Definition: MooseTypes.h:209