Go to the documentation of this file.
43 #ifndef basicMultiComponentMixture_H
44 #define basicMultiComponentMixture_H
83 TypeName(
"basicMultiComponentMixture");
115 inline bool active(label speciei)
const;
A class for handling words, derived from Foam::string.
basicMultiComponentMixture basicMixtureType
The base class of the mixture.
const speciesTable & species() const
Return the table of species.
void setInactive(label speciei)
Set speciei inactive.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
List< bool > active_
List of specie active flags.
const List< bool > & active() const
Return the bool list of active species.
TypeName("basicMultiComponentMixture")
Run time type information.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void setActive(label speciei)
Set speciei active.
Mesh data needed to do the Finite Volume discretisation.
bool contains(const word &specieName) const
Does the mixture include this specie?
PtrList< volScalarField > Y_
Species mass fractions.
speciesTable species_
Table of specie names.
const dictionary & thermoDict
basicMultiComponentMixture(const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
Construct from dictionary, species names, mesh and phase name.
virtual ~basicMultiComponentMixture()=default
Destructor.