#include <INSADMaterial.h>
template<ComputeStage compute_stage>
class INSADMaterial< compute_stage >
Definition at line 22 of file INSADMaterial.h.
◆ INSADMaterial()
template<ComputeStage compute_stage>
Definition at line 41 of file INSADMaterial.C.
42 : ADMaterial<compute_stage>(parameters),
43 _velocity(adCoupledVectorValue(
"velocity")),
45 _grad_p(adCoupledGradient(
"pressure")),
46 _mu(getADMaterialProperty<Real>(
"mu_name")),
47 _rho(getADMaterialProperty<Real>(
"rho_name")),
52 _mass_strong_residual(declareADProperty<Real>(
"mass_strong_residual")),
53 _convective_strong_residual(declareADProperty<RealVectorValue>(
"convective_strong_residual")),
54 _td_strong_residual(declareADProperty<RealVectorValue>(
"td_strong_residual")),
55 _gravity_strong_residual(declareADProperty<RealVectorValue>(
"gravity_strong_residual")),
57 _momentum_strong_residual(declareADProperty<RealVectorValue>(
"momentum_strong_residual")),
62 if (parameters.isParamSetByUser(
"gravity"))
65 _gravity = getParam<RealVectorValue>(
"gravity");
69 if (getParam<bool>(
"include_viscous_term_in_strong_form"))
70 mooseError(
"Sorry no TypeNTensor operations are currently implemented, so we cannot add the "
71 "strong form contribution of the viscous term. Note that for linear elements, this "
72 "introduces no error, and in general for bi-linear elements, the error is small");
◆ ADMaterialProperty() [1/7]
template<ComputeStage compute_stage>
The strong residual of the mass continuity equation.
◆ ADMaterialProperty() [2/7]
template<ComputeStage compute_stage>
const INSADMaterial< compute_stage >::ADMaterialProperty |
( |
Real |
| ) |
& |
|
protected |
◆ ADMaterialProperty() [3/7]
template<ComputeStage compute_stage>
const INSADMaterial< compute_stage >::ADMaterialProperty |
( |
Real |
| ) |
& |
|
protected |
◆ ADMaterialProperty() [4/7]
template<ComputeStage compute_stage>
INSADMaterial< compute_stage >::ADMaterialProperty |
( |
RealVectorValue |
| ) |
& |
|
protected |
Strong residual corresponding to the momentum convective term.
◆ ADMaterialProperty() [5/7]
template<ComputeStage compute_stage>
INSADMaterial< compute_stage >::ADMaterialProperty |
( |
RealVectorValue |
| ) |
& |
|
protected |
Strong residual corresponding to the momentum gravity term.
◆ ADMaterialProperty() [6/7]
template<ComputeStage compute_stage>
INSADMaterial< compute_stage >::ADMaterialProperty |
( |
RealVectorValue |
| ) |
& |
|
protected |
The strong residual of the momentum equation.
◆ ADMaterialProperty() [7/7]
template<ComputeStage compute_stage>
INSADMaterial< compute_stage >::ADMaterialProperty |
( |
RealVectorValue |
| ) |
& |
|
protected |
Strong residual corresponding to the momentum transient term.
◆ computeQpProperties()
template<ComputeStage compute_stage>
◆ _grad_p
template<ComputeStage compute_stage>
const ADVariableGradient& INSADMaterial< compute_stage >::_grad_p |
|
protected |
◆ _grad_velocity
template<ComputeStage compute_stage>
const ADVectorVariableGradient& INSADMaterial< compute_stage >::_grad_velocity |
|
protected |
◆ _gravity
template<ComputeStage compute_stage>
◆ _gravity_set
template<ComputeStage compute_stage>
◆ _include_viscous_term_in_strong_form
template<ComputeStage compute_stage>
const bool INSADMaterial< compute_stage >::_include_viscous_term_in_strong_form |
|
protected |
Whether to include the strong form of the viscous term in the momentum equation strong residual.
The method is more consistent if set to true, but it incurs quite a bit more computational expense. Note that at present we don't actually support the true
value of this member!
Definition at line 62 of file INSADMaterial.h.
◆ _integrate_p_by_parts
template<ComputeStage compute_stage>
Whether to integrate the pressure term in the momentum equations by parts.
Definition at line 57 of file INSADMaterial.h.
◆ _mms_function_strong_residual
template<ComputeStage compute_stage>
MaterialProperty<RealVectorValue>& INSADMaterial< compute_stage >::_mms_function_strong_residual |
|
protected |
Strong residual corresponding to the mms function term.
Definition at line 83 of file INSADMaterial.h.
◆ _transient_term
template<ComputeStage compute_stage>
Whether we are performing a transient or steady simulation.
Definition at line 51 of file INSADMaterial.h.
◆ _velocity
template<ComputeStage compute_stage>
const ADVectorVariableValue& INSADMaterial< compute_stage >::_velocity |
|
protected |
◆ _velocity_dot
template<ComputeStage compute_stage>
const ADVectorVariableValue* INSADMaterial< compute_stage >::_velocity_dot |
|
protected |
Time derivative of the velocity, e.g. the acceleration.
Definition at line 54 of file INSADMaterial.h.
◆ _x_vel_fn
template<ComputeStage compute_stage>
◆ _y_vel_fn
template<ComputeStage compute_stage>
◆ _z_vel_fn
template<ComputeStage compute_stage>
◆ usingMaterialMembers
template<ComputeStage compute_stage>
The documentation for this class was generated from the following files: