diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C index 7ab4b1ef59..5e97a4059e 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C @@ -1116,6 +1116,10 @@ void Foam::autoHexMeshDriver::splitAndMergeBaffles keepPoints_[0] ); + if (debug_) + { + const_cast(mesh_.time())++; + } // Duplicate points on baffles that are on more than one cell // region. This will help snapping pull them to separate surfaces. diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C index dcca9fa93d..7a6c5ffd7a 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C @@ -283,7 +283,7 @@ Foam::label Foam::autoHexMeshDriver::mergePatchFacesUndo if (debug_) { - Pout<< "**Writing merged-faces mesh to time " + Pout<< "Writing merged-faces mesh to time " << mesh_.time().timeName() << nl << endl; mesh_.write(); } @@ -583,7 +583,7 @@ Foam::label Foam::autoHexMeshDriver::mergeEdgesUndo if (debug_) { - Pout<< "**Writing merged-edges mesh to time " + Pout<< "Writing merged-edges mesh to time " << mesh_.time().timeName() << nl << endl; mesh_.write(); } diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverSnap.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverSnap.C index 5b597df7a0..c8b08b22d9 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverSnap.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverSnap.C @@ -1111,6 +1111,7 @@ void Foam::autoHexMeshDriver::smoothDisplacement(motionSmoother& meshMover) if (debug_) { + const_cast(mesh_.time())++; Pout<< "Writing smoothed mesh to time " << mesh_.time().timeName() << endl; mesh_.write();