Loading...
Searching...
No Matches
heheuPsiThermo< BasicPsiThermo, MixtureType > Class Template Reference

#include <heheuPsiThermo.H>

Inheritance diagram for heheuPsiThermo< BasicPsiThermo, MixtureType >:
Collaboration diagram for heheuPsiThermo< BasicPsiThermo, MixtureType >:

Public Member Functions

 TypeName ("heheuPsiThermo")
 Runtime type information.
 heheuPsiThermo (const fvMesh &, const word &phaseName)
 Construct from mesh and phase name.
 heheuPsiThermo (const fvMesh &, const word &phaseName, const word &dictName)
 Construct from mesh,dictionary,phase name with a single temperature.
virtual ~heheuPsiThermo ()
 Destructor.
virtual void correct ()
 Update properties.
virtual volScalarFieldheu ()
 Update properties based on T.
virtual const volScalarFieldheu () const
 Unburnt gas enthalpy [J/kg].
virtual const volScalarFieldTu () const
 Unburnt gas temperature [K].
virtual tmp< scalarFieldheu (const scalarField &p, const scalarField &T, const labelList &cells) const
 Unburnt gas enthalpy for cell-set [J/kg].
virtual tmp< scalarFieldheu (const scalarField &p, const scalarField &T, const label patchi) const
 Unburnt gas enthalpy for patch [J/kg].
virtual tmp< volScalarFieldTb () const
 Burnt gas temperature [K].
virtual tmp< volScalarFieldpsiu () const
 Unburnt gas compressibility [s^2/m^2].
virtual tmp< volScalarFieldpsib () const
 Burnt gas compressibility [s^2/m^2].
virtual tmp< volScalarFieldmuu () const
 Dynamic viscosity of unburnt gas [kg/ms].
virtual tmp< volScalarFieldmub () const
 Dynamic viscosity of burnt gas [kg/ms].
Public Member Functions inherited from heThermo< BasicPsiThermo, MixtureType >
virtual ~heThermo ()
 Destructor.
virtual MixtureType::basicMixtureType & composition ()
 Return the composition of the mixture.
virtual word thermoName () const
 Return the name of the thermo physics.
virtual bool incompressible () const
 Return true if the equation of state is incompressible.
virtual bool isochoric () const
 Return true if the equation of state is isochoric.
virtual volScalarFieldhe ()
 Enthalpy/Internal energy [J/kg].
virtual tmp< volScalarFieldhc () const
 Chemical enthalpy [J/kg].
virtual tmp< scalarFieldTHE (const scalarField &he, const scalarField &p, const scalarField &T0, const labelList &cells) const
 Temperature from enthalpy/internal energy for cell-set.
virtual tmp< scalarFieldCp (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant pressure for patch [J/kg/K].
virtual tmp< scalarFieldCv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant volume for patch [J/kg/K].
virtual tmp< scalarFieldrhoEoS (const scalarField &p, const scalarField &T, const labelList &cells) const
 Density from pressure and temperature.
virtual tmp< volScalarFieldgamma () const
 Gamma = Cp/Cv [].
virtual tmp< scalarFieldCpv (const scalarField &p, const scalarField &T, const label patchi) const
 Heat capacity at constant pressure/volume for patch [J/kg/K].
virtual tmp< volScalarFieldCpByCpv () const
 Heat capacity ratio [].
virtual tmp< volScalarFieldW () const
 Molecular weight [kg/kmol].
virtual tmp< volScalarFieldkappa () const
 Thermal diffusivity for temperature of mixture [J/m/s/K].
virtual tmp< volScalarFieldalphahe () const
 Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarFieldkappaEff (const volScalarField &) const
 Effective thermal diffusivity for temperature.
virtual tmp< volScalarFieldalphaEff (const volScalarField &alphat) const
 Effective thermal diffusivity of mixture [kg/m/s].
virtual bool read ()
 Read thermophysical properties dictionary.

Additional Inherited Members

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

Detailed Description

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

Definition at line 48 of file heheuPsiThermo.H.

Constructor & Destructor Documentation

◆ heheuPsiThermo() [1/2]

template<class BasicPsiThermo, class MixtureType>
heheuPsiThermo ( const fvMesh & mesh,
const word & phaseName )

Construct from mesh and phase name.

Definition at line 234 of file heheuPsiThermo.C.

References forAll, mesh, pp(), and timeName.

Here is the call graph for this function:

◆ heheuPsiThermo() [2/2]

template<class BasicPsiThermo, class MixtureType>
heheuPsiThermo ( const fvMesh & mesh,
const word & phaseName,
const word & dictName )

Construct from mesh,dictionary,phase name with a single temperature.

Definition at line 309 of file heheuPsiThermo.C.

References dictName(), forAll, mesh, pp(), and timeName.

Here is the call graph for this function:

◆ ~heheuPsiThermo()

template<class BasicPsiThermo, class MixtureType>
~heheuPsiThermo ( )
virtual

Destructor.

Definition at line 387 of file heheuPsiThermo.C.

Member Function Documentation

◆ TypeName()

template<class BasicPsiThermo, class MixtureType>
TypeName ( "heheuPsiThermo< BasicPsiThermo, MixtureType >" )

Runtime type information.

References dictName().

Here is the call graph for this function:

◆ correct()

template<class BasicPsiThermo, class MixtureType>
void correct ( )
virtual

Update properties.

Definition at line 394 of file heheuPsiThermo.C.

References DebugInfo, DebugInFunction, and Foam::endl().

Here is the call graph for this function:

◆ heu() [1/4]

template<class BasicPsiThermo, class MixtureType>
virtual volScalarField & heu ( )
inlinevirtual

Update properties based on T.

virtual void correctT();

Unburnt gas enthalpy [J/kg]

Non-const access allowed for transport equations

Definition at line 138 of file heheuPsiThermo.H.

Referenced by heu(), and heu().

Here is the caller graph for this function:

◆ heu() [2/4]

template<class BasicPsiThermo, class MixtureType>
virtual const volScalarField & heu ( ) const
inlinevirtual

Unburnt gas enthalpy [J/kg].

Definition at line 146 of file heheuPsiThermo.H.

◆ Tu()

template<class BasicPsiThermo, class MixtureType>
virtual const volScalarField & Tu ( ) const
inlinevirtual

Unburnt gas temperature [K].

Definition at line 154 of file heheuPsiThermo.H.

Referenced by heu(), and heu().

Here is the caller graph for this function:

◆ heu() [3/4]

template<class BasicPsiThermo, class MixtureType>
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 420 of file heheuPsiThermo.C.

References cells, forAll, heu(), tmp< T >::New(), p, and Tu().

Here is the call graph for this function:

◆ heu() [4/4]

template<class BasicPsiThermo, class MixtureType>
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 441 of file heheuPsiThermo.C.

References forAll, heu(), tmp< T >::New(), p, and Tu().

Here is the call graph for this function:

◆ Tb()

template<class BasicPsiThermo, class MixtureType>
Foam::tmp< Foam::volScalarField > Tb ( ) const
virtual

Burnt gas temperature [K].

Definition at line 463 of file heheuPsiThermo.C.

References forAll, heThermo< BasicPsiThermo, MixtureType >::he_, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and pp().

Referenced by mub(), and psib().

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

◆ psiu()

template<class BasicPsiThermo, class MixtureType>
Foam::tmp< Foam::volScalarField > psiu ( ) const
virtual

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

Definition at line 512 of file heheuPsiThermo.C.

References forAll, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, pp(), and psiu().

Referenced by psiu().

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

◆ psib()

template<class BasicPsiThermo, class MixtureType>
Foam::tmp< Foam::volScalarField > psib ( ) const
virtual

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

Definition at line 556 of file heheuPsiThermo.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, pp(), psib(), and Tb().

Referenced by psib().

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

◆ muu()

template<class BasicPsiThermo, class MixtureType>
Foam::tmp< Foam::volScalarField > muu ( ) const
virtual

Dynamic viscosity of unburnt gas [kg/ms].

Definition at line 601 of file heheuPsiThermo.C.

References forAll, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, and pp().

Here is the call graph for this function:

◆ mub()

template<class BasicPsiThermo, class MixtureType>
Foam::tmp< Foam::volScalarField > mub ( ) const
virtual

Dynamic viscosity of burnt gas [kg/ms].

Definition at line 649 of file heheuPsiThermo.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, pp(), and Tb().

Here is the call graph for this function:

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