24 params.
addRequiredParam<MaterialPropertyName>(
"T",
"Temperature material property");
26 "p_sat",
"Name to give saturation pressure material property");
29 "Two-phase fluid properties user object name");
39 _T(getGenericMaterialProperty<Real, is_ad>(
"T")),
40 _p_sat_name(getParam<MaterialPropertyName>(
"p_sat")),
41 _p_sat(declareGenericProperty<Real, is_ad>(_p_sat_name)),
51 _p_sat[_qp] = _fp_2phase.p_sat(_T[_qp]);
registerMooseObject("FluidPropertiesApp", SaturationPressureMaterial)
static InputParameters validParams()
Computes saturation pressure at some temperature.
SaturationPressureMaterialTempl(const InputParameters ¶meters)
static InputParameters validParams()
virtual void computeQpProperties() override
Base class for fluid properties used with two-phase flow.