From d2d6514245363eaa9b3ee2b797cad19895b0f9f3 Mon Sep 17 00:00:00 2001 From: laurence Date: Mon, 2 Sep 2013 10:54:39 +0100 Subject: [PATCH] BUG: foamyHexMesh: With surfaces of same priority do not overwrite cell size --- .../controlMeshRefinement.C | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/cellShapeControl/controlMeshRefinement/controlMeshRefinement.C b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/cellShapeControl/controlMeshRefinement/controlMeshRefinement.C index b100d8eebb..8d954799a1 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/cellShapeControl/controlMeshRefinement/controlMeshRefinement.C +++ b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/cellShapeControl/controlMeshRefinement/controlMeshRefinement.C @@ -295,14 +295,14 @@ void Foam::controlMeshRefinement::initialMeshPopulation shapeController_.minimumCellSize() ); } - else if (maxPriority == controlFunction.maxPriority()) - { - vertices[vI].targetCellSize() = max - ( - min(sizes[vI], size), - shapeController_.minimumCellSize() - ); - } +// else if (maxPriority == controlFunction.maxPriority()) +// { +// vertices[vI].targetCellSize() = max +// ( +// min(sizes[vI], size), +// shapeController_.minimumCellSize() +// ); +// } else { vertices[vI].targetCellSize() = max