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)
static InputParameters validParams()
virtual ADReal computeQpResidual() override
A class that imparts a surface tension on the momentum equation The treatment is based on: Cairncross...
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
registerMooseObject("NavierStokesApp", INSADSurfaceTensionBC)
const ADMaterialProperty< RealVectorValue > & _surface_term_gradient2
const ADMaterialProperty< RealVectorValue > & _surface_term_gradient1
const bool _include_gradient_terms
If the surface tension should include the gradient terms (increases fidelity, decreases stability) ...
INSADSurfaceTensionBC(const InputParameters ¶meters)
const ADTemplateVariableTestValue< T > & _test
const Real _curvature_factor
Curvature force multiplier.
const ADMaterialProperty< RealVectorValue > & _surface_term_curvature
The surface tension terms.