21 "direction",
"The direction of the flow channel material property");
24 params.
addClassDescription(
"Computes gravity term for the momentum equation for 1-phase flow");
30 _A(coupledValue(
"A")),
31 _rho(getMaterialProperty<
Real>(
"rho")),
32 _drho_darhoA(getMaterialPropertyDerivativeTHM<
Real>(
"rho",
"arhoA")),
35 _arhoA_var_number(coupled(
"arhoA"))
static InputParameters validParams()
registerMooseObject("ThermalHydraulicsApp", OneD3EqnMomentumGravity)
const MaterialProperty< Real > & _drho_darhoA
virtual Real computeQpJacobian()
const MaterialProperty< RealVectorValue > & _dir
The direction of the flow channel.
OneD3EqnMomentumGravity(const InputParameters ¶meters)
virtual Real computeQpResidual()
const RealVectorValue & _gravity_vector
Gravitational acceleration vector.
const MaterialProperty< Real > & _rho
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Computes gravity term for the momentum equation for 1-phase flow.
static InputParameters validParams()
const unsigned int _arhoA_var_number
virtual Real computeQpOffDiagJacobian(unsigned int jvar)