32#include "surfaceInterpolate.H"
34#include "BlendedInterfacialModel.H"
97 Info<<
"Selecting wallLubricationModel for "
98 << pair <<
": " << modelType <<
endl;
100 auto* ctorPtr = dictionaryConstructorTable(modelType);
107 "wallLubricationModel",
109 *dictionaryConstructorTablePtr_
113 return ctorPtr(
dict, pair);
GeometricBoundaryField< vector, fvPatchField, volMesh > Boundary
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,...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for managing temporary objects.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
A class which provides on-demand creation and caching of wall distance and wall normal fields for use...
virtual tmp< surfaceScalarField > Ff() const
Return face wall lubrication force.
virtual tmp< volVectorField > F() const
Return wall lubrication force.
static autoPtr< wallLubricationModel > New(const dictionary &dict, const phasePair &pair)
virtual tmp< volVectorField > Fi() const =0
Return phase-intensive wall lubrication force.
wallLubricationModel(const dictionary &dict, const phasePair &pair)
Construct from components.
const phasePair & pair_
Phase pair.
tmp< volVectorField > zeroGradWalls(tmp< volVectorField >) const
Zero-gradient wall-lubrication force at walls.
static const dimensionSet dimF
Coefficient dimensions.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const polyBoundaryMesh & patches
#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.
GeometricField< vector, fvPatchField, volMesh > volVectorField
PtrList< fvPatch > fvPatchList
Store lists of fvPatch as a PtrList.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
errorManip< error > abort(error &err)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
fvPatchField< vector > fvPatchVectorField
#define defineBlendedInterfacialModelTypeNameAndDebug(ModelType, DebugSwitch)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAll(list, i)
Loop across all elements in list.