heheuPsiThermo< BasicPsiThermo, MixtureType > Class Template Reference
Inheritance diagram for heheuPsiThermo< BasicPsiThermo, MixtureType >:
Collaboration diagram for heheuPsiThermo< BasicPsiThermo, MixtureType >:

Public Member Functions

 TypeName ("heheuPsiThermo")
 Runtime type information. More...
 
 heheuPsiThermo (const fvMesh &, const word &phaseName)
 Construct from mesh and phase name. More...
 
 heheuPsiThermo (const heheuPsiThermo< BasicPsiThermo, MixtureType > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~heheuPsiThermo ()
 Destructor. More...
 
virtual void correct ()
 Update properties. More...
 
virtual volScalarFieldheu ()
 Unburnt gas enthalpy [J/kg]. More...
 
virtual const volScalarFieldheu () const
 Unburnt gas enthalpy [J/kg]. More...
 
virtual const volScalarFieldTu () const
 Unburnt gas temperature [K]. More...
 
virtual tmp< scalarFieldheu (const scalarField &T, const labelList &cells) const
 Unburnt gas enthalpy for cell-set [J/kg]. More...
 
virtual tmp< scalarFieldheu (const scalarField &T, const label patchi) const
 Unburnt gas enthalpy for patch [J/kg]. More...
 
virtual tmp< volScalarFieldTb () const
 Burnt gas temperature [K]. More...
 
virtual tmp< volScalarFieldpsiu () const
 Unburnt gas compressibility [s^2/m^2]. More...
 
virtual tmp< volScalarFieldpsib () const
 Burnt gas compressibility [s^2/m^2]. More...
 
virtual tmp< volScalarFieldmuu () const
 Dynamic viscosity of unburnt gas [kg/m/s]. More...
 
virtual tmp< volScalarFieldmub () const
 Dynamic viscosity of burnt gas [kg/m/s]. More...
 
- Public Member Functions inherited from heThermo< BasicPsiThermo, MixtureType >
Foam::tmp< Foam::volScalarFieldvolScalarFieldProperty (const word &psiName, const dimensionSet &psiDim, CellMixture cellMixture, PatchFaceMixture patchFaceMixture, Method psiMethod, const Args &... args) const
 
Foam::tmp< Foam::scalarFieldcellSetProperty (CellMixture cellMixture, Method psiMethod, const labelList &cells, const Args &... args) const
 
Foam::tmp< Foam::scalarFieldpatchFieldProperty (PatchFaceMixture patchFaceMixture, Method psiMethod, const label patchi, const Args &... args) const
 
 heThermo (const fvMesh &, const word &phaseName)
 Construct from mesh. More...
 
 heThermo (const heThermo< BasicPsiThermo, MixtureType > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~heThermo ()
 Destructor. More...
 
virtual MixtureType::basicMixtureType & composition ()
 Return the composition of the mixture. More...
 
virtual const MixtureType::basicMixtureType & composition () const
 Return the composition of the mixture. More...
 
virtual word thermoName () const
 Return the name of the thermo physics. More...
 
virtual bool incompressible () const
 Return true if the equation of state is incompressible. More...
 
virtual bool isochoric () const
 Return true if the equation of state is isochoric. More...
 
virtual volScalarFieldhe ()
 Enthalpy/Internal energy [J/kg]. More...
 
virtual const volScalarFieldhe () const
 Enthalpy/Internal energy [J/kg]. More...
 
virtual tmp< volScalarFieldhe (const volScalarField &p, const volScalarField &T) const
 Enthalpy/Internal energy. More...
 
virtual tmp< scalarFieldhe (const scalarField &T, const labelList &cells) const
 Enthalpy/Internal energy for cell-set [J/kg]. More...
 
virtual tmp< scalarFieldhe (const scalarField &T, const label patchi) const
 Enthalpy/Internal energy for patch [J/kg]. More...
 
virtual const volScalarFieldCp () const
 Heat capacity at constant pressure [J/kg/K]. More...
 
virtual tmp< scalarFieldCp (const scalarField &T, const label patchi) const
 Heat capacity at constant pressure for patch [J/kg/K]. More...
 
virtual const volScalarFieldCv () const
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual tmp< scalarFieldCv (const scalarField &T, const label patchi) const
 Heat capacity at constant volume for patch [J/kg/K]. More...
 
virtual const volScalarFieldCpv () const
 Heat capacity at constant pressure/volume [J/kg/K]. More...
 
virtual tmp< scalarFieldCpv (const scalarField &T, const label patchi) const
 Heat capacity at constant pressure/volume for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldhs () const
 Sensible enthalpy [J/kg/K]. More...
 
virtual tmp< volScalarFieldhs (const volScalarField &p, const volScalarField &T) const
 Sensible enthalpy. More...
 
virtual tmp< scalarFieldhs (const scalarField &T, const label patchi) const
 Sensible enthalpy for patch [J/kg/K]. More...
 
virtual tmp< scalarFieldhs (const scalarField &T, const labelList &cells) const
 Sensible enthalpy for cell-set [J/kg]. More...
 
virtual tmp< volScalarFieldha () const
 Absolute enthalpy [J/kg/K]. More...
 
virtual tmp< volScalarFieldha (const volScalarField &p, const volScalarField &T) const
 Absolute enthalpy. More...
 
virtual tmp< scalarFieldha (const scalarField &T, const label patchi) const
 Absolute enthalpy for patch [J/kg/K]. More...
 
virtual tmp< scalarFieldha (const scalarField &T, const labelList &cells) const
 Absolute enthalpy for cell-set [J/kg]. More...
 
virtual tmp< volScalarFieldhc () const
 Enthalpy of formation [J/kg]. More...
 
virtual tmp< volScalarFieldTHE (const volScalarField &h, const volScalarField &p, const volScalarField &T0) const
 Temperature from enthalpy/internal energy. More...
 
virtual tmp< scalarFieldTHE (const scalarField &he, const scalarField &T0, const labelList &cells) const
 Temperature from enthalpy/internal energy for cell-set. More...
 
virtual tmp< scalarFieldTHE (const scalarField &he, const scalarField &T0, const label patchi) const
 Temperature from enthalpy/internal energy for patch. More...
 
virtual tmp< volScalarFieldgamma () const
 Gamma = Cp/Cv []. More...
 
virtual tmp< scalarFieldgamma (const scalarField &T, const label patchi) const
 Gamma = Cp/Cv for patch []. More...
 
virtual tmp< volScalarFieldW () const
 Molecular weight [kg/kmol]. More...
 
virtual tmp< scalarFieldW (const label patchi) const
 Molecular weight for patch [kg/kmol]. More...
 
virtual bool read ()
 Read thermophysical properties dictionary. More...
 

Additional Inherited Members

- Protected Member Functions inherited from heThermo< BasicPsiThermo, MixtureType >
tmp< volScalarFieldvolScalarFieldProperty (const word &psiName, const dimensionSet &psiDim, CellMixture cellMixture, PatchFaceMixture patchFaceMixture, Method psiMethod, const Args &... args) const
 Return a volScalarField of the given property. More...
 
tmp< scalarFieldcellSetProperty (CellMixture cellMixture, Method psiMethod, const labelList &cells, const Args &... args) const
 Return a scalarField of the given property on a cell set. More...
 
tmp< scalarFieldpatchFieldProperty (PatchFaceMixture patchFaceMixture, Method psiMethod, const label patchi, const Args &... args) const
 Return a scalarField of the given property on a patch. More...
 
void heBoundaryCorrection (volScalarField &he)
 Correct the enthalpy/internal energy field boundaries. More...
 
- Static Protected Member Functions inherited from heThermo< BasicPsiThermo, MixtureType >
static UIndirectList< scalar > cellSetScalarList (const volScalarField &psi, const labelList &cells)
 Return an indirect list of a field for the given set of cells. More...
 
static UniformField< scalar > cellSetScalarList (const uniformGeometricScalarField &psi, const labelList &)
 Return an indirect list of a field for the given set of cells. More...
 
- Protected Attributes inherited from heThermo< BasicPsiThermo, MixtureType >
volScalarField he_
 Energy field. More...
 
volScalarField Cp_
 Heat capacity at constant pressure field [J/kg/K]. More...
 
volScalarField Cv_
 

Detailed Description

template<class BasicPsiThermo, class MixtureType>
class Foam::heheuPsiThermo< BasicPsiThermo, MixtureType >

Definition at line 49 of file heheuPsiThermo.H.

Constructor & Destructor Documentation

◆ heheuPsiThermo() [1/2]

heheuPsiThermo ( const fvMesh mesh,
const word phaseName 
)

Construct from mesh and phase name.

Definition at line 174 of file heheuPsiThermo.C.

◆ heheuPsiThermo() [2/2]

heheuPsiThermo ( const heheuPsiThermo< BasicPsiThermo, MixtureType > &  )
delete

Disallow default bitwise copy construction.

◆ ~heheuPsiThermo()

~heheuPsiThermo
virtual

Destructor.

Definition at line 227 of file heheuPsiThermo.C.

Member Function Documentation

◆ TypeName()

TypeName ( "heheuPsiThermo< BasicPsiThermo, MixtureType >"  )

Runtime type information.

◆ correct()

void correct
virtual

Update properties.

Definition at line 234 of file heheuPsiThermo.C.

References Foam::fvPatchDistWave::calculate(), Foam::endl(), Foam::Info, and InfoInFunction.

Here is the call graph for this function:

◆ heu() [1/4]

virtual volScalarField& heu ( )
inlinevirtual

Unburnt gas enthalpy [J/kg].

Non-const access allowed for transport equations

Definition at line 104 of file heheuPsiThermo.H.

◆ heu() [2/4]

virtual const volScalarField& heu ( ) const
inlinevirtual

Unburnt gas enthalpy [J/kg].

Definition at line 110 of file heheuPsiThermo.H.

◆ Tu()

virtual const volScalarField& Tu ( ) const
inlinevirtual

Unburnt gas temperature [K].

Definition at line 116 of file heheuPsiThermo.H.

◆ heu() [3/4]

Foam::tmp< Foam::scalarField > heu ( const scalarField T,
const labelList cells 
) const
virtual

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

Definition at line 255 of file heheuPsiThermo.C.

References cells.

◆ heu() [4/4]

Foam::tmp< Foam::scalarField > heu ( const scalarField T,
const label  patchi 
) const
virtual

Unburnt gas enthalpy for patch [J/kg].

Definition at line 274 of file heheuPsiThermo.C.

References patchi.

◆ Tb()

Burnt gas temperature [K].

Definition at line 293 of file heheuPsiThermo.C.

References Foam::dimTemperature.

◆ psiu()

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

Definition at line 311 of file heheuPsiThermo.C.

References psi.

◆ psib()

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

Definition at line 328 of file heheuPsiThermo.C.

References psi.

◆ muu()

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

Definition at line 347 of file heheuPsiThermo.C.

References Foam::dimDynamicViscosity, and Foam::constant::physicoChemical::mu.

◆ mub()

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

Definition at line 364 of file heheuPsiThermo.C.

References Foam::dimDynamicViscosity, and Foam::constant::physicoChemical::mu.


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