ENH: snappyHexMesh: added new dictionary entries

This commit is contained in:
mattijs
2012-09-12 09:08:57 +01:00
parent 8aa770b613
commit c76acdd6ff
2 changed files with 14 additions and 8 deletions

View File

@ -47,8 +47,6 @@ Description
#include "snapParameters.H" #include "snapParameters.H"
#include "layerParameters.H" #include "layerParameters.H"
#include "faceSet.H"
#include "motionSmoother.H"
using namespace Foam; using namespace Foam;
@ -430,7 +428,7 @@ int main(int argc, char *argv[])
// Refinement parameters // Refinement parameters
refinementParameters refineParams(refineDict); refinementParameters refineParams(refineDict);
if (!overwrite) if (!overwrite && !debug)
{ {
const_cast<Time&>(mesh.time())++; const_cast<Time&>(mesh.time())++;
} }
@ -467,7 +465,7 @@ int main(int argc, char *argv[])
curvature = refineParams.curvature(); curvature = refineParams.curvature();
} }
if (!overwrite) if (!overwrite && !debug)
{ {
const_cast<Time&>(mesh.time())++; const_cast<Time&>(mesh.time())++;
} }
@ -507,7 +505,7 @@ int main(int argc, char *argv[])
} }
if (!overwrite) if (!overwrite && !debug)
{ {
const_cast<Time&>(mesh.time())++; const_cast<Time&>(mesh.time())++;
} }

View File

@ -233,9 +233,17 @@ snapControls
// before upon reaching a correct mesh. // before upon reaching a correct mesh.
nRelaxIter 5; nRelaxIter 5;
//- Highly experimental and wip: number of feature edge snapping // Feature snapping
// iterations. Leave out altogether to disable.
//nFeatureSnapIter 20; //- Number of feature edge snapping iterations.
// Leave out altogether to disable.
nFeatureSnapIter 10;
//- Detect (geometric) features by sampling the surface (default=false)
implicitFeatureSnap false;
//- Use castellatedMeshControls::features (default = true)
explicitFeatureSnap true;
} }
// Settings for the layer addition. // Settings for the layer addition.