63 int main(
int argc,
char *argv[])
67 "read OpenFOAM mesh and write a pro-STAR (v4) bnd/cel/vrt format" 76 "geometry scaling factor - default is 1000 ([m] to [mm])" 81 "suppress writing a boundary (.bnd) file" 96 scalar scaleFactor = 1000;
111 #include "getTimeIndex.H"
static string defaultMeshName
Specify a default mesh name.
#define forAll(list, i)
Loop across all elements in list.
A class for handling file names.
const fileName & globalCaseName() const
Return case name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
static void noParallel()
Remove the parallel options.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.
Writes polyMesh in pro-STAR (v4) bnd/cel/vrt format.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
static void addOption(const word &opt, const string ¶m="", const string &usage="")
Add to an option to validOptions with usage information.
virtual void setTime(const Time &)
Reset the time and time-index to those of the given time.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
static void addNote(const string &)
Add extra notes for the usage information.
readUpdateState
Enumeration defining the state of the mesh after a read update.
Foam::argList args(argc, argv)
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.