20 params.
addRequiredParam<UserObjectName>(
"fp",
"The name of the user object for fluid properties");
22 "Fluid properties using the (pressure, specific enthalpy) formulation");
28 _pressure(coupledValue(
"pressure")),
29 _h(coupledValue(
"h")),
31 _T(declareProperty<Real>(
"T")),
32 _s(declareProperty<Real>(
"s")),
registerMooseObject("FluidPropertiesTestApp", FluidPropertiesMaterialPH)
Computes fluid properties using (pressure, specific enthalpy) formulation.
const VariableValue & _pressure
Pressure (Pa)
const VariableValue & _h
Specific enthalpy (J/kg)
MaterialProperty< Real > & _T
Temperature (K)
FluidPropertiesMaterialPH(const InputParameters ¶meters)
void computeQpProperties() override
static InputParameters validParams()
const SinglePhaseFluidProperties & _fp
Fluid properties UserObject.
MaterialProperty< Real > & _s
Specific entropy (J/kg/K)
virtual ~FluidPropertiesMaterialPH()
static InputParameters validParams()
Common class for single phase fluid properties.