21 "The velocity component this object is being applied to");
22 params.
addParam<
Real>(
"gamma", 1,
"The penalty parameter");
23 params.
addClassDescription(
"Adds grad-div stabilization for scalar field velocity component " 24 "Navier-Stokes implementations.");
30 _grad_vel_x(adCoupledGradient(
"u")),
31 _grad_vel_y(adCoupledGradient(
"v")),
32 _comp(getParam<unsigned short>(
"component")),
33 _matrix_only(getParam<bool>(
"matrix_only")),
34 _gamma(getParam<
Real>(
"gamma"))
void computeResidual() override
static InputParameters validParams()
const ADTemplateVariableTestGradient< T > & _grad_test
virtual void computeResidual() override
GradDiv(const InputParameters ¶meters)
registerMooseObject("NavierStokesApp", GradDiv)
This class implements an augmented Lagrange term, whose weak form is given by: where is the stabili...
virtual ADReal computeQpResidual() override
const unsigned short _comp
DualNumber< Real, DNDerivativeType, true > ADReal
const ADVariableGradient & _grad_vel_x
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADVariableGradient & _grad_vel_y