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()
Defines the attributes of an object for which implicit objectRegistry management is supported,...
bool good() const noexcept
True if next operation might succeed.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
virtual tmp< surfaceScalarField > Kf() const
Return the drag coefficient Kf.
virtual ~dragModel()
Destructor.
static const dimensionSet dimK
Coefficient dimensions.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
virtual tmp< volScalarField > Ki() const
Return the phase-intensive drag coefficient Ki.
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
OBJstream os(runTime.globalPath()/outputName)
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.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define defineBlendedInterfacialModelTypeNameAndDebug(ModelType, DebugSwitch)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.