mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user