Commit 3ae1a695 authored by Franjo's avatar Franjo

Minro changes to reduce smoothing time.

parent 025222fa
......@@ -330,9 +330,6 @@ void meshOptimizer::optimizeBoundaryLayer()
//- optimize mesh quality
optimizeMeshFV(5, 1, 50, 0);
//- get rid of bad quality faces
optimizeLowQualityFaces(10);
//- untangle remaining faces and lock the boundary layer cells
untangleMeshFV(2, 50, 0);
......@@ -504,7 +501,7 @@ void meshOptimizer::optimizeMeshNearBoundaries
Info << "Iteration:" << flush;
do
{
tmo.optimiseUsingVolumeOptimizer(5);
tmo.optimiseUsingVolumeOptimizer(1);
tetMesh.updateOrigMesh(&changedFace);
......@@ -599,7 +596,7 @@ void meshOptimizer::optimizeMeshFVBestQuality
//- update points in the mesh from the new coordinates in the tet mesh
tetMesh.updateOrigMesh(&changedFace);
} while( ++nIter < maxNumIterations );
} while( (nIter < minIter+5) && (++nIter < maxNumIterations) );
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
Markdown is supported
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