diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C index 7ab4b1ef5947cfd34ae3fd873c420639f465023c..5e97a4059e5b59916c6a6d6af53fa6fb85c2d99a 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<Time&>(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 dcca9fa93d1054b8f261a993d4d935ca33c3dc4c..7a6c5ffd7a06971c05ee63ad9b25a98d60062ad6 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 5b597df7a0ab45f0bea1503d034f595d50eff17f..c8b08b22d90b4c789f164219c20967334c20e5c0 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<Time&>(mesh_.time())++; Pout<< "Writing smoothed mesh to time " << mesh_.time().timeName() << endl; mesh_.write();