30 #include "phasePair.H" 32 #include "surfaceInterpolate.H" 34 #include "BlendedInterfacialModel.H" 62 if (isA<wallFvPatch>(
patches[patchi]))
97 Info<<
"Selecting wallLubricationModel for " 98 << pair <<
": " << modelType <<
endl;
100 auto* ctorPtr = dictionaryConstructorTable(modelType);
107 "wallLubricationModel",
109 *dictionaryConstructorTablePtr_
113 return ctorPtr(
dict, pair);
121 return pair_.dispersed()*Fi();
defineBlendedInterfacialModelTypeNameAndDebug(massTransferModel, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
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.
#define forAll(list, i)
Loop across all elements in list.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
A class for handling words, derived from Foam::string.
Calculate the face-flux of the given field.
virtual tmp< surfaceScalarField > Ff() const
Return face wall lubrication force.
virtual tmp< volVectorField > Fi() const =0
Return phase-intensive wall lubrication force.
errorManip< error > abort(error &err)
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
tmp< volVectorField > zeroGradWalls(tmp< volVectorField >) const
Zero-gradient wall-lubrication force at walls.
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.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
const polyBoundaryMesh & patches
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.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class which provides on-demand creation and caching of wall distance and wall normal fields for use...
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...