30 #include "phasePair.H" 31 #include "surfaceInterpolate.H" 32 #include "BlendedInterfacialModel.H" 52 const bool registerObject
82 Info<<
"Selecting virtualMassModel for " 83 << pair <<
": " << modelType <<
endl;
85 auto* ctorPtr = dictionaryConstructorTable(modelType);
94 *dictionaryConstructorTablePtr_
98 return ctorPtr(
dict, pair,
true);
106 return Cvm()*pair_.continuous().rho();
112 return pair_.dispersed()*Ki();
bool writeData(Ostream &os) const
Pure virtual writeData function.
defineBlendedInterfacialModelTypeNameAndDebug(massTransferModel, 0)
virtualMassModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
virtual tmp< volScalarField > K() const
Return the virtual mass coefficient K.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Ostream & endl(Ostream &os)
Add newline and flush stream.
static const dimensionSet dimK
Coefficient dimensions.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
virtual tmp< surfaceScalarField > Kf() const
Return the virtual mass coefficient Kf.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
const dimensionSet dimDensity
bool good() const noexcept
True if next operation might succeed.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
messageStream Info
Information stream (stdout output on master, null elsewhere)
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
static autoPtr< virtualMassModel > New(const dictionary &dict, const phasePair &pair)
virtual tmp< volScalarField > Ki() const
Return the phase-intensive virtual mass coefficient Ki.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...