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();
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.
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...
A class for managing temporary objects.
virtual tmp< surfaceScalarField > Ff() const
Return face wall lubrication force.
virtual tmp< volVectorField > F() const
Return wall lubrication force.
static const dimensionSet dimF
Coefficient dimensions.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
Calculate the face-flux of the given field.
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.
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.