38 namespace patchDistMethods
64 const label nCorrectors,
65 const scalar minFaceFraction
69 nCorrectors_(nCorrectors),
70 minFaceFraction_(minFaceFraction)
106 fvPatchDistWave::calculateAndCorrect<FvWallInfoVector>
117 y.correctBoundaryConditions();
A list of keyword definitions, which are a keyword followed by any number of values (e...
addToRunTimeSelectionTable(patchDistMethod, advectionDiffusion, dictionary)
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.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
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.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(advectionDiffusion, 0)
void correctBoundaryConditions()
Correct boundary field.
const doubleScalar e
Elementary charge.
Specialisation of patchDist for wall distance calculation.