21 "2-phase fluid properties for 2 independent single-phase fluid properties");
26 "error_on_unimplemented",
28 "If true, throw an error when a 2-phase interface is called. Else, return a zero value.");
37 _error_on_unimplemented(getParam<bool>(
"error_on_unimplemented"))
39 _fp_liquid = &getUserObject<SinglePhaseFluidProperties>(
"fp_liquid");
40 _fp_vapor = &getUserObject<SinglePhaseFluidProperties>(
"fp_vapor");
48 "The 2-phase fluid properties class 'TwoPhaseFluidPropertiesIndependent' does not allow " 49 "calling any 2-phase property interfaces.");
virtual Real p_sat(Real T) const override
Computes the saturation pressure at a temperature.
const SinglePhaseFluidProperties * _fp_vapor
The user object that provides vapor phase fluid properties.
TwoPhaseFluidPropertiesIndependent(const InputParameters ¶meters)
virtual Real dsigma_dT_from_T(Real T) const override
Computes dsigma/dT along the saturation line.
virtual Real dT_sat_dp(Real p) const override
Computes dT/dp along the saturation line.
DualNumber< Real, DNDerivativeType, true > DualReal
const SinglePhaseFluidProperties * _fp_liquid
The user object that provides liquid phase fluid properties.
2-phase fluid properties for 2 independent single-phase fluid properties.
virtual Real sigma_from_T(Real T) const override
Computes surface tension sigma of saturated liquid in contact with saturated vapor.
virtual Real L_fusion() const override
Returns the latent heat of fusion.
Base class for fluid properties used with two-phase flow.
const bool _error_on_unimplemented
If true, throw an error when a 2-phase interface is called. Else, return a zero value.
virtual Real T_sat(Real p) const override
Computes the saturation temperature at a pressure.
virtual Real T_triple() const override
Returns the triple-point temperature.
static InputParameters validParams()
Real getTwoPhaseInterfaceDummyValue() const
Returns a dummy zero value or throws a mooseError.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real p_critical() const override
Returns the critical pressure.
void mooseError(Args &&... args) const
registerMooseObject("FluidPropertiesApp", TwoPhaseFluidPropertiesIndependent)