basicCombustionMixture Class Reference

Specialisation of the basicMixture for combustion. More...

Inheritance diagram for basicCombustionMixture:
Collaboration diagram for basicCombustionMixture:

Public Types

typedef basicCombustionMixture basicMixtureType
 The base class of the mixture. More...
 
- Public Types inherited from basicMixture
typedef basicMixture basicMixtureType
 The base class of the mixture. More...
 

Public Member Functions

 TypeName ("basicCombustionMixture")
 Run time type information. More...
 
 basicCombustionMixture (const dictionary &, const wordList &specieNames, const fvMesh &, const word &)
 Construct from dictionary, specie names, mesh and phase name. More...
 
virtual ~basicCombustionMixture ()
 Destructor. More...
 
bool contains (const word &specieName) const
 Does the mixture include this specie? More...
 
volScalarFieldY (const word &specieName)
 Return the mass-fraction field for a specie given by name. More...
 
const volScalarFieldY (const word &specieName) const
 Return the const mass-fraction field for a specie given by name. More...
 
scalar fres (const scalar ft, const scalar stoicRatio) const
 
tmp< volScalarFieldfres (const volScalarField &ft, const dimensionedScalar &stoicRatio) const
 
- Public Member Functions inherited from basicMixture
 basicMixture (const dictionary &, const fvMesh &, const word &)
 Construct from dictionary, mesh and phase name. More...
 

Protected Attributes

speciesTable species_
 Table of specie names. More...
 
PtrList< volScalarFieldY_
 Species mass fractions. More...
 

Detailed Description

Specialisation of the basicMixture for combustion.

Source files

Definition at line 51 of file basicCombustionMixture.H.

Member Typedef Documentation

◆ basicMixtureType

The base class of the mixture.

Definition at line 74 of file basicCombustionMixture.H.

Constructor & Destructor Documentation

◆ basicCombustionMixture()

basicCombustionMixture ( const dictionary thermoDict,
const wordList specieNames,
const fvMesh mesh,
const word phaseName 
)

Construct from dictionary, specie names, mesh and phase name.

Definition at line 38 of file basicCombustionMixture.C.

References IOobject::AUTO_WRITE, forAll, IOobject::groupName(), IOobject::MUST_READ, dimensioned< Type >::name(), basicCombustionMixture::species_, fvMesh::time(), and basicCombustionMixture::Y_.

Here is the call graph for this function:

◆ ~basicCombustionMixture()

virtual ~basicCombustionMixture ( )
inlinevirtual

Destructor.

Definition at line 90 of file basicCombustionMixture.H.

Member Function Documentation

◆ TypeName()

TypeName ( "basicCombustionMixture"  )

Run time type information.

◆ contains()

bool contains ( const word specieName) const
inline

Does the mixture include this specie?

Definition at line 26 of file basicCombustionMixtureI.H.

References hashedWordList::found(), and basicCombustionMixture::species_.

Referenced by laminarFlameSpeed::laminarFlameSpeed(), and XiFluid::XiFluid().

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

◆ Y() [1/2]

Foam::volScalarField & Y ( const word specieName)
inline

Return the mass-fraction field for a specie given by name.

Definition at line 35 of file basicCombustionMixtureI.H.

Referenced by XiFluid::ftSolve(), and XiFluid::XiFluid().

Here is the caller graph for this function:

◆ Y() [2/2]

const Foam::volScalarField & Y ( const word specieName) const
inline

Return the const mass-fraction field for a specie given by name.

Definition at line 44 of file basicCombustionMixtureI.H.

◆ fres() [1/2]

Foam::scalar fres ( const scalar  ft,
const scalar  stoicRatio 
) const
inline

Definition at line 53 of file basicCombustionMixtureI.H.

References Foam::max().

Referenced by veryInhomogeneousMixture< ThermoType >::cellProducts(), and veryInhomogeneousMixture< ThermoType >::patchFaceProducts().

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

◆ fres() [2/2]

Foam::tmp< Foam::volScalarField > fres ( const volScalarField ft,
const dimensionedScalar stoicRatio 
) const
inline

Definition at line 63 of file basicCombustionMixtureI.H.

References Foam::max(), and dimensioned< Type >::value().

Here is the call graph for this function:

Member Data Documentation

◆ species_

speciesTable species_
protected

Table of specie names.

Definition at line 61 of file basicCombustionMixture.H.

Referenced by basicCombustionMixture::basicCombustionMixture(), and basicCombustionMixture::contains().

◆ Y_

PtrList<volScalarField> Y_
protected

Species mass fractions.

Definition at line 64 of file basicCombustionMixture.H.

Referenced by basicCombustionMixture::basicCombustionMixture().


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