30 #include "phasePair.H" 31 #include "swarmCorrection.H" 32 #include "surfaceInterpolate.H" 33 #include "BlendedInterfacialModel.H" 52 const bool registerObject
75 const bool registerObject
95 dict.subDict(
"swarmCorrection"),
113 Info<<
"Selecting dragModel for " 114 << pair <<
": " << modelType <<
endl;
116 auto* ctorPtr = dictionaryConstructorTable(modelType);
125 *dictionaryConstructorTablePtr_
129 return ctorPtr(
dict, pair,
true);
146 *swarmCorrection_->Cs()
147 *pair_.continuous().rho()
148 *pair_.continuous().nu()
149 /
sqr(pair_.dispersed().d());
155 return max(pair_.dispersed(), pair_.dispersed().residualAlpha())*Ki();
165 pair_.dispersed().residualAlpha()
defineBlendedInterfacialModelTypeNameAndDebug(massTransferModel, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
static const dimensionSet dimK
Coefficient dimensions.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
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 expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
dragModel(const phasePair &pair, const bool registerObject)
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.
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)
virtual ~dragModel()
Destructor.
virtual tmp< surfaceScalarField > Kf() const
Return the drag coefficient Kf.
A class for managing temporary objects.
static autoPtr< dragModel > New(const dictionary &dict, const phasePair &pair)
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...
virtual tmp< volScalarField > Ki() const
Return the phase-intensive drag coefficient Ki.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...