Go to the documentation of this file.
12 #include "ADMaterial.h"
14 #define usingINSMaterialMembers \
15 usingMaterialMembers; \
16 using INSADMaterial<compute_stage>::_mu; \
17 using INSADMaterial<compute_stage>::_rho; \
18 using INSADMaterial<compute_stage>::_velocity; \
19 using INSADMaterial<compute_stage>::_transient_term
21 template <ComputeStage>
26 template <ComputeStage compute_stage>
virtual void computeQpProperties() override
bool _gravity_set
Whether the user set a gravity vector. If none is set, we assume there is no gravity term in the simu...
const bool _include_viscous_term_in_strong_form
Whether to include the strong form of the viscous term in the momentum equation strong residual.
const Function & _x_vel_fn
The x velocity mms forcing function.
const bool _integrate_p_by_parts
Whether to integrate the pressure term in the momentum equations by parts.
const ADVectorVariableGradient & _grad_velocity
gradient of velocity
const ADVectorVariableValue & _velocity
velocity
INSADMaterial(const InputParameters ¶meters)
MaterialProperty< RealVectorValue > & _mms_function_strong_residual
Strong residual corresponding to the mms function term.
const ADVariableGradient & _grad_p
gradient of the pressure
const Function & _z_vel_fn
The z velocity mms forcing function.
const ADVectorVariableValue * _velocity_dot
Time derivative of the velocity, e.g. the acceleration.
const bool _transient_term
Whether we are performing a transient or steady simulation.
const ADMaterialProperty(Real) &_mu
viscosity
declareADValidParams(INSADMaterial)
RealVectorValue _gravity
The gravity vector; should be in units of acceleration.
const Function & _y_vel_fn
The y velocity mms forcing function.