Skip to content
Snippets Groups Projects
Commit 6c6ac0ef authored by sergio's avatar sergio
Browse files

ENH: Adding region option

parent 11813d44
Branches
Tags
No related merge requests found
......@@ -156,6 +156,7 @@ int main(int argc, char *argv[])
);
#include "addOverwriteOption.H"
#include "addRegionOption.H"
argList::validArgs.append("cellSet");
argList::addOption
(
......@@ -167,7 +168,12 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
runTime.functionObjects().off();
#include "createMesh.H"
Foam::word meshRegionName = polyMesh::defaultRegion;
args.optionReadIfPresent("region", meshRegionName);
#include "createNamedMesh.H"
const word oldInstance = mesh.pointsInstance();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment