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