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")),
Computes fluid properties using (pressure, specific enthalpy) formulation.
MaterialProperty< Real > & _T
Temperature (K)
FluidPropertiesMaterialPH(const InputParameters ¶meters)
static InputParameters validParams()
void computeQpProperties() override
MaterialProperty< Real > & _s
Specific entropy (J/kg/K)
const SinglePhaseFluidProperties & _fp
Fluid properties UserObject.
virtual ~FluidPropertiesMaterialPH()
static InputParameters validParams()
const VariableValue & _pressure
Pressure (Pa)
Common class for single phase fluid properties.
registerMooseObject("FluidPropertiesTestApp", FluidPropertiesMaterialPH)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _h
Specific enthalpy (J/kg)