Public Member Functions | List of all members
heheuPsiThermo< BasicPsiThermo, MixtureType > Class Template Reference
Inheritance diagram for heheuPsiThermo< BasicPsiThermo, MixtureType >:
Inheritance graph
[legend]
Collaboration diagram for heheuPsiThermo< BasicPsiThermo, MixtureType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("heheuPsiThermo")
 Runtime type information. More...
 
 heheuPsiThermo (const fvMesh &, const word &phaseName)
 Construct from mesh and phase name. 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 &p, const scalarField &T, const labelList &cells) const
 Unburnt gas enthalpy for cell-set [J/kg]. More...
 
virtual tmp< scalarFieldheu (const scalarField &p, 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/ms]. More...
 
virtual tmp< volScalarFieldmub () const
 Dynamic viscosity of burnt gas [kg/ms]. More...
 
- Public Member Functions inherited from heThermo< BasicPsiThermo, MixtureType >
 heThermo (const fvMesh &, const word &phaseName)
 Construct from mesh. More...
 
 heThermo (const fvMesh &, const dictionary &, const word &phaseName)
 Construct from mesh and dictionary. More...
 
virtual ~heThermo ()
 Destructor. More...
 
virtual MixtureType::basicMixtureType & composition ()
 Return the compostion of the mixture. More...
 
virtual const MixtureType::basicMixtureType & composition () const
 Return the compostion of the mixture. 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 &p, const scalarField &T, const labelList &cells) const
 Enthalpy/Internal energy for cell-set [J/kg]. More...
 
virtual tmp< scalarFieldhe (const scalarField &p, const scalarField &T, const label patchi) const
 Enthalpy/Internal energy for patch [J/kg]. More...
 
virtual tmp< volScalarFieldhc () const
 Chemical enthalpy [J/kg]. More...
 
virtual tmp< scalarFieldTHE (const scalarField &he, const scalarField &p, const scalarField &T0, const labelList &cells) const
 Temperature from enthalpy/internal energy for cell-set. More...
 
virtual tmp< scalarFieldTHE (const scalarField &he, const scalarField &p, const scalarField &T0, const label patchi) const
 Temperature from enthalpy/internal energy for patch. More...
 
virtual tmp< scalarFieldCp (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant pressure for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCp () const
 Heat capacity at constant pressure [J/kg/K]. More...
 
virtual tmp< scalarFieldCv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant volume for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCv () const
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual tmp< volScalarFieldgamma () const
 Gamma = Cp/Cv []. More...
 
virtual tmp< scalarFieldgamma (const scalarField &p, const scalarField &T, const label patchi) const
 Gamma = Cp/Cv for patch []. More...
 
virtual tmp< scalarFieldCpv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant pressure/volume for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCpv () const
 Heat capacity at constant pressure/volume [J/kg/K]. More...
 
virtual tmp< volScalarFieldCpByCpv () const
 Heat capacity ratio []. More...
 
virtual tmp< scalarFieldCpByCpv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity ratio for patch []. More...
 
virtual tmp< volScalarFieldkappa () const
 Thermal diffusivity for temperature of mixture [J/m/s/K]. More...
 
virtual tmp< scalarFieldkappa (const label patchi) const
 Thermal diffusivity for temperature. More...
 
virtual tmp< volScalarFieldkappaEff (const volScalarField &) const
 Effective thermal diffusivity for temperature. More...
 
virtual tmp< scalarFieldkappaEff (const scalarField &alphat, const label patchi) const
 Effective thermal diffusivity for temperature. More...
 
virtual tmp< volScalarFieldalphaEff (const volScalarField &alphat) const
 Effective thermal diffusivity of mixture [kg/m/s]. More...
 
virtual tmp< scalarFieldalphaEff (const scalarField &alphat, const label patchi) const
 Effective thermal diffusivity of mixture for patch [kg/m/s]. More...
 
virtual bool read ()
 Read thermophysical properties dictionary. More...
 

Additional Inherited Members

- Protected Member Functions inherited from heThermo< BasicPsiThermo, MixtureType >
void heBoundaryCorrection (volScalarField &he)
 Correct the enthalpy/internal energy field boundaries. More...
 
- Protected Attributes inherited from heThermo< BasicPsiThermo, MixtureType >
volScalarField he_
 Energy field. More...
 

Detailed Description

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

Definition at line 49 of file heheuPsiThermo.H.

Constructor & Destructor Documentation

◆ heheuPsiThermo()

heheuPsiThermo ( const fvMesh mesh,
const word phaseName 
)

Construct from mesh and phase name.

Definition at line 145 of file heheuPsiThermo.C.

References forAll, and patchi.

◆ ~heheuPsiThermo()

~heheuPsiThermo ( )
virtual

Destructor.

Definition at line 220 of file heheuPsiThermo.C.

Member Function Documentation

◆ TypeName()

TypeName ( "heheuPsiThermo< BasicPsiThermo, MixtureType >"  )

Runtime type information.

◆ correct()

void correct ( )
virtual

Update properties.

Definition at line 227 of file heheuPsiThermo.C.

References Foam::endl(), heheuPsiThermo< BasicPsiThermo, MixtureType >::heu(), 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 99 of file heheuPsiThermo.H.

Referenced by heheuPsiThermo< BasicPsiThermo, MixtureType >::correct(), heheuPsiThermo< BasicPsiThermo, MixtureType >::heu(), and heheuPsiThermo< BasicPsiThermo, MixtureType >::Tu().

Here is the caller graph for this function:

◆ heu() [2/4]

virtual const volScalarField& heu ( ) const
inlinevirtual

Unburnt gas enthalpy [J/kg].

Definition at line 105 of file heheuPsiThermo.H.

◆ Tu()

virtual const volScalarField& Tu ( ) const
inlinevirtual

◆ heu() [3/4]

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

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

Definition at line 249 of file heheuPsiThermo.C.

References forAll, heheuPsiThermo< BasicPsiThermo, MixtureType >::heu(), tmp< T >::ref(), scalarField(), and List< T >::size().

Here is the call graph for this function:

◆ heu() [4/4]

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

Unburnt gas enthalpy for patch [J/kg].

Definition at line 270 of file heheuPsiThermo.C.

References forAll, tmp< T >::ref(), scalarField(), and List< T >::size().

Here is the call graph for this function:

◆ Tb()

Foam::tmp< Foam::volScalarField > Tb ( ) const
virtual

Burnt gas temperature [K].

Definition at line 291 of file heheuPsiThermo.C.

References forAll, patchi, and GeometricField< Type, PatchField, GeoMesh >::ref().

Referenced by heheuPsiThermo< BasicPsiThermo, MixtureType >::Tu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ psiu()

Foam::tmp< Foam::volScalarField > psiu ( ) const
virtual

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

Definition at line 350 of file heheuPsiThermo.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), forAll, patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), and tmp< T >::ref().

Referenced by heheuPsiThermo< BasicPsiThermo, MixtureType >::Tu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ psib()

Foam::tmp< Foam::volScalarField > psib ( ) const
virtual

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

Definition at line 404 of file heheuPsiThermo.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), forAll, patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), and tmp< T >::ref().

Referenced by heheuPsiThermo< BasicPsiThermo, MixtureType >::Tu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ muu()

Foam::tmp< Foam::volScalarField > muu ( ) const
virtual

Dynamic viscosity of unburnt gas [kg/ms].

Definition at line 459 of file heheuPsiThermo.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), forAll, patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), and tmp< T >::ref().

Referenced by heheuPsiThermo< BasicPsiThermo, MixtureType >::Tu().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mub()

Foam::tmp< Foam::volScalarField > mub ( ) const
virtual

Dynamic viscosity of burnt gas [kg/ms].

Definition at line 517 of file heheuPsiThermo.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), forAll, patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), and tmp< T >::ref().

Referenced by heheuPsiThermo< BasicPsiThermo, MixtureType >::Tu().

Here is the call graph for this function:
Here is the caller graph for this function:

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