diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C index 164da09c5ba883db5d31735b984da0db95173908..ca38821229caa997605a8acaa28e8b171679e7c4 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C @@ -3262,6 +3262,9 @@ void Foam::autoLayerDriver::addLayers // Apply the stored topo changes to the current mesh. autoPtr<mapPolyMesh> map = savedMeshMod.changeMesh(mesh, false); + // Hack to remove meshPhi - mapped incorrectly. TBD. + mesh.clearOut(); + // Update fields mesh.updateMesh(map);