combustion mixture More...
#include <reactionThermophysicalModels/basicMultiComponentMixture.H>
combustion mixture
Definition at line 51 of file basicMultiComponentMixture.H.
Public Member Functions | |
basicMultiComponentMixture (const dictionary &, const wordList &specieNames, const fvMesh &) | |
Construct from dictionary and mesh.
| |
virtual | ~basicMultiComponentMixture () |
Destructor.
| |
const speciesTable & | species () const |
Return the table of species.
| |
PtrList< volScalarField > & | Y () |
Return the mass-fraction fields.
| |
const PtrList< volScalarField > & | Y () const |
Return the const mass-fraction fields.
| |
volScalarField & | Y (const label i) |
Return the mass-fraction field for a specie given by index.
| |
const volScalarField & | Y (const label i) const |
Return the const mass-fraction field for a specie given by index.
| |
volScalarField & | Y (const word &specieName) |
Return the mass-fraction field for a specie given by name.
| |
const volScalarField & | Y (const word &specieName) const |
Return the const mass-fraction field for a specie given by name.
| |
bool | contains (const word &specieName) const |
Does the mixture include this specie?
| |
scalar | fres (const scalar ft, const scalar stoicRatio) const |
tmp< volScalarField > | fres (const volScalarField &ft, const dimensionedScalar &stoicRatio) const |
Protected Attributes | |
speciesTable | species_ |
Table of specie names.
| |
PtrList< volScalarField > | Y_ |
Species mass fractions.
|
basicMultiComponentMixture | ( | const dictionary & | thermoDict, |
const wordList & | specieNames, | ||
const fvMesh & | mesh | ||
) |
Construct from dictionary and mesh.
Definition at line 31 of file basicMultiComponentMixture.C.
References forAll, mesh, fvMesh::time(), and Time::timeName().
virtual ~basicMultiComponentMixture | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 79 of file basicMultiComponentMixture.H.
const speciesTable& species | ( | ) | const [inline]
|
Return the table of species.
Definition at line 86 of file basicMultiComponentMixture.H.
References basicMultiComponentMixture::species_.
Foam::PtrList< Foam::volScalarField > & Y | ( | ) | [inline]
|
Return the mass-fraction fields.
Definition at line 27 of file basicMultiComponentMixtureI.H.
References basicMultiComponentMixture::Y_.
Referenced by parcel::move().
const Foam::PtrList< Foam::volScalarField > & Y | ( | ) | const [inline]
|
Return the const mass-fraction fields.
Definition at line 34 of file basicMultiComponentMixtureI.H.
Foam::volScalarField & Y | ( | const label | i ) | [inline]
|
Return the mass-fraction field for a specie given by index.
Definition at line 40 of file basicMultiComponentMixtureI.H.
const Foam::volScalarField & Y | ( | const label | i ) | const [inline]
|
Return the const mass-fraction field for a specie given by index.
Definition at line 47 of file basicMultiComponentMixtureI.H.
Foam::volScalarField & Y | ( | const word & | specieName ) | [inline]
|
Return the mass-fraction field for a specie given by name.
Definition at line 56 of file basicMultiComponentMixtureI.H.
const Foam::volScalarField & Y | ( | const word & | specieName ) | const [inline]
|
Return the const mass-fraction field for a specie given by name.
Definition at line 65 of file basicMultiComponentMixtureI.H.
bool contains | ( | const word & | specieName ) | const [inline]
|
Does the mixture include this specie?
Definition at line 74 of file basicMultiComponentMixtureI.H.
Foam::scalar fres | ( | const scalar | ft, |
const scalar | stoicRatio | ||
) | const [inline]
|
Definition at line 83 of file basicMultiComponentMixtureI.H.
References Foam::max().
Referenced by veryInhomogeneousMixture< ThermoType >::cellProducts(), dieselMixture< ThermoType >::cellProducts(), veryInhomogeneousMixture< ThermoType >::patchFaceProducts(), and dieselMixture< ThermoType >::patchFaceProducts().
Foam::tmp< Foam::volScalarField > fres | ( | const volScalarField & | ft, |
const dimensionedScalar & | stoicRatio | ||
) | const [inline]
|
Definition at line 93 of file basicMultiComponentMixtureI.H.
References Foam::max(), and dimensioned< Type >::value().
speciesTable species_ [protected]
|
Table of specie names.
Definition at line 59 of file basicMultiComponentMixture.H.
Referenced by basicMultiComponentMixture::species().
PtrList<volScalarField> Y_ [protected]
|
Species mass fractions.
Definition at line 62 of file basicMultiComponentMixture.H.
Referenced by basicMultiComponentMixture::Y().