42 #define CREATE_MESH createMesh.H
46 #define CREATE_FIELDS createFields.H
49 #ifndef CREATE_CONTROL
50 #define CREATE_CONTROL createControl.H
55 #define INCLUDE_FILE(X) INCLUDE_FILE2(X)
56 #define INCLUDE_FILE2(X) #X
62 argList::postProcessOptionName,
63 "Execute functionObjects only"
66 if (argList::postProcess(argc, argv))
73 functionObject::postProcess =
true;
80 <<
"Available configured functionObjects:"
83 functionEntries::includeFuncEntry::functionObjectDictPath
92 #include INCLUDE_FILE(CREATE_MESH)
95 #include INCLUDE_FILE(CREATE_CONTROL)
100 runTime.setTime(
timeDirs[timei], timei);
102 Info<<
"Time = " << runTime.userTimeName() <<
endl;
110 #include INCLUDE_FILE(CREATE_FIELDS)
112 #ifdef CREATE_FIELDS_2
113 #include INCLUDE_FILE(CREATE_FIELDS_2)
116 #ifdef CREATE_FIELDS_3
117 #include INCLUDE_FILE(CREATE_FIELDS_3)
121 autoPtr<functionObjectList> functionsPtr
126 functionsPtr->execute();
134 mesh.objectRegistry::clear();
152 #undef CREATE_CONTROL
#define forAll(list, i)
Loop across all elements in list.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
bool optionFound(const word &opt) const
Return true if the named option is found.
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
static instantList timeDirs
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
Ostream & endl(Ostream &os)
Add newline and flush stream.
wordList listAllConfigFiles(const fileName &configFilesPath)
Return the list of configuration files in.
Foam::argList args(argc, argv)