37 namespace patchDistMethods
54 nCorrectors_(
dict.lookupOrDefault<
label>(
"nCorrectors", 2)),
55 minFaceFraction_(
dict.lookupOrDefault<scalar>(
"minFaceFraction", 1
e-1))
63 const label nCorrectors,
64 const scalar minFaceFraction
68 nCorrectors_(nCorrectors),
69 minFaceFraction_(minFaceFraction)
90 y.correctBoundaryConditions();
116 y.correctBoundaryConditions();
117 n.correctBoundaryConditions();
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Specialisation of patchDist for wall distance calculation.
Fast topological mesh-wave method for calculating the distance to nearest patch for all cells and bou...
meshWave(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs)
Construct from coefficients dictionary, mesh.
virtual bool correct(volScalarField &y)
Correct the given distance-to-patch field.
const dimensionedScalar e
Elementary charge.
label calculateAndCorrect(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance)
Calculate and correct distance data from patches.
defineTypeNameAndDebug(advectionDiffusion, 0)
addToRunTimeSelectionTable(patchDistMethod, advectionDiffusion, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimLength
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.