19 params.
addClassDescription(
"The penalty term may be used when Dirichlet boundary condition is "
20 "applied to the entire boundary.");
21 params.
addParam<Real>(
"penalty", 1e-4,
"Penalty value is used to relax the incompressibility");
29 _penalty(getParam<Real>(
"penalty"))
registerMooseObject("NavierStokesApp", INSCompressibilityPenalty)
The penalty term may be used when Dirichlet boundary condition is applied to the entire boundary.
INSCompressibilityPenalty(const InputParameters ¶meters)
virtual Real computeQpJacobian()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
virtual Real computeQpResidual()
static InputParameters validParams()
const VariablePhiValue & _phi
const VariableTestValue & _test
static InputParameters validParams()