Go to the documentation of this file.
30 #include "phasePair.H"
31 #include "surfaceInterpolate.H"
32 #include "BlendedInterfacialModel.H"
52 const bool registerObject
59 IOobject::groupName(typeName, pair.
name()),
60 pair.
phase1().mesh().time().timeName(),
82 Info<<
"Selecting virtualMassModel for "
83 << pair <<
": " << modelType <<
endl;
85 auto* ctorPtr = dictionaryConstructorTable(modelType);
94 *dictionaryConstructorTablePtr_
98 return ctorPtr(
dict, pair,
true);
112 return pair_.dispersed()*Ki();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const dimensionSet dimDensity
virtualMassModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
bool writeData(Ostream &os) const
Pure virtual writeData function.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
bool good() const noexcept
True if next operation might succeed.
virtual tmp< volScalarField > K() const
Return the virtual mass coefficient K.
virtual tmp< volScalarField > Ki() const
Return the phase-intensive virtual mass coefficient Ki.
defineBlendedInterfacialModelTypeNameAndDebug(massTransferModel, 0)
static autoPtr< virtualMassModel > New(const dictionary &dict, const phasePair &pair)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const phasePair & pair_
Phase pair.
messageStream Info
Information stream (stdout output on master, null elsewhere)
virtual tmp< volScalarField > Cvm() const =0
Return the virtual mass coefficient.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
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.
virtual tmp< surfaceScalarField > Kf() const
Return the virtual mass coefficient Kf.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual word name() const
Pair name.
const dimensionedScalar & rho() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const phaseModel & phase1() const
defineTypeNameAndDebug(combustionModel, 0)
virtual const phaseModel & continuous() const
Continuous phase.
static const dimensionSet dimK
Coefficient dimensions.