2-phase fluid properties for 2 independent single-phase fluid properties. More...
#include <TwoPhaseFluidPropertiesIndependent.h>
Public Member Functions | |
TwoPhaseFluidPropertiesIndependent (const InputParameters ¶meters) | |
virtual Real | p_critical () const override |
Returns the critical pressure. More... | |
virtual Real | T_sat (Real p) const override |
Computes the saturation temperature at a pressure. More... | |
virtual Real | p_sat (Real T) const override |
Computes the saturation pressure at a temperature. More... | |
virtual Real | dT_sat_dp (Real p) const override |
Computes dT/dp along the saturation line. More... | |
void | throwNotImplementedError () const |
Calls mooseError with a message saying that this class cannot call 2-phase fluid properties. More... | |
virtual const UserObjectName & | getLiquidName () const |
Returns the name of the liquid single-phase fluid properties object. More... | |
virtual const UserObjectName & | getVaporName () const |
Returns the name of the vapor single-phase fluid properties object. More... | |
virtual Real | h_lat (Real p, Real T) const |
Computes latent heat of vaporization. More... | |
virtual void | execute () final |
virtual void | initialize () final |
virtual void | finalize () final |
virtual void | threadJoin (const UserObject &) final |
virtual void | subdomainSetup () final |
Protected Attributes | |
const UserObjectName | _liquid_name |
The name of the user object that provides liquid phase fluid properties. More... | |
const UserObjectName | _vapor_name |
The name of the user object that provides vapor phase fluid properties. More... | |
const SinglePhaseFluidProperties * | _fp_liquid |
The user object that provides liquid phase fluid properties. More... | |
const SinglePhaseFluidProperties * | _fp_vapor |
The user object that provides vapor phase fluid properties. More... | |
2-phase fluid properties for 2 independent single-phase fluid properties.
This class throws errors if any 2-phase interfaces are called.
Definition at line 25 of file TwoPhaseFluidPropertiesIndependent.h.
TwoPhaseFluidPropertiesIndependent::TwoPhaseFluidPropertiesIndependent | ( | const InputParameters & | parameters | ) |
Definition at line 30 of file TwoPhaseFluidPropertiesIndependent.C.
|
overridevirtual |
Computes dT/dp along the saturation line.
[in] | p | pressure |
Implements TwoPhaseFluidProperties.
Definition at line 58 of file TwoPhaseFluidPropertiesIndependent.C.
|
inlinefinalvirtualinherited |
Definition at line 27 of file FluidProperties.h.
|
inlinefinalvirtualinherited |
Definition at line 29 of file FluidProperties.h.
|
inlinevirtualinherited |
Returns the name of the liquid single-phase fluid properties object.
Reimplemented in TwoPhaseNCGFluidProperties.
Definition at line 32 of file TwoPhaseFluidProperties.h.
Referenced by TwoPhaseNCGFluidProperties::getLiquidName().
|
inlinevirtualinherited |
Returns the name of the vapor single-phase fluid properties object.
Reimplemented in TwoPhaseNCGFluidProperties.
Definition at line 37 of file TwoPhaseFluidProperties.h.
Referenced by TwoPhaseNCGFluidProperties::getVaporName().
|
virtualinherited |
Computes latent heat of vaporization.
p | pressure |
T | temperature |
Reimplemented in TwoPhaseNCGFluidProperties.
Definition at line 59 of file TwoPhaseFluidProperties.C.
Referenced by TwoPhaseNCGFluidProperties::h_lat().
|
inlinefinalvirtualinherited |
Definition at line 28 of file FluidProperties.h.
|
overridevirtual |
Returns the critical pressure.
Implements TwoPhaseFluidProperties.
Definition at line 49 of file TwoPhaseFluidPropertiesIndependent.C.
|
overridevirtual |
Computes the saturation pressure at a temperature.
[in] | T | temperature |
Implements TwoPhaseFluidProperties.
Definition at line 56 of file TwoPhaseFluidPropertiesIndependent.C.
|
inlinefinalvirtualinherited |
Definition at line 32 of file FluidProperties.h.
|
overridevirtual |
Computes the saturation temperature at a pressure.
[in] | p | pressure |
Implements TwoPhaseFluidProperties.
Definition at line 54 of file TwoPhaseFluidPropertiesIndependent.C.
|
inlinefinalvirtualinherited |
Definition at line 31 of file FluidProperties.h.
void TwoPhaseFluidPropertiesIndependent::throwNotImplementedError | ( | ) | const |
Calls mooseError
with a message saying that this class cannot call 2-phase fluid properties.
Definition at line 40 of file TwoPhaseFluidPropertiesIndependent.C.
Referenced by dT_sat_dp(), p_critical(), p_sat(), and T_sat().
|
protectedinherited |
The user object that provides liquid phase fluid properties.
Definition at line 80 of file TwoPhaseFluidProperties.h.
Referenced by TwoPhaseFluidProperties::h_lat(), and TwoPhaseFluidPropertiesIndependent().
|
protectedinherited |
The user object that provides vapor phase fluid properties.
Definition at line 82 of file TwoPhaseFluidProperties.h.
Referenced by TwoPhaseFluidProperties::h_lat(), and TwoPhaseFluidPropertiesIndependent().
|
protectedinherited |
The name of the user object that provides liquid phase fluid properties.
Definition at line 75 of file TwoPhaseFluidProperties.h.
Referenced by TwoPhaseFluidProperties::getLiquidName(), and TwoPhaseFluidProperties::TwoPhaseFluidProperties().
|
protectedinherited |
The name of the user object that provides vapor phase fluid properties.
Definition at line 77 of file TwoPhaseFluidProperties.h.
Referenced by TwoPhaseFluidProperties::getVaporName(), and TwoPhaseFluidProperties::TwoPhaseFluidProperties().