Permalink
Browse files

BUG: autoLayerDriverShrink: update extrusion for any changes

  • Loading branch information...
1 parent de075be commit 121734afd2018b40d46b189fee3a7c478a5fe201 mattijs committed Oct 25, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C
@@ -1056,6 +1056,15 @@ void Foam::autoLayerDriver::shrinkMeshMedialDistance
patchNLayers
);
+ // Update thickess for changed extrusion
+ forAll(thickness, patchPointI)
+ {
+ if (extrudeStatus[patchPointI] == NOEXTRUDE)
+ {
+ thickness[patchPointI] = 0.0;
+ }
+ }
+
// smooth layer thickness on moving patch
smoothField
(
@@ -1151,6 +1160,9 @@ void Foam::autoLayerDriver::shrinkMeshMedialDistance
debug,
mesh.time().path()/meshRefiner_.timeName()
);
+ dispVec.write();
+ medialDist.write();
+ medialRatio.write();
meshMover.movePoints(oldPoints);
}

0 comments on commit 121734a

Please sign in to comment.