psiuReactionThermo Class Referenceabstract

Base-class for combustion fluid thermodynamic properties based on compressibility. More...

Inheritance diagram for psiuReactionThermo:
Collaboration diagram for psiuReactionThermo:

Classes

class  composite
 
class  implementation
 

Public Member Functions

 TypeName ("psiuReactionThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, psiuReactionThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName))
 
virtual ~psiuReactionThermo ()
 Destructor. More...
 
virtual void correct ()=0
 Update properties. More...
 
virtual basicCombustionMixture & composition ()=0
 Return the composition of the combustion mixture. More...
 
virtual const basicCombustionMixture & composition () const =0
 Return the composition of the combustion mixture. More...
 
virtual volScalarField & heu ()=0
 Unburnt gas enthalpy [J/kg]. More...
 
virtual const volScalarField & heu () const =0
 Unburnt gas enthalpy [J/kg]. More...
 
virtual tmp< scalarField > heu (const scalarField &T, const labelList &cells) const =0
 Unburnt gas enthalpy for cell-set [J/kg]. More...
 
virtual tmp< scalarField > heu (const scalarField &T, const label patchi) const =0
 Unburnt gas enthalpy for patch [J/kg]. More...
 
virtual const volScalarField & Tu () const =0
 Unburnt gas temperature [K]. More...
 
virtual tmp< volScalarField > Tb () const =0
 Burnt gas temperature [K]. More...
 
virtual tmp< volScalarField > rhou () const
 Unburnt gas density [kg/m^3]. More...
 
virtual tmp< volScalarField > rhob () const
 Burnt gas density [kg/m^3]. More...
 
virtual tmp< volScalarField > psiu () const =0
 Unburnt gas compressibility [s^2/m^2]. More...
 
virtual tmp< volScalarField > psib () const =0
 Burnt gas compressibility [s^2/m^2]. More...
 
virtual tmp< volScalarField > muu () const =0
 Dynamic viscosity of unburnt gas [kg/m/s]. More...
 
virtual tmp< volScalarField > mub () const =0
 Dynamic viscosity of burnt gas [kg/m/s]. More...
 
- Public Member Functions inherited from psiThermo
 TypeName ("psiThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, psiThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName))
 Declare run-time constructor selection table. More...
 
virtual ~psiThermo ()
 Destructor. More...
 
virtual void correctRho (const volScalarField &deltaRho)
 Add the given density correction to the density field. More...
 
virtual tmp< volScalarField > rho () const =0
 Density [kg/m^3] - uses current value of pressure. More...
 
virtual tmp< scalarField > rho (const label patchi) const =0
 Density for patch [kg/m^3]. More...
 
virtual tmp< volScalarField > rho0 () const =0
 Old-time density [kg/m^3]. More...
 
virtual const volScalarField & psi () const =0
 Compressibility [s^2/m^2]. More...
 
virtual tmp< volScalarField > mu () const =0
 Dynamic viscosity of mixture [kg/m/s]. More...
 
virtual tmp< scalarField > mu (const label patchi) const =0
 Dynamic viscosity of mixture for patch [kg/m/s]. More...
 
- Public Member Functions inherited from fluidThermo
 TypeName ("fluidThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fluidThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName))
 Declare run-time constructor selection table. More...
 
virtual ~fluidThermo ()
 Destructor. More...
 
virtual volScalarField & p ()=0
 Pressure [Pa]. More...
 
virtual const volScalarField & p () const =0
 Pressure [Pa]. More...
 
virtual tmp< volScalarField > gamma () const =0
 Gamma = Cp/Cv []. More...
 
virtual tmp< scalarField > gamma (const scalarField &T, const label patchi) const =0
 Gamma = Cp/Cv for patch []. More...
 
virtual tmp< volScalarField > W () const =0
 Molecular weight [kg/kmol]. More...
 
virtual tmp< scalarField > W (const label patchi) const =0
 Molecular weight for patch [kg/kmol]. More...
 
virtual tmp< volScalarField > nu () const
 Kinematic viscosity of mixture [m^2/s]. More...
 
virtual tmp< scalarField > nu (const label patchi) const
 Kinematic viscosity of mixture for patch [m^2/s]. More...
 
virtual tmp< volScalarField > kappaEff (const volScalarField &) const =0
 Effective thermal turbulent diffusivity for temperature. More...
 
virtual tmp< scalarField > kappaEff (const scalarField &alphat, const label patchi) const =0
 Effective thermal turbulent diffusivity for temperature. More...
 
virtual tmp< volScalarField > alphaEff (const volScalarField &alphat) const =0
 Effective thermal turbulent diffusivity of mixture [kg/m/s]. More...
 
virtual tmp< scalarField > alphaEff (const scalarField &alphat, const label patchi) const =0
 Effective thermal turbulent diffusivity of mixture. More...
 
- Public Member Functions inherited from basicThermo
 TypeName ("basicThermo")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, basicThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName))
 Declare run-time constructor selection table. More...
 
virtual ~basicThermo ()
 Destructor. More...
 
virtual const IOdictionary & properties () const =0
 Return the dictionary. More...
 
virtual IOdictionary & properties ()=0
 Access the dictionary. More...
 
virtual const word & phaseName () const =0
 Return the phase name. More...
 
word phasePropertyName (const word &name) const
 Return the name of a property for a given phase. More...
 
void validate (const string &app, const word &) const
 Check that the thermodynamics package is consistent. More...
 
void validate (const string &app, const word &, const word &) const
 Check that the thermodynamics package is consistent. More...
 
virtual word thermoName () const =0
 Return the name of the thermo physics. More...
 
virtual bool incompressible () const =0
 Return true if the equation of state is incompressible. More...
 
virtual bool isochoric () const =0
 Return true if the equation of state is isochoric. More...
 
virtual Switch dpdt () const =0
 Should the dpdt term be included in the enthalpy equation. More...
 
virtual volScalarField & he ()=0
 Enthalpy/Internal energy [J/kg]. More...
 
virtual const volScalarField & he () const =0
 Enthalpy/Internal energy [J/kg]. More...
 
virtual tmp< volScalarField > he (const volScalarField &p, const volScalarField &T) const =0
 Enthalpy/Internal energy. More...
 
virtual tmp< scalarField > he (const scalarField &T, const labelList &cells) const =0
 Enthalpy/Internal energy for cell-set [J/kg]. More...
 
virtual tmp< scalarField > he (const scalarField &T, const label patchi) const =0
 Enthalpy/Internal energy for patch [J/kg]. More...
 
virtual tmp< volScalarField > hs () const =0
 Sensible enthalpy [J/kg]. More...
 
virtual tmp< volScalarField > hs (const volScalarField &p, const volScalarField &T) const =0
 Sensible enthalpy. More...
 
virtual tmp< scalarField > hs (const scalarField &T, const labelList &cells) const =0
 Sensible enthalpy for cell-set [J/kg]. More...
 
virtual tmp< scalarField > hs (const scalarField &T, const label patchi) const =0
 Sensible enthalpy for patch [J/kg]. More...
 
virtual tmp< volScalarField > ha () const =0
 Absolute enthalpy [J/kg]. More...
 
virtual tmp< volScalarField > ha (const volScalarField &p, const volScalarField &T) const =0
 Absolute enthalpy. More...
 
virtual tmp< scalarField > ha (const scalarField &T, const labelList &cells) const =0
 Absolute enthalpy for cell-set [J/kg]. More...
 
virtual tmp< scalarField > ha (const scalarField &T, const label patchi) const =0
 Absolute enthalpy for patch [J/kg]. More...
 
virtual tmp< volScalarField > hc () const =0
 Enthalpy of formation [J/kg]. More...
 
virtual tmp< volScalarField > THE (const volScalarField &h, const volScalarField &p, const volScalarField &T0) const =0
 Temperature from enthalpy/internal energy. More...
 
virtual tmp< scalarField > THE (const scalarField &h, const scalarField &T0, const labelList &cells) const =0
 Temperature from enthalpy/internal energy for cell-set. More...
 
virtual tmp< scalarField > THE (const scalarField &h, const scalarField &T0, const label patchi) const =0
 Temperature from enthalpy/internal energy for patch. More...
 
virtual tmp< volScalarField > Cp () const =0
 Heat capacity at constant pressure [J/kg/K]. More...
 
virtual tmp< volScalarField > Cv () const =0
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual const volScalarField & T () const =0
 Temperature [K]. More...
 
virtual volScalarField & T ()=0
 Temperature [K]. More...
 
virtual tmp< scalarField > Cp (const scalarField &T, const label patchi) const =0
 Heat capacity at constant pressure for patch [J/kg/K]. More...
 
virtual tmp< scalarField > Cv (const scalarField &T, const label patchi) const =0
 Heat capacity at constant volume for patch [J/kg/K]. More...
 
virtual tmp< volScalarField > Cpv () const =0
 Heat capacity at constant pressure/volume [J/kg/K]. More...
 
virtual tmp< scalarField > Cpv (const scalarField &T, const label patchi) const =0
 Heat capacity at constant pressure/volume for patch [J/kg/K]. More...
 
virtual const volScalarField & alpha () const =0
 Thermal diffusivity for enthalpy of mixture [kg/m/s]. More...
 
virtual const scalarField & alpha (const label patchi) const =0
 Thermal diffusivity for enthalpy of mixture for patch [kg/m/s]. More...
 
virtual tmp< volScalarField > kappa () const =0
 Thermal diffusivity for temperature of mixture [W/m/K]. More...
 
virtual tmp< scalarField > kappa (const label patchi) const =0
 Thermal diffusivity for temperature of mixture. More...
 
virtual tmp< volScalarField > alphahe () const =0
 Thermal diffusivity for energy of mixture [kg/m/s]. More...
 
virtual tmp< scalarField > alphahe (const label patchi) const =0
 Thermal diffusivity for energy of mixture for patch [kg/m/s]. More...
 
template<class Thermo >
Foam::autoPtr< Thermo > New (const fvMesh &mesh, const word &phaseName)
 
template<class Thermo >
Foam::autoPtr< Thermo > New (const fvMesh &mesh, const dictionary &dict, const word &phaseName)
 
- Public Member Functions inherited from kinematicTransportModel
 TypeName ("kinematicTransportModel")
 Runtime type information. More...
 
 kinematicTransportModel ()
 Construct from components. More...
 
 kinematicTransportModel (const kinematicTransportModel &)
 Disallow default bitwise copy construction. More...
 
virtual ~kinematicTransportModel ()
 Destructor. More...
 
void operator= (const kinematicTransportModel &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from dynamicTransportModel
 TypeName ("dynamicTransportModel")
 Runtime type information. More...
 
 dynamicTransportModel ()
 Construct from components. More...
 
 dynamicTransportModel (const dynamicTransportModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~dynamicTransportModel ()
 Destructor. More...
 
void operator= (const dynamicTransportModel &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< psiuReactionThermo > New (const fvMesh &, const word &phaseName=word::null)
 Standard selection based on fvMesh. More...
 
- Static Public Member Functions inherited from psiThermo
static autoPtr< psiThermo > New (const fvMesh &mesh, const word &phaseName=word::null)
 Standard selection based on fvMesh. More...
 
- Static Public Member Functions inherited from fluidThermo
static autoPtr< fluidThermo > New (const fvMesh &, const word &phaseName=word::null)
 Standard selection based on fvMesh. More...
 
- Static Public Member Functions inherited from basicThermo
static word phasePropertyName (const word &name, const word &phaseName)
 Return the name of a property for a given phase. More...
 
static const basicThermo & lookupThermo (const fvPatchScalarField &pf)
 Lookup the thermo associated with the given patch field. More...
 
static wordList splitThermoName (const word &thermoName, const int nCmpt)
 Split name of thermo package into a list of the components names. More...
 
static List< Pair< word > > thermoNameComponents (const word &thermoName)
 Split name of thermo package into a list of named components names. More...
 
template<class Thermo >
static autoPtr< Thermo > New (const fvMesh &, const word &phaseName=word::null)
 Generic New for each of the related thermodynamics packages. More...
 
template<class Thermo >
static autoPtr< Thermo > New (const fvMesh &, const dictionary &, const word &phaseName=word::null)
 Generic New for each of the related thermodynamics packages. More...
 
static autoPtr< basicThermo > New (const fvMesh &, const word &phaseName=word::null)
 Specialisation of the Generic New for basicThermo. More...
 

Protected Member Functions

wordList heuBoundaryTypes ()
 Return the unburnt enthalpy/internal energy field boundary types. More...
 
void heuBoundaryCorrection (volScalarField &heu)
 ... More...
 
- Protected Member Functions inherited from basicThermo
wordList heBoundaryTypes ()
 Return the enthalpy/internal energy field boundary types. More...
 
wordList heBoundaryBaseTypes ()
 Return the enthalpy/internal energy field boundary base types. More...
 

Additional Inherited Members

- Static Public Attributes inherited from basicThermo
static const word dictName
 Name of the thermophysical properties dictionary. More...
 
- Static Protected Member Functions inherited from basicThermo
static volScalarField & lookupOrConstruct (const fvMesh &mesh, const char *name)
 Lookup and the named field, or construct it as MUST-READ if it is. More...
 
template<class Thermo , class Table >
static Table::iterator lookupCstrIter (const dictionary &thermoTypeDict, Table *tablePtr, const int nCmpt, const char *cmptNames[], const word &thermoTypeName)
 Get the constructor iterator for the given thermo dictionary and. More...
 
template<class Thermo , class Table >
static Table::iterator lookupCstrIter (const dictionary &thermoDict, Table *tablePtr)
 Get the constructor iterator for the given thermo dictionary and. More...
 

Detailed Description

Base-class for combustion fluid thermodynamic properties based on compressibility.

See also
Foam::basicThermo
Source files

Definition at line 53 of file psiuReactionThermo.H.

Constructor & Destructor Documentation

◆ ~psiuReactionThermo()

~psiuReactionThermo ( )
virtual

Destructor.

Definition at line 123 of file psiuReactionThermo.C.

Member Function Documentation

◆ heuBoundaryTypes()

Foam::wordList heuBoundaryTypes ( )
protected

Return the unburnt enthalpy/internal energy field boundary types.

by interrogating the temperature field boundary types

Definition at line 43 of file psiuReactionThermo.C.

References forAll, and patchi.

◆ heuBoundaryCorrection()

void heuBoundaryCorrection ( volScalarField &  heu)
protected

...

Definition at line 73 of file psiuReactionThermo.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), forAll, psiuReactionThermo::implementation::implementation(), and patchi.

Here is the call graph for this function:

◆ TypeName()

TypeName ( "psiuReactionThermo"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
psiuReactionThermo  ,
fvMesh  ,
(const fvMesh &mesh, const word &phaseName)  ,
(mesh, phaseName)   
)

◆ New()

Foam::autoPtr< Foam::psiuReactionThermo > New ( const fvMesh &  mesh,
const word &  phaseName = word::null 
)
static

Standard selection based on fvMesh.

Definition at line 112 of file psiuReactionThermo.C.

References mesh.

Referenced by psiuReactionThermo::implementation::implementation().

Here is the caller graph for this function:

◆ correct()

virtual void correct ( )
pure virtual

Update properties.

Implements basicThermo.

◆ composition() [1/2]

virtual basicCombustionMixture& composition ( )
pure virtual

Return the composition of the combustion mixture.

◆ composition() [2/2]

virtual const basicCombustionMixture& composition ( ) const
pure virtual

Return the composition of the combustion mixture.

◆ heu() [1/4]

virtual volScalarField& heu ( )
pure virtual

Unburnt gas enthalpy [J/kg].

Non-const access allowed for transport equations

Referenced by fixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), mixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), and gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs().

Here is the caller graph for this function:

◆ heu() [2/4]

virtual const volScalarField& heu ( ) const
pure virtual

Unburnt gas enthalpy [J/kg].

◆ heu() [3/4]

virtual tmp<scalarField> heu ( const scalarField &  T,
const labelList &  cells 
) const
pure virtual

Unburnt gas enthalpy for cell-set [J/kg].

◆ heu() [4/4]

virtual tmp<scalarField> heu ( const scalarField &  T,
const label  patchi 
) const
pure virtual

Unburnt gas enthalpy for patch [J/kg].

◆ Tu()

virtual const volScalarField& Tu ( ) const
pure virtual

◆ Tb()

virtual tmp<volScalarField> Tb ( ) const
pure virtual

Burnt gas temperature [K].

◆ rhou()

virtual tmp<volScalarField> rhou ( ) const
inlinevirtual

Unburnt gas density [kg/m^3].

Definition at line 155 of file psiuReactionThermo.H.

References fluidThermo::p(), and psiuReactionThermo::psiu().

Here is the call graph for this function:

◆ rhob()

virtual tmp<volScalarField> rhob ( ) const
inlinevirtual

Burnt gas density [kg/m^3].

Definition at line 161 of file psiuReactionThermo.H.

References psiuReactionThermo::mub(), psiuReactionThermo::muu(), fluidThermo::p(), psiuReactionThermo::psib(), and psiuReactionThermo::psiu().

Here is the call graph for this function:

◆ psiu()

virtual tmp<volScalarField> psiu ( ) const
pure virtual

Unburnt gas compressibility [s^2/m^2].

Referenced by psiuReactionThermo::rhob(), and psiuReactionThermo::rhou().

Here is the caller graph for this function:

◆ psib()

virtual tmp<volScalarField> psib ( ) const
pure virtual

Burnt gas compressibility [s^2/m^2].

Referenced by psiuReactionThermo::rhob().

Here is the caller graph for this function:

◆ muu()

virtual tmp<volScalarField> muu ( ) const
pure virtual

Dynamic viscosity of unburnt gas [kg/m/s].

Referenced by psiuReactionThermo::rhob().

Here is the caller graph for this function:

◆ mub()

virtual tmp<volScalarField> mub ( ) const
pure virtual

Dynamic viscosity of burnt gas [kg/m/s].

Referenced by psiuReactionThermo::rhob().

Here is the caller graph for this function:

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