Commit c3474e52 authored by mattijs's avatar mattijs
Browse files

debug printing in autoHexMesh; missing entry in createPatchDict

parent faf3d795
......@@ -22,6 +22,10 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Tolerance used in matching faces. Absolute tolerance is span of
// face times this factor.
matchTolerance 1E-3;
patches
(
{
......
......@@ -1492,7 +1492,8 @@ void Foam::autoHexMeshDriver::doMesh()
// Pre-smooth patch vertices (so before determining nearest)
preSmoothPatch(nInitErrors, baffles, meshMover);
// Calculate displacement at every patch point. Insert into meshMover.
// Calculate displacement at every patch point. Insert into
// meshMover.
calcNearestSurface(snapDist, meshMover);
// Get smoothly varying internal displacement field.
......
......@@ -890,6 +890,7 @@ void Foam::autoHexMeshDriver::preSmoothPatch
if (debug_)
{
const_cast<Time&>(mesh_.time())++;
Pout<< "Writing patch smoothed mesh to time " << mesh_.time().timeName()
<< endl;
mesh_.write();
......@@ -1171,6 +1172,7 @@ void Foam::autoHexMeshDriver::scaleMesh
}
if (debug_)
{
const_cast<Time&>(mesh_.time())++;
Pout<< "Writing scaled mesh to time " << mesh_.time().timeName()
<< endl;
mesh_.write();
......@@ -1179,8 +1181,6 @@ void Foam::autoHexMeshDriver::scaleMesh
meshMover.displacement().write();
tmp<pointScalarField> magDisp(mag(meshMover.displacement()));
magDisp().write();
const_cast<Time&>(mesh_.time())++;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment