Multi-component mixture. More...
Public Types | |
typedef basicMultiComponentMixture | basicMixtureType |
The base class of the mixture. More... | |
Public Member Functions | |
TypeName ("basicMultiComponentMixture") | |
Run time type information. More... | |
basicMultiComponentMixture (const dictionary &, const wordList &specieNames, const fvMesh &, const word &) | |
Construct from dictionary, species names, mesh and phase name. More... | |
virtual | ~basicMultiComponentMixture () |
Destructor. More... | |
const speciesTable & | species () const |
Return the table of species. More... | |
PtrList< volScalarField > & | Y () |
Return the mass-fraction fields. More... | |
const PtrList< volScalarField > & | Y () const |
Return the const mass-fraction fields. More... | |
volScalarField & | Y (const label i) |
Return the mass-fraction field for a specie given by index. More... | |
const volScalarField & | Y (const label i) const |
Return the const mass-fraction field for a specie given by index. More... | |
volScalarField & | Y (const word &specieName) |
Return the mass-fraction field for a specie given by name. More... | |
const volScalarField & | Y (const word &specieName) const |
Return the const mass-fraction field for a specie given by name. More... | |
bool | contains (const word &specieName) const |
Does the mixture include this specie? More... | |
Protected Attributes | |
speciesTable | species_ |
Table of specie names. More... | |
PtrList< volScalarField > | Y_ |
Species mass fractions. More... | |
Multi-component mixture.
Provides a list of mass fraction fields and helper functions to query mixture composition.
Definition at line 54 of file basicMultiComponentMixture.H.
The base class of the mixture.
Definition at line 75 of file basicMultiComponentMixture.H.
basicMultiComponentMixture | ( | const dictionary & | thermoDict, |
const wordList & | specieNames, | ||
const fvMesh & | mesh, | ||
const word & | phaseName | ||
) |
Construct from dictionary, species names, mesh and phase name.
Definition at line 39 of file basicMultiComponentMixture.C.
References forAll, IOobject::headerOk(), and mesh.
|
inlinevirtual |
Destructor.
Definition at line 91 of file basicMultiComponentMixture.H.
TypeName | ( | "basicMultiComponentMixture" | ) |
Run time type information.
|
inline |
Return the table of species.
Definition at line 27 of file basicMultiComponentMixtureI.H.
References basicMultiComponentMixture::species_.
Referenced by ReactingParcel::calc(), and SLGThermo::SLGThermo().
|
inline |
Return the mass-fraction fields.
Definition at line 34 of file basicMultiComponentMixtureI.H.
Referenced by basicSpecieMixture::W().
|
inline |
Return the const mass-fraction fields.
|
inline |
Return the mass-fraction field for a specie given by index.
Definition at line 47 of file basicMultiComponentMixtureI.H.
|
inline |
Return the const mass-fraction field for a specie given by index.
Definition at line 54 of file basicMultiComponentMixtureI.H.
|
inline |
Return the mass-fraction field for a specie given by name.
Definition at line 63 of file basicMultiComponentMixtureI.H.
|
inline |
Return the const mass-fraction field for a specie given by name.
Definition at line 72 of file basicMultiComponentMixtureI.H.
|
inline |
Does the mixture include this specie?
Definition at line 81 of file basicMultiComponentMixtureI.H.
|
protected |
Table of specie names.
Definition at line 62 of file basicMultiComponentMixture.H.
Referenced by basicMultiComponentMixture::species().
|
protected |
Species mass fractions.
Definition at line 65 of file basicMultiComponentMixture.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.