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]);
SaturationPressureMaterialTempl(const InputParameters ¶meters)
Base class for fluid properties used with two-phase flow.
static InputParameters validParams()
virtual void computeQpProperties() override
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("FluidPropertiesApp", SaturationPressureMaterial)
Computes saturation pressure at some temperature.