34 namespace ubMixtureMaps
61 fu_ = bSpecies[bDict.
lookup<
word>(
"fuelSpecie")];
64 ox_.setSize(oxidantSpecies.size());
69 const word specieName(iter().keyword());
70 const scalar massFraction(iter().stream()[0].scalarToken());
72 ox_[i++] = {bSpecies[specieName], massFraction};
76 pr_.setSize(productSpecies.size());
81 const word specieName(iter().keyword());
82 const scalar massFraction(iter().stream()[0].scalarToken());
84 pr_[i++] = {bSpecies[specieName], massFraction};
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > New(const word &name, const GeoMesh &mesh, const dimensionSet &, const PrimitiveField< Type > &)
Return a temporary field constructed from name, mesh,.
const GeoMesh & mesh() const
Return mesh.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
label size() const
Return the number of elements in the UPtrList.
Base-class for combustion fluid thermodynamic properties based on compressibility.
virtual const IOdictionary & properties() const =0
Properties dictionary.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
A wordList with hashed indices for faster lookup by name.
virtual const speciesTable & species() const =0
Return the table of species.
Unburnt gas combustion mixture for inhomogeneous lean, stoichiometric or rich conditions.
scalar stoicRatio() const
Return the stoichiometric air/fuel ratio.
Base-class for combustion fluid thermodynamic properties based on compressibility.
Base class for unburnt/burnt gas composition mapping.
virtual ~uInhomogeneousbMulticomponent()
Destructor.
uInhomogeneousbMulticomponent(const uRhoMulticomponentThermo &uThermo, const bRhoMulticomponentThermo &bThermo)
Construct from components.
virtual PtrList< volScalarField::Internal > prompt(const PtrList< volScalarField > &Yu) const
Return the burnt gas prompt specie mass fractions.
A class for handling words, derived from string.
defineTypeNameAndDebug(uHomogeneousbHomogeneous, 0)
addToRunTimeSelectionTable(ubMixtureMap, uHomogeneousbHomogeneous, thermo)
const dimensionSet & dimless
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelList second(const UList< labelPair > &p)
labelList first(const UList< labelPair > &p)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
fluidMulticomponentThermo & thermo