UInhomogeneousEGRMixture< ThermoType > Class Template Reference

Templated Unburnt gas combustion mixture for inhomogeneous lean, stoichiometric or rich conditions with exhaust gas recirculation. More...

Inheritance diagram for UInhomogeneousEGRMixture< ThermoType >:
Collaboration diagram for UInhomogeneousEGRMixture< ThermoType >:

Public Types

typedef ThermoType thermoType
 The type of thermodynamics this mixture is instantiated for. More...
 
typedef ThermoType thermoMixtureType
 Mixing type for thermodynamic properties. More...
 
typedef ThermoType transportMixtureType
 Mixing type for transport properties. More...
 
- Public Types inherited from uInhomogeneousEGRMixture
enum  species { FU , EGR }
 Specie indices. More...
 

Public Member Functions

 UInhomogeneousEGRMixture (const dictionary &)
 Construct from a dictionary. More...
 
 UInhomogeneousEGRMixture (const UInhomogeneousEGRMixture< ThermoType > &)=delete
 Disallow default bitwise copy construction. More...
 
const ThermoType & specieThermo (const label speciei) const
 
const thermoMixtureTypethermoMixture (const scalarFieldListSlice &) const
 Return the mixture for thermodynamic properties. More...
 
const transportMixtureTypetransportMixture (const scalarFieldListSlice &) const
 Return the mixture for transport properties. More...
 
const transportMixtureTypetransportMixture (const scalarFieldListSlice &, const thermoMixtureType &) const
 Return the mixture for transport properties. More...
 
void read (const dictionary &)
 Read dictionary. More...
 
void operator= (const UInhomogeneousEGRMixture< ThermoType > &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from uInhomogeneousEGRMixture
 ClassName ("uInhomogeneousEGR")
 Runtime type information. More...
 
 uInhomogeneousEGRMixture (const dictionary &)
 Construct from a dictionary. More...
 
 uInhomogeneousEGRMixture (const uInhomogeneousEGRMixture &)=delete
 Disallow default bitwise copy construction. More...
 
virtual const wordmixtureType () const
 Return the mixture type name. More...
 
const speciesTablespecies () const
 Return the table of species. More...
 
const boolListspeciesActive () const
 Access the specie active flags. More...
 
boolListspeciesActive ()
 Access the specie active flags. More...
 
scalar stoicRatio () const
 Return the stoichiometric air/fuel ratio. More...
 
scalar Phi (const scalarFieldListSlice &Yu) const
 Return the fuel-oxidant equivalence ratio. More...
 
void read (const dictionary &)
 Read dictionary. More...
 
void operator= (const uInhomogeneousEGRMixture &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from uMixture
 uMixture ()
 Construct. More...
 
 uMixture (const uMixture &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~uMixture ()
 Destructor. More...
 
void operator= (const uMixture &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static word typeName ()
 Return the instantiated type name. More...
 

Protected Member Functions

const thermoTypemixture (const scalar fu, const scalar egr) const
 Return the mixture for the given composition. More...
 

Protected Attributes

thermoType fuel_
 Fuel thermodynamic model. More...
 
thermoType oxidant_
 Oxidant thermodynamic model. More...
 
thermoType products_
 Product thermodynamic model. More...
 
thermoType mixture_
 Mutable storage for the mixed thermodynamic model. More...
 
- Protected Attributes inherited from uInhomogeneousEGRMixture
speciesTable species_
 Table of specie names. More...
 
scalar stoicRatio_
 Stoichiometric air/fuel ratio. More...
 
boolList active_
 List of specie active flags. More...
 

Detailed Description

template<class ThermoType>
class Foam::UInhomogeneousEGRMixture< ThermoType >

Templated Unburnt gas combustion mixture for inhomogeneous lean, stoichiometric or rich conditions with exhaust gas recirculation.

in which the fuel mass-fraction fu and exhaust gas recirculation mass-fraction egr define the composition.

See also
Foam::uInhomogeneousEGRMixture
Source files

Definition at line 56 of file UInhomogeneousEGRMixture.H.

Member Typedef Documentation

◆ thermoType

typedef ThermoType thermoType

The type of thermodynamics this mixture is instantiated for.

Definition at line 65 of file UInhomogeneousEGRMixture.H.

◆ thermoMixtureType

typedef ThermoType thermoMixtureType

Mixing type for thermodynamic properties.

Definition at line 68 of file UInhomogeneousEGRMixture.H.

◆ transportMixtureType

typedef ThermoType transportMixtureType

Mixing type for transport properties.

Definition at line 71 of file UInhomogeneousEGRMixture.H.

Constructor & Destructor Documentation

◆ UInhomogeneousEGRMixture() [1/2]

Construct from a dictionary.

Definition at line 31 of file UInhomogeneousEGRMixture.C.

◆ UInhomogeneousEGRMixture() [2/2]

UInhomogeneousEGRMixture ( const UInhomogeneousEGRMixture< ThermoType > &  )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ mixture()

const ThermoType & mixture ( const scalar  fu,
const scalar  egr 
) const
protected

Return the mixture for the given composition.

Definition at line 73 of file UInhomogeneousEGRMixture.C.

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 118 of file UInhomogeneousEGRMixture.H.

References Foam::typeName().

Here is the call graph for this function:

◆ specieThermo()

const ThermoType & specieThermo ( const label  speciei) const

Definition at line 47 of file UInhomogeneousEGRMixture.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ thermoMixture()

const Foam::UInhomogeneousEGRMixture< ThermoType >::thermoMixtureType & thermoMixture ( const scalarFieldListSlice &  Y) const

Return the mixture for thermodynamic properties.

Definition at line 98 of file UInhomogeneousEGRMixture.C.

References Y.

◆ transportMixture() [1/2]

const Foam::UInhomogeneousEGRMixture< ThermoType >::transportMixtureType & transportMixture ( const scalarFieldListSlice &  Y) const

Return the mixture for transport properties.

Definition at line 109 of file UInhomogeneousEGRMixture.C.

References Y.

◆ transportMixture() [2/2]

const Foam::UInhomogeneousEGRMixture< ThermoType >::transportMixtureType & transportMixture ( const scalarFieldListSlice &  ,
const thermoMixtureType mixture 
) const

Return the mixture for transport properties.

Definition at line 120 of file UInhomogeneousEGRMixture.C.

◆ read()

void read ( const dictionary dict)

Read dictionary.

Definition at line 131 of file UInhomogeneousEGRMixture.C.

References dict, uInhomogeneousEGRMixture::read(), and dictionary::subDict().

Here is the call graph for this function:

◆ operator=()

void operator= ( const UInhomogeneousEGRMixture< ThermoType > &  )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ fuel_

thermoType fuel_
protected

Fuel thermodynamic model.

Definition at line 79 of file UInhomogeneousEGRMixture.H.

◆ oxidant_

thermoType oxidant_
protected

Oxidant thermodynamic model.

Definition at line 82 of file UInhomogeneousEGRMixture.H.

◆ products_

thermoType products_
protected

Product thermodynamic model.

Definition at line 85 of file UInhomogeneousEGRMixture.H.

◆ mixture_

thermoType mixture_
mutableprotected

Mutable storage for the mixed thermodynamic model.

Definition at line 88 of file UInhomogeneousEGRMixture.H.


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