www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
MultiComponentFluidPropertiesPT Class Referenceabstract

Common class for multiple component fluid properties using a pressure and temperature formulation. More...

#include <MultiComponentFluidPropertiesPT.h>

Inheritance diagram for MultiComponentFluidPropertiesPT:
[legend]

Public Member Functions

 MultiComponentFluidPropertiesPT (const InputParameters &parameters)
 
virtual ~MultiComponentFluidPropertiesPT ()
 
virtual std::string fluidName () const =0
 Fluid name. More...
 
virtual Real rho (Real pressure, Real temperature, Real xmass) const =0
 Density. More...
 
virtual void rho_dpTx (Real pressure, Real temperature, Real xmass, Real &rho, Real &drho_dp, Real &drho_dT, Real &drho_dx) const =0
 Density and its derivatives wrt pressure, temperature and mass fraction. More...
 
virtual Real mu_from_rho_T (Real density, Real temperature, Real xmass) const =0
 
virtual void mu_drhoTx (Real density, Real temperature, Real xmass, Real ddensity_dT, Real &mu, Real &dmu_drho, Real &dmu_dT, Real &dmu_dx) const =0
 Dynamic viscosity and its derivatives wrt density, temperature and mass fraction. More...
 
virtual Real h (Real pressure, Real temperature, Real xmass) const =0
 Enthalpy. More...
 
virtual void h_dpTx (Real pressure, Real temperature, Real xmass, Real &h, Real &dh_dp, Real &dh_dT, Real &dh_dx) const =0
 Enthalpy and derivatives wrt pressure, temperature and mass fraction. More...
 
virtual Real cp (Real pressure, Real temperature, Real xmass) const =0
 Isobaric specific heat capacity. More...
 
virtual Real e (Real pressure, Real temperature, Real xmass) const =0
 Internal energy. More...
 
virtual void e_dpTx (Real pressure, Real temperature, Real xmass, Real &e, Real &de_dp, Real &de_dT, Real &de_dx) const =0
 Internal energy and its derivatives wrt pressure, temperature and mass fraction. More...
 
virtual Real k_from_rho_T (Real density, Real temperature, Real xmass) const =0
 Thermal conductivity. More...
 
virtual const SinglePhaseFluidPropertiesPTgetComponent (unsigned int component) const =0
 Get UserObject for specified component. More...
 
virtual void execute () final
 
virtual void initialize () final
 
virtual void finalize () final
 

Protected Attributes

const Real _T_c2k
 Conversion of temperature from Celcius to Kelvin. More...
 

Detailed Description

Common class for multiple component fluid properties using a pressure and temperature formulation.

Definition at line 23 of file MultiComponentFluidPropertiesPT.h.

Constructor & Destructor Documentation

MultiComponentFluidPropertiesPT::MultiComponentFluidPropertiesPT ( const InputParameters &  parameters)

Definition at line 18 of file MultiComponentFluidPropertiesPT.C.

19  : FluidProperties(parameters), _T_c2k(273.15)
20 {
21 }
FluidProperties(const InputParameters &parameters)
const Real _T_c2k
Conversion of temperature from Celcius to Kelvin.
MultiComponentFluidPropertiesPT::~MultiComponentFluidPropertiesPT ( )
virtual

Definition at line 23 of file MultiComponentFluidPropertiesPT.C.

23 {}

Member Function Documentation

virtual Real MultiComponentFluidPropertiesPT::cp ( Real  pressure,
Real  temperature,
Real  xmass 
) const
pure virtual

Isobaric specific heat capacity.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
Returns
cp (J/kg/K)

Implemented in BrineFluidProperties.

Referenced by MultiComponentFluidPropertiesMaterialPT::computeQpProperties().

virtual Real MultiComponentFluidPropertiesPT::e ( Real  pressure,
Real  temperature,
Real  xmass 
) const
pure virtual

Internal energy.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
Returns
internal energy (J/kg)

Implemented in BrineFluidProperties.

Referenced by MultiComponentFluidPropertiesMaterialPT::computeQpProperties().

virtual void MultiComponentFluidPropertiesPT::e_dpTx ( Real  pressure,
Real  temperature,
Real  xmass,
Real &  e,
Real &  de_dp,
Real &  de_dT,
Real &  de_dx 
) const
pure virtual

Internal energy and its derivatives wrt pressure, temperature and mass fraction.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
[out]einternal energy (J/kg)
[out]de_dpderivative of internal energy wrt pressure
[out]de_dTderivative of internal energy wrt temperature
[out]de_dxderivative of internal energy wrt mass fraction

Implemented in BrineFluidProperties.

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 std::string MultiComponentFluidPropertiesPT::fluidName ( ) const
pure virtual

Fluid name.

Returns
string representing fluid name

Implemented in BrineFluidProperties.

virtual const SinglePhaseFluidPropertiesPT& MultiComponentFluidPropertiesPT::getComponent ( unsigned int  component) const
pure virtual

Get UserObject for specified component.

Parameters
componentfluid component
Returns
reference to SinglePhaseFluidPropertiesPT UserObject for component

Implemented in BrineFluidProperties.

virtual Real MultiComponentFluidPropertiesPT::h ( Real  pressure,
Real  temperature,
Real  xmass 
) const
pure virtual

Enthalpy.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
Returns
enthalpy (J/kg)

Implemented in BrineFluidProperties.

Referenced by MultiComponentFluidPropertiesMaterialPT::computeQpProperties().

virtual void MultiComponentFluidPropertiesPT::h_dpTx ( Real  pressure,
Real  temperature,
Real  xmass,
Real &  h,
Real &  dh_dp,
Real &  dh_dT,
Real &  dh_dx 
) const
pure virtual

Enthalpy and derivatives wrt pressure, temperature and mass fraction.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
[out]henthalpy (J/kg)
[out]dh_dpderivative of enthalpy wrt pressure
[out]dh_dTderivative of enthalpy wrt temperature
[out]dh_dxderivative of enthalpy wrt mass fraction

Implemented in BrineFluidProperties.

virtual void FluidProperties::initialize ( )
inlinefinalvirtualinherited

Definition at line 26 of file FluidProperties.h.

26 {}
virtual Real MultiComponentFluidPropertiesPT::k_from_rho_T ( Real  density,
Real  temperature,
Real  xmass 
) const
pure virtual

Thermal conductivity.

Parameters
water_densitywater density (kg/m^3)
temperaturefluid temperature (K)
xmassmass fraction (-)
Returns
thermal conductivity (W/m/K)

Implemented in BrineFluidProperties.

virtual void MultiComponentFluidPropertiesPT::mu_drhoTx ( Real  density,
Real  temperature,
Real  xmass,
Real  ddensity_dT,
Real &  mu,
Real &  dmu_drho,
Real &  dmu_dT,
Real &  dmu_dx 
) const
pure virtual

Dynamic viscosity and its derivatives wrt density, temperature and mass fraction.

Parameters
densityfluid density (kg/m^3)
temperaturefluid temperature (K)
xmassmass fraction (-)
ddensity_dTderivative of density wrt temperature
[out]muviscosity (Pa.s)
[out]dmu_drhoderivative of viscosity wrt density
[out]dmu_dTderivative of viscosity wrt temperature
[out]dmu_dxderivative of viscosity wrt mass fraction

Implemented in BrineFluidProperties.

virtual Real MultiComponentFluidPropertiesPT::mu_from_rho_T ( Real  density,
Real  temperature,
Real  xmass 
) const
pure virtual

Implemented in BrineFluidProperties.

virtual Real MultiComponentFluidPropertiesPT::rho ( Real  pressure,
Real  temperature,
Real  xmass 
) const
pure virtual

Density.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
Returns
density (kg/m^3)

Implemented in BrineFluidProperties.

Referenced by MultiComponentFluidPropertiesMaterialPT::computeQpProperties().

virtual void MultiComponentFluidPropertiesPT::rho_dpTx ( Real  pressure,
Real  temperature,
Real  xmass,
Real &  rho,
Real &  drho_dp,
Real &  drho_dT,
Real &  drho_dx 
) const
pure virtual

Density and its derivatives wrt pressure, temperature and mass fraction.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
[out]rhodensity (kg/m^3)
[out]drho_dpderivative of density wrt pressure
[out]drho_dTderivative of density wrt temperature
[out]drho_dxderivative of density wrt mass fraction

Implemented in BrineFluidProperties.

Member Data Documentation

const Real MultiComponentFluidPropertiesPT::_T_c2k
protected

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