Go to the documentation of this file.
62 int main(
int argc,
char *argv[])
66 "read OpenFOAM mesh and write a pro-STAR (v4) bnd/cel/vrt format"
75 "geometry scaling factor - default is 1000 ([m] to [mm])"
80 "suppress writing a boundary (.bnd) file"
95 scalar scaleFactor = 1000;
108 runTime.setTime(
timeDirs[timeI], timeI);
110 #include "getTimeIndex.H"
126 meshName +=
'_' + runTime.timeName();
A class for handling file names.
static void addOption(const word &opt, const string ¶m="", const string &usage="")
Add to an option to validOptions with usage information.
static void addNote(const string &)
Add extra notes for the usage information.
#define forAll(list, i)
Loop across all elements in list.
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const =0
General entry point for writing.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Writes polyMesh in pro-STAR (v4) bnd/cel/vrt format.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
int main(int argc, char *argv[])
Base class for graphics format writing. Entry points are.
readUpdateState
Enumeration defining the state of the mesh after a read update.
static instantList timeDirs
static string defaultMeshName
Specify a default mesh name.
static void addOptions(const bool constant=true, const bool withZero=false)
Add the options handled by timeSelector to argList::validOptions.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool optionFound(const word &opt) const
Return true if the named option is found.
static void noParallel()
Remove the parallel options.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options.
Foam::argList args(argc, argv)
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.
const fileName & globalCaseName() const
Return case name.