diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C index d6556a95083f401061c99db53c78fdc4f74b9f3e..1f36aa1ab8c4fa7968d0a7a3f81656badbc98b0a 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriverShrink.C @@ -1287,7 +1287,7 @@ void Foam::autoLayerDriver::shrinkMeshMedialDistance + ".obj" ) ); - Info<< "Writing points with too large a extrusion distance to " + Info<< "Writing points with too large an extrusion distance to " << str().name() << endl; } @@ -1304,7 +1304,7 @@ void Foam::autoLayerDriver::shrinkMeshMedialDistance + ".obj" ) ); - Info<< "Writing points with too large a extrusion distance to " + Info<< "Writing points with too large an extrusion distance to " << medialVecStr().name() << endl; } diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C index b7b79d715e3e71cd3ca2656d511ff86b46ac3282..f7b2e7fafd718d9e1127d1fee8219f1e0000c154 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -1360,6 +1360,19 @@ void Foam::autoSnapDriver::doSnap regionSide ); meshRefinement::updateList(mapPtr().faceMap(), -1, filterFace); + + if (debug&meshRefinement::MESH) + { + const_cast<Time&>(mesh.time())++; + Pout<< "Writing duplicatedPoints mesh to time " + << meshRefiner_.timeName() + << endl; + meshRefiner_.write + ( + debug, mesh.time().path() + /"duplicatedPoints" + ); + } }