30 #include "phasePair.H" 33 #include "surfaceInterpolate.H" 50 const dictionary&
dict,
63 const dictionary&
dict,
67 const word modelType(
dict.
get<word>(
"type"));
69 Info<<
"Selecting liftModel for " 70 << pair <<
": " << modelType <<
endl;
72 auto* ctorPtr = dictionaryConstructorTable(modelType);
81 *dictionaryConstructorTablePtr_
85 return ctorPtr(
dict, pair);
95 *pair_.continuous().rho()
97 pair_.Ur() ^
fvc::curl(pair_.continuous().U())
104 return pair_.dispersed()*Fi();
static const dimensionSet dimF
Force dimensions.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
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.
tmp< GeometricField< Type, fvPatchField, volMesh > > curl(const GeometricField< Type, fvPatchField, volMesh > &vf)
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Calculate the curl of the given volField by constructing the Hodge-dual of the symmetric part of the ...
Calculate the face-flux of the given field.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< volVectorField > F() const
Return lift force.
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.
liftModel(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
messageStream Info
Information stream (stdout output on master, null elsewhere)
virtual tmp< volVectorField > Fi() const
Return phase-intensive lift force.
virtual tmp< surfaceScalarField > Ff() const
Return face lift force.
A class for managing temporary objects.
static autoPtr< liftModel > New(const dictionary &dict, const phasePair &pair)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...