This class adds PSPG stabilization to the mass equation, enabling use of equal order shape functions for pressure and velocity variables.
More...
#include <INSADMassPSPG.h>
template<ComputeStage compute_stage>
class INSADMassPSPG< compute_stage >
This class adds PSPG stabilization to the mass equation, enabling use of equal order shape functions for pressure and velocity variables.
Definition at line 16 of file INSADMassPSPG.h.
◆ INSADMassPSPG()
template<ComputeStage compute_stage>
Definition at line 24 of file INSADMassPSPG.C.
25 : ADKernelGrad<compute_stage>(parameters),
26 _rho(getADMaterialProperty<Real>(
"rho_name")),
27 _tau(getADMaterialProperty<Real>(
"tau")),
28 _momentum_strong_residual(getADMaterialProperty<RealVectorValue>(
"momentum_strong_residual"))
◆ ADMaterialProperty() [1/3]
template<ComputeStage compute_stage>
const INSADMassPSPG< compute_stage >::ADMaterialProperty |
( |
Real |
| ) |
& |
|
protected |
◆ ADMaterialProperty() [2/3]
template<ComputeStage compute_stage>
const INSADMassPSPG< compute_stage >::ADMaterialProperty |
( |
Real |
| ) |
& |
|
protected |
The stabilization parameter tau.
◆ ADMaterialProperty() [3/3]
template<ComputeStage compute_stage>
const INSADMassPSPG< compute_stage >::ADMaterialProperty |
( |
RealVectorValue |
| ) |
& |
|
protected |
The strong residual of the momentum equation, computed using INSADMaterial.
◆ precomputeQpResidual()
template<ComputeStage compute_stage>
ADRealVectorValue INSADMassPSPG< compute_stage >::precomputeQpResidual |
( |
| ) |
|
|
overrideprotected |
Definition at line 34 of file INSADMassPSPG.C.
36 return -_tau[_qp] / _rho[_qp] * _momentum_strong_residual[_qp];
◆ usingKernelGradMembers
template<ComputeStage compute_stage>
The documentation for this class was generated from the following files: