Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-H), which is a type of HDG method, discretization of the Navier-Stokes stress term. More...
#include <NavierStokesStressIPHDGAssemblyHelper.h>
Static Public Member Functions | |
| static InputParameters | validParams () |
Static Public Attributes | |
| static constexpr PropertyValue::id_type | default_property_id |
| static constexpr PropertyValue::id_type | zero_property_id |
Protected Member Functions | |
| virtual void | scalarVolume () override |
| Computes a local residual vector for the weak form: (Dq, grad(w)) - (f, w) where D is the diffusivity, w are the test functions associated with the scalar field, and f is a forcing function. | |
| virtual void | scalarFace () override |
| Computes a local residual vector for the weak form: -<Dq*n, w> + <\tau * (u - \hat{u}) * n * n, w> | |
| virtual void | scalarDirichlet (const Moose::Functor< Real > &dirichlet_value) override |
| virtual void | lmFace () override |
| virtual void | checkMaterialProperty (const std::string &name, const unsigned int state) |
| virtual void | getKokkosMaterialPropertyHook (const std::string &, const unsigned int) |
| void | markMatPropRequested (const std::string &) |
| MaterialPropertyName | getMaterialPropertyName (const std::string &name) const |
| void | checkExecutionStage () |
| const GenericMaterialProperty< T, is_ad > * | defaultGenericMaterialProperty (const std::string &name) |
| const GenericMaterialProperty< T, is_ad > * | defaultGenericMaterialProperty (const std::string &name) |
| const MaterialProperty< T > * | defaultMaterialProperty (const std::string &name) |
| const MaterialProperty< T > * | defaultMaterialProperty (const std::string &name) |
| const ADMaterialProperty< T > * | defaultADMaterialProperty (const std::string &name) |
| const ADMaterialProperty< T > * | defaultADMaterialProperty (const std::string &name) |
Protected Attributes | |
| const MooseVariableFE< Real > & | _pressure_var |
| The pressure variable on element interiors. | |
| const MooseVariableFE< Real > & | _pressure_face_var |
| The pressure variable on element faces. | |
| const ADVariableValue & | _pressure_sol |
| The pressure solution on element interiors. | |
| const ADVariableValue & | _pressure_face_sol |
| The pressure solution on element faces. | |
| const Moose::CoordinateSystemType & | _coord_sys |
| The coordinate system. | |
| const unsigned int | _rz_radial_coord |
| The radial coordinate index for RZ coordinate systems. | |
| unsigned int | _component |
| The velocity component this object is adding a residual for. | |
| const MooseArray< ADRealVectorValue > & | _grad_u_sol |
| const MooseArray< std::vector< RealVectorValue > > & | _grad_scalar_phi_face |
| const ADMaterialProperty< Real > & | _diff |
| const ADMaterialProperty< Real > & | _face_diff |
| const Real | _alpha |
| const TransientInterface & | _ti |
| const MooseVariableFE< Real > & | _u_var |
| const MooseVariableFE< Real > & | _u_face_var |
| const std::vector< dof_id_type > & | _u_dof_indices |
| const std::vector< dof_id_type > & | _lm_u_dof_indices |
| const MooseArray< ADReal > & | _u_sol |
| const MooseArray< ADReal > & | _lm_u_sol |
| const MooseArray< std::vector< Real > > & | _scalar_phi |
| const MooseArray< std::vector< RealVectorValue > > & | _grad_scalar_phi |
| const MooseArray< std::vector< Real > > & | _scalar_phi_face |
| const MooseArray< std::vector< Real > > & | _lm_phi_face |
| const Real & | _elem_volume |
| const Real & | _side_area |
| const Elem *const & | _current_elem |
| const unsigned int & | _current_side |
| const Elem *const & | _current_side_elem |
| const MooseArray< Real > & | _JxW |
| const libMesh::QBase *const & | _qrule |
| const MooseArray< Point > & | _q_point |
| const MooseArray< Real > & | _JxW_face |
| const libMesh::QBase *const & | _qrule_face |
| const MooseArray< Point > & | _q_point_face |
| const MooseArray< Point > & | _normals |
| DenseVector< ADReal > | _scalar_re |
| DenseVector< ADReal > | _lm_re |
| MaterialData & | _face_material_data |
| MaterialData & | _neighbor_material_data |
| const InputParameters & | _mi_params |
| const std::string | _mi_name |
| const MooseObjectName | _mi_moose_object_name |
| FEProblemBase & | _mi_feproblem |
| SubProblem & | _mi_subproblem |
| const THREAD_ID | _mi_tid |
| const bool | _is_kokkos_object |
| const Moose::MaterialDataType | _material_data_type |
| MaterialData & | _material_data |
| bool | _stateful_allowed |
| bool | _get_material_property_called |
| std::vector< std::unique_ptr< PropertyValue > > | _default_properties |
| std::unordered_set< unsigned int > | _material_property_dependencies |
| const MaterialPropertyName | _get_suffix |
| const bool | _use_interpolated_state |
Static Protected Attributes | |
| static const std::string | _interpolated_old |
| static const std::string | _interpolated_older |
Private Member Functions | |
| Moose::MaterialDataType | getMaterialDataType (const std::set< BoundaryID > &boundary_ids) const |
| unsigned int | getMaxQps () const |
| void | addConsumedPropertyName (const MooseObjectName &obj_name, const std::string &prop_name) |
Private Attributes | |
| const MooseObject & | _mi_moose_object |
| const bool | _mi_boundary_restricted |
| const std::set< SubdomainID > & | _mi_block_ids |
| const std::set< BoundaryID > & | _mi_boundary_ids |
| std::vector< std::unique_ptr< OptionalMaterialPropertyProxyBase< MaterialPropertyInterface > > > | _optional_property_proxies |
Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-H), which is a type of HDG method, discretization of the Navier-Stokes stress term.
Definition at line 20 of file NavierStokesStressIPHDGAssemblyHelper.h.
| NavierStokesStressIPHDGAssemblyHelper::NavierStokesStressIPHDGAssemblyHelper | ( | const MooseObject *const | moose_obj, |
| MooseVariableDependencyInterface *const | mvdi, | ||
| const TransientInterface *const | ti, | ||
| const MooseMesh & | mesh, | ||
| SystemBase & | sys, | ||
| const Assembly & | assembly, | ||
| const THREAD_ID | tid, | ||
| const std::set< SubdomainID > & | block_ids, | ||
| const std::set< BoundaryID > & | boundary_ids | ||
| ) |
Definition at line 35 of file NavierStokesStressIPHDGAssemblyHelper.C.
|
overrideprotectedvirtual |
Reimplemented from DiffusionIPHDGAssemblyHelper.
Definition at line 95 of file NavierStokesStressIPHDGAssemblyHelper.C.
|
overrideprotectedvirtual |
Reimplemented from DiffusionIPHDGAssemblyHelper.
Definition at line 84 of file NavierStokesStressIPHDGAssemblyHelper.C.
|
overrideprotectedvirtual |
Computes a local residual vector for the weak form: -<Dq*n, w> + <\tau * (u - \hat{u}) * n * n, w>
Reimplemented from DiffusionIPHDGAssemblyHelper.
Definition at line 73 of file NavierStokesStressIPHDGAssemblyHelper.C.
|
overrideprotectedvirtual |
Computes a local residual vector for the weak form: (Dq, grad(w)) - (f, w) where D is the diffusivity, w are the test functions associated with the scalar field, and f is a forcing function.
Reimplemented from DiffusionIPHDGAssemblyHelper.
Definition at line 59 of file NavierStokesStressIPHDGAssemblyHelper.C.
|
static |
Definition at line 24 of file NavierStokesStressIPHDGAssemblyHelper.C.
Referenced by NavierStokesStressIPHDGDirichletBC::validParams(), NavierStokesStressIPHDGPrescribedTractionBC::validParams(), and NavierStokesStressIPHDGKernel::validParams().
|
protected |
The velocity component this object is adding a residual for.
Definition at line 71 of file NavierStokesStressIPHDGAssemblyHelper.h.
Referenced by lmFace(), scalarDirichlet(), scalarFace(), and scalarVolume().
|
protected |
The coordinate system.
Definition at line 65 of file NavierStokesStressIPHDGAssemblyHelper.h.
Referenced by scalarVolume().
|
protected |
The pressure solution on element faces.
Definition at line 62 of file NavierStokesStressIPHDGAssemblyHelper.h.
Referenced by lmFace(), scalarDirichlet(), and scalarFace().
|
protected |
The pressure variable on element faces.
Definition at line 57 of file NavierStokesStressIPHDGAssemblyHelper.h.
|
protected |
The pressure solution on element interiors.
Definition at line 60 of file NavierStokesStressIPHDGAssemblyHelper.h.
Referenced by scalarVolume().
|
protected |
The pressure variable on element interiors.
Definition at line 55 of file NavierStokesStressIPHDGAssemblyHelper.h.
|
protected |
The radial coordinate index for RZ coordinate systems.
Definition at line 68 of file NavierStokesStressIPHDGAssemblyHelper.h.
Referenced by scalarVolume().