Go to the documentation of this file.
29 #include "phaseModel.H"
30 #include "phasePair.H"
45 { modelVariable::P,
"pressure" },
61 modelVariableNames_.getOrDefault
68 includeVolChange_(
dict.getOrDefault(
"includeVolChange",
true)),
70 speciesName_(
dict.getOrDefault<
word>(
"species",
"none")),
71 mesh_(pair_.from().mesh())
94 Info<<
"Selecting interfaceCompositionModel for "
95 << pair <<
": " << modelType <<
endl;
97 auto* ctorPtr = dictionaryConstructorTable(modelType);
104 "interfaceCompositionModel",
106 *dictionaryConstructorTablePtr_
110 return ctorPtr(
dict, pair);
130 return modelVariableNames_[modelVariable_];
142 return includeVolChange_;
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A class for handling words, derived from Foam::string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
const phasePair & pair() const
The phase pair.
static const Enum< modelVariable > modelVariableNames_
Selection names for the modelVariable.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const rhoThermo & thermo() const =0
Access const to phase thermo.
const word transferSpecie() const
Return the transferring species name.
word speciesName_
Names of the transferring specie.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
virtual bool includeDivU() const noexcept
bool includeVolChange()
Add volume change in pEq.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & variable() const
Returns the variable on which the model is based.
PtrList< volScalarField > & Y
errorManipArg< error, int > exit(error &err, const int errNo=1)
interfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
const phaseModel & phase2() const
const phaseModel & phase1() const
defineTypeNameAndDebug(combustionModel, 0)