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

Common class for single phase fluid properties. More...

#include <SinglePhaseFluidProperties.h>

Inheritance diagram for SinglePhaseFluidProperties:
[legend]

Public Member Functions

 SinglePhaseFluidProperties (const InputParameters &parameters)
 
virtual ~SinglePhaseFluidProperties ()
 
virtual Real pressure (Real v, Real u) const =0
 Pressure as a function of specific internal energy and specific volume. More...
 
virtual Real temperature (Real v, Real u) const =0
 Temperature as a function of specific internal energy and specific volume. More...
 
virtual Real c (Real v, Real u) const =0
 Sound speed. More...
 
virtual Real cp (Real v, Real u) const =0
 Specific heat. More...
 
virtual Real cv (Real v, Real u) const =0
 Isochoric specific heat. More...
 
virtual Real gamma (Real v, Real u) const
 Compute the ratio of specific heats. More...
 
virtual Real mu (Real v, Real u) const =0
 Dynamic viscosity [Pa s]. More...
 
virtual Real k (Real v, Real u) const =0
 Thermal conductivity [W / m K]. More...
 
virtual Real s (Real v, Real u) const =0
 Specific entropy [ J / kg K ]. More...
 
virtual void s_from_h_p (Real h, Real p, Real &s, Real &ds_dh, Real &ds_dp) const =0
 Specific entropy from enthalpy and pressure. More...
 
virtual void dp_duv (Real v, Real u, Real &dp_dv, Real &dp_du, Real &dT_dv, Real &dT_du) const =0
 The derivative of pressure wrt specific volume and specific internal energy. More...
 
virtual void rho_e_ps (Real pressure, Real entropy, Real &rho, Real &e) const =0
 Compute internal energy and density from specific entropy and pressure. More...
 
virtual void rho_e_dps (Real pressure, Real entropy, Real &rho, Real &drho_dp, Real &drho_ds, Real &e, Real &de_dp, Real &de_ds) const =0
 
virtual Real rho (Real pressure, Real temperature) const =0
 Computes density from pressure and temperature. More...
 
virtual void rho_dpT (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const =0
 Computes density from pressure and temperature and its derivatives w.r.t pressure and temperature. More...
 
virtual void rho_e (Real pressure, Real temperature, Real &rho, Real &e) const =0
 Computes density and internal energy from pressure and temperature. More...
 
virtual Real e (Real pressure, Real rho) const =0
 Computes internal energy from pressure and density. More...
 
virtual void e_dprho (Real pressure, Real rho, Real &e, Real &de_dp, Real &de_drho) const =0
 Computes internal energy and its derivatives of internal energy w.r.t. pressure and density. More...
 
virtual Real h (Real p, Real T) const =0
 Computes specific enthalpy. More...
 
virtual void h_dpT (Real pressure, Real temperature, Real &h, Real &dh_dp, Real &dh_dT) const =0
 Compute enthalpy and its derivatives. More...
 
virtual Real p_from_h_s (Real h, Real s) const =0
 Pressure as a function of specific enthalpy and specific entropy. More...
 
virtual Real dpdh_from_h_s (Real h, Real s) const =0
 Derivative of pressure wrt specific enthalpy. More...
 
virtual Real dpds_from_h_s (Real h, Real s) const =0
 Derivative of pressure wrt specific entropy. More...
 
virtual Real g (Real v, Real e) const =0
 Gibbs free energy. More...
 
virtual Real beta (Real p, Real T) const =0
 Thermal expansion coefficient. More...
 
virtual void execute () final
 
virtual void initialize () final
 
virtual void finalize () final
 

Detailed Description

Common class for single phase fluid properties.

Definition at line 21 of file SinglePhaseFluidProperties.h.

Constructor & Destructor Documentation

SinglePhaseFluidProperties::SinglePhaseFluidProperties ( const InputParameters &  parameters)

Definition at line 19 of file SinglePhaseFluidProperties.C.

20  : FluidProperties(parameters)
21 {
22 }
FluidProperties(const InputParameters &parameters)
SinglePhaseFluidProperties::~SinglePhaseFluidProperties ( )
virtual

Definition at line 24 of file SinglePhaseFluidProperties.C.

24 {}

Member Function Documentation

virtual Real SinglePhaseFluidProperties::beta ( Real  p,
Real  T 
) const
pure virtual

Thermal expansion coefficient.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

virtual Real SinglePhaseFluidProperties::c ( Real  v,
Real  u 
) const
pure virtual
virtual Real SinglePhaseFluidProperties::cp ( Real  v,
Real  u 
) const
pure virtual
virtual Real SinglePhaseFluidProperties::cv ( Real  v,
Real  u 
) const
pure virtual

Isochoric specific heat.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

Referenced by FluidPropertiesMaterial::computeQpProperties(), and gamma().

virtual void SinglePhaseFluidProperties::dp_duv ( Real  v,
Real  u,
Real &  dp_dv,
Real &  dp_du,
Real &  dT_dv,
Real &  dT_du 
) const
pure virtual

The derivative of pressure wrt specific volume and specific internal energy.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

virtual Real SinglePhaseFluidProperties::dpdh_from_h_s ( Real  h,
Real  s 
) const
pure virtual

Derivative of pressure wrt specific enthalpy.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

virtual Real SinglePhaseFluidProperties::dpds_from_h_s ( Real  h,
Real  s 
) const
pure virtual

Derivative of pressure wrt specific entropy.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

virtual Real SinglePhaseFluidProperties::e ( Real  pressure,
Real  rho 
) const
pure virtual
virtual void SinglePhaseFluidProperties::e_dprho ( Real  pressure,
Real  rho,
Real &  e,
Real &  de_dp,
Real &  de_drho 
) const
pure virtual

Computes internal energy and its derivatives of internal energy w.r.t. pressure and density.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

virtual void FluidProperties::execute ( )
inlinefinalvirtualinherited

Definition at line 25 of file FluidProperties.h.

25 {}
virtual void FluidProperties::finalize ( )
inlinefinalvirtualinherited

Definition at line 27 of file FluidProperties.h.

27 {}
virtual Real SinglePhaseFluidProperties::g ( Real  v,
Real  e 
) const
pure virtual
Real SinglePhaseFluidProperties::gamma ( Real  v,
Real  u 
) const
virtual
virtual Real SinglePhaseFluidProperties::h ( Real  p,
Real  T 
) const
pure virtual
virtual void SinglePhaseFluidProperties::h_dpT ( Real  pressure,
Real  temperature,
Real &  h,
Real &  dh_dp,
Real &  dh_dT 
) const
pure virtual

Compute enthalpy and its derivatives.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

virtual void FluidProperties::initialize ( )
inlinefinalvirtualinherited

Definition at line 26 of file FluidProperties.h.

26 {}
virtual Real SinglePhaseFluidProperties::k ( Real  v,
Real  u 
) const
pure virtual

Thermal conductivity [W / m K].

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

Referenced by FluidPropertiesMaterial::computeQpProperties().

virtual Real SinglePhaseFluidProperties::mu ( Real  v,
Real  u 
) const
pure virtual

Dynamic viscosity [Pa s].

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

Referenced by FluidPropertiesMaterial::computeQpProperties().

virtual Real SinglePhaseFluidProperties::p_from_h_s ( Real  h,
Real  s 
) const
pure virtual

Pressure as a function of specific enthalpy and specific entropy.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

Referenced by StagnationPressureAux::computeValue(), and StagnationTemperatureAux::computeValue().

virtual Real SinglePhaseFluidProperties::pressure ( Real  v,
Real  u 
) const
pure virtual
virtual Real SinglePhaseFluidProperties::rho ( Real  pressure,
Real  temperature 
) const
pure virtual

Computes density from pressure and temperature.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

Referenced by CNSFVMaterial::computeQpProperties().

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

Computes density from pressure and temperature and its derivatives w.r.t pressure and temperature.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

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

Computes density and internal energy from pressure and temperature.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

virtual void SinglePhaseFluidProperties::rho_e_dps ( Real  pressure,
Real  entropy,
Real &  rho,
Real &  drho_dp,
Real &  drho_ds,
Real &  e,
Real &  de_dp,
Real &  de_ds 
) const
pure virtual
virtual void SinglePhaseFluidProperties::rho_e_ps ( Real  pressure,
Real  entropy,
Real &  rho,
Real &  e 
) const
pure virtual

Compute internal energy and density from specific entropy and pressure.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

Referenced by StagnationTemperatureAux::computeValue().

virtual Real SinglePhaseFluidProperties::s ( Real  v,
Real  u 
) const
pure virtual
virtual void SinglePhaseFluidProperties::s_from_h_p ( Real  h,
Real  p,
Real &  s,
Real &  ds_dh,
Real &  ds_dp 
) const
pure virtual

Specific entropy from enthalpy and pressure.

Implemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.

virtual Real SinglePhaseFluidProperties::temperature ( Real  v,
Real  u 
) const
pure virtual

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