27 #include "surfaceInterpolate.H" 43 const dictionary&
dict,
44 const phaseInterface& interface
47 wallDependentModel(interface.
mesh()),
50 interface.modelCast<wallDampingModel, dispersedPhaseInterface>()
65 dict.lookupOrDefault<Switch>(
"zeroInNearWallCells", false)
81 tmp<volScalarField> tlimiter(
limiter().ptr());
87 const fvBoundaryMesh& bMesh = limiter.
mesh().boundary();
91 if (isA<wallFvPatch>(bMesh[
patchi]))
97 limiter[faceCells[facei]] = 0;
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< surfaceScalarField > dampingf() const
Return damped face coefficient.
const dimensionSet dimless
wallDampingModel(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
UList< label > labelUList
const dimensionSet dimLength
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const Switch zeroInNearWallCells_
Set the value to zero in wall-adjacent cells.
virtual ~wallDampingModel()
Destructor.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
const Mesh & mesh() const
Return mesh.
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< volScalarField > limiter() const
Return the force limiter 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.
Internal & ref()
Return a reference to the dimensioned internal field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual tmp< volScalarField > damping() const
Return damped coefficient.
A class for managing temporary objects.