34 namespace phaseTransferModels
51 interface_(interface),
52 reactingName_(
dict.lookup(
"reactingPhase")),
55 reactingName_ == interface_.phase1().
name()
59 otherPhase_(interface.otherPhase(reactingPhase_)),
60 sign_(reactingName_ == interface_.phase1().
name() ? -1 : 1),
61 species_(
dict.lookup(
"species"))
95 (sign_*reactingPhase_*reactingPhase_.R(
Y) &
Y).ptr()
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
A HashTable specialisation for hashing pointers.
bool set(const Key &, const T &newElmt)
Assign a new hashedEntry, overwriting existing entries.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A wordList with hashed indices for faster lookup by name.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
Phase transfer model representing change from one phase to another due to reactions....
reactionDriven(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
virtual ~reactionDriven()
Destructor.
virtual HashPtrTable< volScalarField > dmidtf() const
The mass transfer rate for individual species.
virtual const hashedWordList & species() const
The list of individual species that are transferred.
A class for handling words, derived from string.
defineTypeNameAndDebug(cavitation, 0)
addToRunTimeSelectionTable(phaseTransferModel, cavitation, dictionary)
word name(const complex &)
Return a string representation of a complex.
PtrList< volScalarField > & Y