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 (Real pressure, Real temperature, Real xmass) const =0
 
virtual void mu_dpTx (Real pressure, Real temperature, Real xmass, Real &mu, Real &dmu_dp, Real &dmu_dT, Real &dmu_dx) const =0
 
virtual void rho_mu (Real pressure, Real temperature, Real xmass, Real &rho, Real &mu) const =0
 Density and viscosity. More...
 
virtual void rho_mu_dpTx (Real pressure, Real temperature, Real xmass, Real &rho, Real &drho_dp, Real &drho_dT, Real &drho_dx, Real &mu, Real &dmu_dp, Real &dmu_dT, Real &dmu_dx) const =0
 Density and viscosity and their derivatives wrt pressure, 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 (Real pressure, Real temperature, Real xmass) const =0
 Thermal conductivity. More...
 
virtual const SinglePhaseFluidPropertiesgetComponent (unsigned int component) const =0
 Get UserObject for specified component. 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 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 25 of file MultiComponentFluidPropertiesPT.h.

Constructor & Destructor Documentation

◆ MultiComponentFluidPropertiesPT()

MultiComponentFluidPropertiesPT::MultiComponentFluidPropertiesPT ( const InputParameters &  parameters)

Definition at line 20 of file MultiComponentFluidPropertiesPT.C.

21  : FluidProperties(parameters), _T_c2k(273.15)
22 {
23 }
FluidProperties(const InputParameters &parameters)
const Real _T_c2k
Conversion of temperature from Celcius to Kelvin.

◆ ~MultiComponentFluidPropertiesPT()

MultiComponentFluidPropertiesPT::~MultiComponentFluidPropertiesPT ( )
virtual

Definition at line 25 of file MultiComponentFluidPropertiesPT.C.

25 {}

Member Function Documentation

◆ cp()

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().

◆ e()

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().

◆ e_dpTx()

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.

◆ 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 {}

◆ fluidName()

virtual std::string MultiComponentFluidPropertiesPT::fluidName ( ) const
pure virtual

Fluid name.

Returns
string representing fluid name

Implemented in BrineFluidProperties.

◆ getComponent()

virtual const SinglePhaseFluidProperties& 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.

◆ h()

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().

◆ h_dpTx()

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.

◆ initialize()

virtual void FluidProperties::initialize ( )
inlinefinalvirtualinherited

Definition at line 28 of file FluidProperties.h.

28 {}

◆ k()

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

Thermal conductivity.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
Returns
thermal conductivity (W/m/K)

Implemented in BrineFluidProperties.

◆ mu()

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

Implemented in BrineFluidProperties.

◆ mu_dpTx()

virtual void MultiComponentFluidPropertiesPT::mu_dpTx ( Real  pressure,
Real  temperature,
Real  xmass,
Real &  mu,
Real &  dmu_dp,
Real &  dmu_dT,
Real &  dmu_dx 
) const
pure virtual

Implemented in BrineFluidProperties.

◆ rho()

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().

◆ rho_dpTx()

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.

◆ rho_mu()

virtual void MultiComponentFluidPropertiesPT::rho_mu ( Real  pressure,
Real  temperature,
Real  xmass,
Real &  rho,
Real &  mu 
) const
pure virtual

Density and viscosity.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
xmassmass fraction (-)
[out]rhodensity (kg/m^3)

Implemented in BrineFluidProperties.

◆ rho_mu_dpTx()

virtual void MultiComponentFluidPropertiesPT::rho_mu_dpTx ( Real  pressure,
Real  temperature,
Real  xmass,
Real &  rho,
Real &  drho_dp,
Real &  drho_dT,
Real &  drho_dx,
Real &  mu,
Real &  dmu_dp,
Real &  dmu_dT,
Real &  dmu_dx 
) const
pure virtual

Density and viscosity and their 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
[out]muviscosity (Pa.s)
[out]dmu_dpderivative of viscosity wrt pressure
[out]dmu_dTderivative of viscosity wrt temperature
[out]dmu_dxderivative of viscosity wrt mass fraction

Implemented in BrineFluidProperties.

◆ subdomainSetup()

virtual void FluidProperties::subdomainSetup ( )
inlinefinalvirtualinherited

Definition at line 32 of file FluidProperties.h.

32 {}

◆ threadJoin()

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

Definition at line 31 of file FluidProperties.h.

31 {}

Member Data Documentation

◆ _T_c2k

const Real MultiComponentFluidPropertiesPT::_T_c2k
protected

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