30 #include "phasePair.H" 32 #include "surfaceInterpolate.H" 49 const dictionary&
dict,
63 const dictionary&
dict,
67 const word modelType(
dict.
get<word>(
"type"));
69 Info<<
"Selecting wallLubricationModel for " 70 << pair <<
": " << modelType <<
endl;
72 auto* ctorPtr = dictionaryConstructorTable(modelType);
79 "wallLubricationModel",
81 *dictionaryConstructorTablePtr_
85 return ctorPtr(
dict, pair);
93 return pair_.dispersed()*Fi();
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.
static autoPtr< wallLubricationModel > New(const dictionary &dict, const phasePair &pair)
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual tmp< volVectorField > F() const
Return wall lubrication force.
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...
Calculate the face-flux of the given field.
virtual tmp< surfaceScalarField > Ff() const
Return face wall lubrication force.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
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.
static const dimensionSet dimF
Coefficient dimensions.
wallLubricationModel(const dictionary &dict, const phasePair &pair)
Construct from components.
messageStream Info
Information stream (stdout output on master, null elsewhere)
A class for managing temporary objects.
#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 ...