26 #include "reactionDriven.H" 35 namespace phaseTransferModels
47 const dictionary&
dict,
51 phaseTransferModel(dict, pair),
52 reactingName_(dict.
lookup(
"reactingPhase")),
55 reactingName_ == pair_.first() ? pair_.phase1() : pair_.phase2()
59 pair.otherPhase(reactingPhase_)
63 reactingName_ == pair_.first() ? -1 : 1
65 species_(dict.
lookup(
"species"))
87 HashPtrTable<volScalarField> result;
91 const word name = species_[i];
99 (sign_*reactingPhase_*reactingPhase_.R(Y) &
Y).ptr()
#define forAll(list, i)
Loop across all elements in list.
A HashTable specialisation for hashing pointers.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual const hashedWordList & species() const
The list of individual species that are transferred.
reactionDriven(const dictionary &dict, const phasePair &pair)
Construct from components.
virtual HashPtrTable< volScalarField > dmidtf() const
The mass transfer rate for individual species.
A wordList with hashed indices for faster lookup by name.
PtrList< volScalarField > & Y
virtual ~reactionDriven()
Destructor.