19 params.
addParam<
bool>(
"include_gradient_terms",
21 "If the surface tension should include the gradient terms (increases "
22 "fidelity, decreases stability)");
28 _surface_term_curvature(getADMaterialProperty<RealVectorValue>(
"surface_term_curvature")),
29 _surface_term_gradient1(getADMaterialProperty<RealVectorValue>(
"surface_term_gradient1")),
30 _surface_term_gradient2(getADMaterialProperty<RealVectorValue>(
"surface_term_gradient2")),
31 _include_gradient_terms(getParam<bool>(
"include_gradient_terms")),
32 _curvature_factor(_subproblem.
mesh().dimension() == 3 ? 1.0 : -1.0)
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", INSADSurfaceTensionBC)
static InputParameters validParams()
const ADTemplateVariableTestValue< T > & _test
A class that imparts a surface tension on the momentum equation The treatment is based on: Cairncross...
const ADMaterialProperty< RealVectorValue > & _surface_term_gradient2
static InputParameters validParams()
INSADSurfaceTensionBC(const InputParameters ¶meters)
const ADMaterialProperty< RealVectorValue > & _surface_term_gradient1
const ADMaterialProperty< RealVectorValue > & _surface_term_curvature
The surface tension terms.
virtual ADReal computeQpResidual() override
const Real _curvature_factor
Curvature force multiplier.
const bool _include_gradient_terms
If the surface tension should include the gradient terms (increases fidelity, decreases stability)