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
|
patches
|
||||||
(
|
(
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1492,7 +1492,8 @@ void Foam::autoHexMeshDriver::doMesh()
|
|||||||
// Pre-smooth patch vertices (so before determining nearest)
|
// Pre-smooth patch vertices (so before determining nearest)
|
||||||
preSmoothPatch(nInitErrors, baffles, meshMover);
|
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);
|
calcNearestSurface(snapDist, meshMover);
|
||||||
|
|
||||||
// Get smoothly varying internal displacement field.
|
// Get smoothly varying internal displacement field.
|
||||||
|
|||||||
@ -890,6 +890,7 @@ void Foam::autoHexMeshDriver::preSmoothPatch
|
|||||||
|
|
||||||
if (debug_)
|
if (debug_)
|
||||||
{
|
{
|
||||||
|
const_cast<Time&>(mesh_.time())++;
|
||||||
Pout<< "Writing patch smoothed mesh to time " << mesh_.time().timeName()
|
Pout<< "Writing patch smoothed mesh to time " << mesh_.time().timeName()
|
||||||
<< endl;
|
<< endl;
|
||||||
mesh_.write();
|
mesh_.write();
|
||||||
@ -1171,6 +1172,7 @@ void Foam::autoHexMeshDriver::scaleMesh
|
|||||||
}
|
}
|
||||||
if (debug_)
|
if (debug_)
|
||||||
{
|
{
|
||||||
|
const_cast<Time&>(mesh_.time())++;
|
||||||
Pout<< "Writing scaled mesh to time " << mesh_.time().timeName()
|
Pout<< "Writing scaled mesh to time " << mesh_.time().timeName()
|
||||||
<< endl;
|
<< endl;
|
||||||
mesh_.write();
|
mesh_.write();
|
||||||
@ -1179,8 +1181,6 @@ void Foam::autoHexMeshDriver::scaleMesh
|
|||||||
meshMover.displacement().write();
|
meshMover.displacement().write();
|
||||||
tmp<pointScalarField> magDisp(mag(meshMover.displacement()));
|
tmp<pointScalarField> magDisp(mag(meshMover.displacement()));
|
||||||
magDisp().write();
|
magDisp().write();
|
||||||
|
|
||||||
const_cast<Time&>(mesh_.time())++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user