www.mooseframework.org
Public Member Functions | List of all members
HEMFluidProperties Class Referenceabstract

Base class for fluid properties used with HEM. More...

#include <HEMFluidProperties.h>

Inheritance diagram for HEMFluidProperties:
[legend]

Public Member Functions

 HEMFluidProperties (const InputParameters &parameters)
 
virtual Real pressure (Real v, Real e) const =0
 Pressure as a function of specific internal energy and specific volume. More...
 
virtual void dp_duv (Real v, Real e, Real &dp_dv, Real &dp_de, Real &dT_dv, Real &dT_de) const =0
 Derivative of pressure w.r.t internal energy and specific volume. More...
 
virtual Real temperature (Real v, Real e) const =0
 Temperature as a function of specific internal energy and specific volume. More...
 
virtual Real gamma (Real v, Real e) const =0
 Ratio of specific heats. More...
 
virtual Real quality (Real v, Real e) const =0
 Quality as a function of specific volume and specific internal energy. More...
 
virtual Real quality_Tsat_h (Real Tsat, Real h) const =0
 Quality as a function of saturation temperature and enthalpy. More...
 
virtual Real c (Real v, Real e) const =0
 Sound speed as a function of specific volume and specific internal energy. More...
 
virtual Real cp (Real v, Real e) const =0
 Constant pressure specific heat capacity as a function of specific volume and specific internal energy. More...
 
virtual Real cv (Real v, Real e) const =0
 Constant volume specific heat capacity as a function of specific volume and specific internal energy. More...
 
virtual Real beta (Real pressure, Real temperature) const =0
 Thermal expansion coefficient [1/K] as a function of pressure and temperature. More...
 
virtual Real mu (Real v, Real e) const =0
 Dynamic viscosity, [Pa-s], as a function of specific volume and specific internal energy. More...
 
virtual Real k (Real v, Real e) const =0
 Thermal conductivity, [W/K-m], as a function of specific volume and specific internal energy. More...
 
virtual Real alpha_vapor (Real v, Real e) const =0
 Vapor void fraction as a function of specific volume and specific internal energy. More...
 
virtual Real dT_dP_saturation (Real pressure) const =0
 dT/dp along the saturation line More...
 
virtual Real rho (Real pressure, Real temperature, Real quality) const =0
 Density as a function of pressure and temperature. More...
 
virtual void rho_dpT (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const =0
 Density derivative as a function of pressure and temperature. More...
 
virtual void rho_e (Real pressure, Real temperature, Real &rho, Real &e) const =0
 Density and internal energy as a function of pressure and temperature. More...
 
virtual Real e (Real pressure, Real rho) const =0
 Internal energy as a function of pressure and density. More...
 
virtual Real saturation_T (Real pressure) const =0
 Saturation temperature. More...
 
virtual Real saturation_P (Real temperature) const =0
 Saturation pressure. More...
 
virtual Real surfaceTension (Real temperature) const =0
 Surface Tension. More...
 
virtual Real h (Real pressure, Real temperature, Real quality) const =0
 Enthalpy. More...
 
virtual void h_dpT (Real pressure, Real temperature, Real &h, Real &dh_dp, Real &dh_dT) const =0
 Derivative of Enthalpy as a function of temperature and pressure. More...
 
virtual Real p_critical () const =0
 Critical pressure. More...
 
virtual void h_lat (Real temperature, Real &hf, Real &hg, Real &hfg) const =0
 Latent enthalpy as a function of temperature. More...
 
virtual Real v_ph (Real pressure, Real enthalpy) const =0
 Specific volume as a function of pressure and enthalpy. More...
 
virtual Real molarMass () const
 Molar mass [kg/mol]. More...
 
virtual Real criticalPressure () const
 Critical pressure. More...
 
virtual Real criticalTemperature () const
 Critical temperature. More...
 
virtual Real criticalDensity () const
 Critical density. More...
 
virtual Real criticalInternalEnergy () const
 Critical specific internal energy. More...
 
virtual Real triplePointPressure () const
 Triple point pressure. More...
 
virtual Real triplePointTemperature () const
 Triple point temperature. More...
 
virtual void execute () final
 
virtual void initialize () final
 
virtual void finalize () final
 
virtual void threadJoin (const UserObject &) final
 
virtual void subdomainSetup () final
 

Detailed Description

Base class for fluid properties used with HEM.

Definition at line 23 of file HEMFluidProperties.h.

Constructor & Destructor Documentation

◆ HEMFluidProperties()

HEMFluidProperties::HEMFluidProperties ( const InputParameters &  parameters)

Definition at line 21 of file HEMFluidProperties.C.

22  : FluidProperties(parameters)
23 {
24 }
FluidProperties(const InputParameters &parameters)

Member Function Documentation

◆ alpha_vapor()

virtual Real HEMFluidProperties::alpha_vapor ( Real  v,
Real  e 
) const
pure virtual

Vapor void fraction as a function of specific volume and specific internal energy.

Parameters
vSpecific volume
eSpecific internal energy

◆ beta()

virtual Real HEMFluidProperties::beta ( Real  pressure,
Real  temperature 
) const
pure virtual

Thermal expansion coefficient [1/K] as a function of pressure and temperature.

Parameters
pressurepressure
temperaturetemperature

◆ c()

virtual Real HEMFluidProperties::c ( Real  v,
Real  e 
) const
pure virtual

Sound speed as a function of specific volume and specific internal energy.

Parameters
vSpecific volume
eSpecific internal energy

◆ cp()

virtual Real HEMFluidProperties::cp ( Real  v,
Real  e 
) const
pure virtual

Constant pressure specific heat capacity as a function of specific volume and specific internal energy.

Parameters
vSpecific volume
eSpecific internal energy

◆ criticalDensity()

Real HEMFluidProperties::criticalDensity ( ) const
virtual

Critical density.

Returns
critical density (kg/m^3)

Definition at line 44 of file HEMFluidProperties.C.

45 {
46  mooseError(name(), ": criticalDensity() is not implemented");
47 }
const std::string name
Definition: Setup.h:22

◆ criticalInternalEnergy()

Real HEMFluidProperties::criticalInternalEnergy ( ) const
virtual

Critical specific internal energy.

Returns
specific internal energy (J/kg)

Definition at line 50 of file HEMFluidProperties.C.

51 {
52  mooseError(name(), ": criticalInternalEnergy() is not implemented");
53 }
const std::string name
Definition: Setup.h:22

◆ criticalPressure()

Real HEMFluidProperties::criticalPressure ( ) const
virtual

Critical pressure.

Returns
critical pressure (Pa)

Definition at line 32 of file HEMFluidProperties.C.

33 {
34  mooseError(name(), ": criticalPressure() is not implemented");
35 }
const std::string name
Definition: Setup.h:22

◆ criticalTemperature()

Real HEMFluidProperties::criticalTemperature ( ) const
virtual

Critical temperature.

Returns
critical temperature (K)

Definition at line 38 of file HEMFluidProperties.C.

39 {
40  mooseError(name(), ": criticalTemperature() is not implemented");
41 }
const std::string name
Definition: Setup.h:22

◆ cv()

virtual Real HEMFluidProperties::cv ( Real  v,
Real  e 
) const
pure virtual

Constant volume specific heat capacity as a function of specific volume and specific internal energy.

Parameters
vSpecific volume
eSpecific internal energy

◆ dp_duv()

virtual void HEMFluidProperties::dp_duv ( Real  v,
Real  e,
Real &  dp_dv,
Real &  dp_de,
Real &  dT_dv,
Real &  dT_de 
) const
pure virtual

Derivative of pressure w.r.t internal energy and specific volume.

◆ dT_dP_saturation()

virtual Real HEMFluidProperties::dT_dP_saturation ( Real  pressure) const
pure virtual

dT/dp along the saturation line

◆ e()

virtual Real HEMFluidProperties::e ( Real  pressure,
Real  rho 
) const
pure virtual

Internal energy as a function of pressure and density.

Parameters
pressurepressure
rhodensity

◆ execute()

virtual void FluidProperties::execute ( )
inlinefinalvirtualinherited

Definition at line 27 of file FluidProperties.h.

27 {}

◆ finalize()

virtual void FluidProperties::finalize ( )
inlinefinalvirtualinherited

Definition at line 29 of file FluidProperties.h.

29 {}

◆ gamma()

virtual Real HEMFluidProperties::gamma ( Real  v,
Real  e 
) const
pure virtual

Ratio of specific heats.

Parameters
vSpecific volume
eSpecific internal energy

◆ h()

virtual Real HEMFluidProperties::h ( Real  pressure,
Real  temperature,
Real  quality 
) const
pure virtual

Enthalpy.

Parameters
pressurepressure
temperaturetemperature
qualityquality

◆ h_dpT()

virtual void HEMFluidProperties::h_dpT ( Real  pressure,
Real  temperature,
Real &  h,
Real &  dh_dp,
Real &  dh_dT 
) const
pure virtual

Derivative of Enthalpy as a function of temperature and pressure.

Parameters
pressurepressure
temperaturetemperature

◆ h_lat()

virtual void HEMFluidProperties::h_lat ( Real  temperature,
Real &  hf,
Real &  hg,
Real &  hfg 
) const
pure virtual

Latent enthalpy as a function of temperature.

◆ initialize()

virtual void FluidProperties::initialize ( )
inlinefinalvirtualinherited

Definition at line 28 of file FluidProperties.h.

28 {}

◆ k()

virtual Real HEMFluidProperties::k ( Real  v,
Real  e 
) const
pure virtual

Thermal conductivity, [W/K-m], as a function of specific volume and specific internal energy.

Parameters
vSpecific volume
eSpecific internal energy

◆ molarMass()

Real HEMFluidProperties::molarMass ( ) const
virtual

Molar mass [kg/mol].

Returns
molar mass

Definition at line 27 of file HEMFluidProperties.C.

28 {
29  mooseError(name(), ": molarMass is not implemented");
30 }
const std::string name
Definition: Setup.h:22

◆ mu()

virtual Real HEMFluidProperties::mu ( Real  v,
Real  e 
) const
pure virtual

Dynamic viscosity, [Pa-s], as a function of specific volume and specific internal energy.

Parameters
vSpecific volume
eSpecific internal energy

◆ p_critical()

virtual Real HEMFluidProperties::p_critical ( ) const
pure virtual

Critical pressure.

◆ pressure()

virtual Real HEMFluidProperties::pressure ( Real  v,
Real  e 
) const
pure virtual

Pressure as a function of specific internal energy and specific volume.

Parameters
vSpecific volume
eSpecific internal energy

◆ quality()

virtual Real HEMFluidProperties::quality ( Real  v,
Real  e 
) const
pure virtual

Quality as a function of specific volume and specific internal energy.

Parameters
vSpecific volume
eSpecific internal energy

◆ quality_Tsat_h()

virtual Real HEMFluidProperties::quality_Tsat_h ( Real  Tsat,
Real  h 
) const
pure virtual

Quality as a function of saturation temperature and enthalpy.

Parameters
TsatSaturation temperature
hEnthalpy

◆ rho()

virtual Real HEMFluidProperties::rho ( Real  pressure,
Real  temperature,
Real  quality 
) const
pure virtual

Density as a function of pressure and temperature.

Parameters
pressurepressure
temperaturetemperature
qualityquality

◆ rho_dpT()

virtual void HEMFluidProperties::rho_dpT ( Real  pressure,
Real  temperature,
Real &  rho,
Real &  drho_dp,
Real &  drho_dT 
) const
pure virtual

Density derivative as a function of pressure and temperature.

Parameters
pressurepressure
temperaturetemperature

◆ rho_e()

virtual void HEMFluidProperties::rho_e ( Real  pressure,
Real  temperature,
Real &  rho,
Real &  e 
) const
pure virtual

Density and internal energy as a function of pressure and temperature.

Parameters
pressurepressure
temperaturetemperature

◆ saturation_P()

virtual Real HEMFluidProperties::saturation_P ( Real  temperature) const
pure virtual

Saturation pressure.

Parameters
temperaturetemperature

◆ saturation_T()

virtual Real HEMFluidProperties::saturation_T ( Real  pressure) const
pure virtual

Saturation temperature.

Parameters
pressurepressure

◆ subdomainSetup()

virtual void FluidProperties::subdomainSetup ( )
inlinefinalvirtualinherited

Definition at line 32 of file FluidProperties.h.

32 {}

◆ surfaceTension()

virtual Real HEMFluidProperties::surfaceTension ( Real  temperature) const
pure virtual

Surface Tension.

Parameters
temperaturetemperature

◆ temperature()

virtual Real HEMFluidProperties::temperature ( Real  v,
Real  e 
) const
pure virtual

Temperature as a function of specific internal energy and specific volume.

Parameters
vSpecific volume
eSpecific internal energy

◆ threadJoin()

virtual void FluidProperties::threadJoin ( const UserObject &  )
inlinefinalvirtualinherited

Definition at line 31 of file FluidProperties.h.

31 {}

◆ triplePointPressure()

Real HEMFluidProperties::triplePointPressure ( ) const
virtual

Triple point pressure.

Returns
triple point pressure (Pa)

Definition at line 56 of file HEMFluidProperties.C.

57 {
58  mooseError(name(), ": triplePointPressure() is not implemented");
59 }
const std::string name
Definition: Setup.h:22

◆ triplePointTemperature()

Real HEMFluidProperties::triplePointTemperature ( ) const
virtual

Triple point temperature.

Returns
triple point temperature (K)

Definition at line 62 of file HEMFluidProperties.C.

63 {
64  mooseError(name(), ": triplePointTemperature() is not implemented");
65 }
const std::string name
Definition: Setup.h:22

◆ v_ph()

virtual Real HEMFluidProperties::v_ph ( Real  pressure,
Real  enthalpy 
) const
pure virtual

Specific volume as a function of pressure and enthalpy.

Parameters
pressurepressure
enthalpyenthalpy

The documentation for this class was generated from the following files: