20 "direction",
"The direction of the flow channel material property");
22 params.
addRequiredParam<RealVectorValue>(
"gravity_vector",
"Gravitational acceleration vector");
23 params.
addClassDescription(
"Computes gravity term for the momentum equation for 1-phase flow");
29 _A(adCoupledValue(
"A")),
30 _rho(getADMaterialProperty<Real>(
"rho")),
31 _dir(getMaterialProperty<RealVectorValue>(
"direction")),
32 _gravity_vector(getParam<RealVectorValue>(
"gravity_vector"))
registerMooseObject("ThermalHydraulicsApp", ADOneD3EqnMomentumGravity)
DualNumber< Real, DNDerivativeType, true > ADReal
const ADTemplateVariableTestValue< T > & _test
static InputParameters validParams()
Computes gravity term for the momentum equation for 1-phase flow.
const RealVectorValue & _gravity_vector
Gravitational acceleration vector.
static InputParameters validParams()
virtual ADReal computeQpResidual()
const ADMaterialProperty< Real > & _rho
const ADVariableValue & _A
const MaterialProperty< RealVectorValue > & _dir
The direction of the flow channel.
ADOneD3EqnMomentumGravity(const InputParameters ¶meters)