28 #include "surfaceInterpolate.H" 46 const dictionary&
dict,
50 wallDependentModel(pair.phase1().
mesh()),
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.
UList< label > labelUList
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static const dimensionSet dimF
Coefficient dimensions.
const Switch zeroInNearWallCells_
Set the value to zero in wall-adjacent cells.
Dimension set for the base types.
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.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
wallDampingModel(const dictionary &dict, const phasePair &pair)
Construct from components.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual tmp< volScalarField > damping() const
Return damped coefficient.
A class for managing temporary objects.