mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
debug printing in autoHexMesh; missing entry in createPatchDict
This commit is contained in:
@ -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())++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user