diff --git a/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDist.C b/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDist.C index e79ce51ac8..f7d7644037 100644 --- a/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDist.C +++ b/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDist.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation - Copyright (C) 2020 OpenCFD Ltd. + Copyright (C) 2020,2024 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -27,60 +27,137 @@ License \*---------------------------------------------------------------------------*/ #include "nearWallDist.H" -#include "fvMesh.H" #include "cellDistFuncs.H" #include "wallFvPatch.H" -#include "surfaceFields.H" // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // void Foam::nearWallDist::calculate() { - cellDistFuncs wallUtils(mesh_); - - // Get patch ids of walls - labelHashSet wallPatchIDs(wallUtils.getPatchIDs()); - - // Size neighbours array for maximum possible - - DynamicList