Go to the documentation of this file.
21 params.addClassDescription(
"Test 2-phase fluid properties");
23 params.makeParamRequired<UserObjectName>(
"fp_liquid");
24 params.makeParamRequired<UserObjectName>(
"fp_vapor");
32 _fp_liquid = &getUserObject<SinglePhaseFluidProperties>(
"fp_liquid");
33 _fp_vapor = &getUserObject<SinglePhaseFluidProperties>(
"fp_vapor");
virtual Real T_sat(Real p) const override
Computes the saturation temperature at a pressure.
virtual Real dT_sat_dp(Real p) const override
Computes dT/dp along the saturation line.
virtual Real p_sat(Real T) const override
Computes the saturation pressure at a temperature.
const SinglePhaseFluidProperties * _fp_liquid
The user object that provides liquid phase fluid properties.
const SinglePhaseFluidProperties * _fp_vapor
The user object that provides vapor phase fluid properties.
TestTwoPhaseFluidProperties(const InputParameters ¶meters)
InputParameters validParams< TwoPhaseFluidProperties >()
Test 2-phase fluid properties.
virtual Real p_critical() const override
Returns the critical pressure.
virtual bool supportsPhaseChange() const override
Returns true if phase change is supported, otherwise false.
registerMooseObject("FluidPropertiesTestApp", TestTwoPhaseFluidProperties)
Base class for fluid properties used with two-phase flow.
InputParameters validParams< TestTwoPhaseFluidProperties >()
virtual Real dsigma_dT_from_T(Real T) const override
Computes dsigma/dT along the saturation line.
virtual Real sigma_from_T(Real T) const override
Computes surface tension sigma of saturated liquid in contact with saturated vapor.