ENH: use topological merge as default for blockMesh (closes #1589)

- faster and fewer issues with high aspect ratio cells.

- `blockMesh -merge-geometric` for old behaviour
This commit is contained in:
Mark Olesen
2020-05-04 16:19:03 +02:00
parent 8d29896fca
commit 8756791b00
7 changed files with 79 additions and 27 deletions

View File

@ -111,6 +111,9 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
// Remove old files, unless disabled
const bool removeOldFiles = !args.found("noClean");
// Instance for resulting mesh
bool useTime = false;
word meshInstance(runTime.constant());
@ -159,7 +162,7 @@ int main(int argc, char *argv[])
runTime.setTime(instant(meshInstance), 0);
}
if (!args.found("noClean"))
if (removeOldFiles)
{
const fileName polyMeshPath
(