ENH: Utilities - add -region option when creating meshes

This commit is contained in:
Andrew Heather
2018-01-16 12:10:20 +00:00
parent 66ba2dd674
commit 853b9abb79
21 changed files with 21 additions and 21 deletions

View File

@ -625,7 +625,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
runTime.functionObjects().off();
#include "createMesh.H"
#include "createNamedMesh.H"
// Read control dictionary
// ~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -91,7 +91,7 @@ int main(int argc, char *argv[])
runTime.functionObjects().off();
instantList timeDirs = timeSelector::selectIfPresent(runTime, args);
#include "createMesh.H"
#include "createNamedMesh.H"
const word oldInstance = mesh.pointsInstance();

View File

@ -59,7 +59,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
runTime.functionObjects().off();
#include "createMesh.H"
#include "createNamedMesh.H"
const word oldInstance = mesh.pointsInstance();
const word setName = args[1];

View File

@ -202,7 +202,7 @@ int main(int argc, char *argv[])
else
{
// convert fields with or without converting mesh
#include "createMesh.H"
#include "createNamedMesh.H"
// #include "checkHasMovingMesh.H"
// #include "checkHasLagrangian.H"

View File

@ -380,7 +380,7 @@ int main(int argc, char *argv[])
sourceCaseDir
);
#include "createMesh.H"
#include "createNamedMesh.H"
const polyBoundaryMesh& patches = mesh.boundaryMesh();

View File

@ -514,7 +514,7 @@ int main(int argc, char *argv[])
// Distribute the initial mesh
if (Pstream::parRun())
{
#include "createMesh.H"
#include "createNamedMesh.H"
Info<< "Loaded mesh:" << endl;
printMeshData(mesh);

View File

@ -51,7 +51,7 @@ int main(int argc, char *argv[])
const scalar scaleFactor = args.read<scalar>(1);
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
volPointInterpolation pInterp(mesh);

View File

@ -46,7 +46,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
autoPtr<motionSolver> motionPtr = motionSolver::New(mesh);

View File

@ -383,7 +383,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
const word oldInstance = mesh.pointsInstance();

View File

@ -118,7 +118,7 @@ int main(int argc, char *argv[])
instantList timeDirs = timeSelector::select0(runTime, args);
#include "createMesh.H"
#include "createNamedMesh.H"
forAll(timeDirs, timeI)
{

View File

@ -49,7 +49,7 @@ int main(int argc, char *argv[])
instantList timeDirs = timeSelector::select0(runTime, args);
#include "createMesh.H"
#include "createNamedMesh.H"
// make a directory called proInterface in the case
mkDir(runTime.rootPath()/runTime.caseName()/"fluentInterface");

View File

@ -60,7 +60,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
#include "readConversionProperties.H"

View File

@ -154,7 +154,7 @@ int main(int argc, char *argv[])
// Read the mesh
#include "createMesh.H"
#include "createNamedMesh.H"
// Read the tetDualMesh
Info<< "Create tetDualMesh for time = "

View File

@ -67,7 +67,7 @@ int main(int argc, char *argv[])
if (fieldNameDict.found("epsilon")) nameMap.add("ED", word("epsilon"));
if (fieldNameDict.found("nuEff")) nameMap.add("VIS", word("nuEff"));
#include "createMesh.H"
#include "createNamedMesh.H"
IFstream smapFile(args[1]);

View File

@ -57,7 +57,7 @@ int main(int argc, char *argv[])
// Get times list
instantList timeDirs = timeSelector::select0(runTime, args);
#include "createMesh.H"
#include "createNamedMesh.H"
#include "readTransportProperties.H"
const word& gFormat = runTime.graphFormat();

View File

@ -49,7 +49,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
#include "createFields.H"
#include "readBoxTurbDict.H"

View File

@ -42,7 +42,7 @@ int main(int argc, char *argv[])
{
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -42,7 +42,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
#include "createFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -41,7 +41,7 @@ int main(int argc, char *argv[])
{
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
IOdictionary mdInitialiseDict
(

View File

@ -77,7 +77,7 @@ int main(int argc, char *argv[])
{
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
Info<< "Reading setAlphaFieldDict\n" << endl;

View File

@ -41,7 +41,7 @@ int main(int argc, char *argv[])
{
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
IOdictionary dict
(