43 #ifndef basicMultiComponentMixture_H 44 #define basicMultiComponentMixture_H 83 TypeName(
"basicMultiComponentMixture");
115 inline bool active(label speciei)
const;
PtrList< volScalarField > Y_
Species mass fractions.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
basicMultiComponentMixture basicMixtureType
The base class of the mixture.
const speciesTable & species() const
Return the table of species.
TypeName("basicMultiComponentMixture")
Run time type information.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
List< bool > active_
List of specie active flags.
void setInactive(label speciei)
Set speciei inactive.
speciesTable species_
Table of specie names.
A class for handling words, derived from Foam::string.
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.
void setActive(label speciei)
Set speciei active.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
const List< bool > & active() const
Return the bool list of active species.
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...
Mesh data needed to do the Finite Volume discretisation.
bool contains(const word &specieName) const
Does the mixture include this specie?