43#ifndef basicMultiComponentMixture_H
44#define basicMultiComponentMixture_H
83 TypeName(
"basicMultiComponentMixture");
115 inline bool active(label speciei)
const;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
basicMixture(const dictionary &, const fvMesh &, const word &)
Construct from dictionary, mesh and phase name.
const List< bool > & active() const
Return the bool list of active species.
basicMultiComponentMixture basicMixtureType
The base class of the mixture.
List< bool > active_
List of specie active flags.
void setActive(label speciei)
Set speciei active.
const speciesTable & species() const
Return the table of species.
TypeName("basicMultiComponentMixture")
Run time type information.
void setInactive(label speciei)
Set speciei inactive.
basicMultiComponentMixture(const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
Construct from dictionary, species names, mesh and phase name.
speciesTable species_
Table of specie names.
virtual ~basicMultiComponentMixture()=default
Destructor.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
PtrList< volScalarField > Y_
Species mass fractions.
bool contains(const word &specieName) const
Does the mixture include this specie?
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
const dictionary & thermoDict
List< word > wordList
List of word.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
hashedWordList speciesTable
A table of species as a hashedWordList.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.