Go to the documentation of this file.
69 int main(
int argc,
char *argv[])
73 "Write an OpenFOAM mesh in STARCD/PROSTAR (v4) bnd/cel/vrt format"
82 "Geometry scaling factor - default is 1000 ([m] to [mm])"
87 "Suppress writing a boundary (.bnd) file"
103 const bool writeBndFile = !
args.
found(
"noBnd");
111 #include "getTimeIndex.H"
A class for handling file names.
T getOrDefault(const word &optName, const T &deflt) const
Get a value from the named option if present, or return default.
static word timeName(const scalar t, const int precision=precision_)
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const =0
General entry point for writing.
static void addNote(const string ¬e)
Add extra notes for the usage information.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
virtual readUpdateState readUpdate()
Update the mesh based on the mesh files saved in time.
messageStream Info
Information stream (uses stdout - output is on the master only)
Base class for graphics format writing. Entry points are.
readUpdateState
Enumeration defining the state of the mesh after a read update.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
static string defaultMeshName
Specify a default mesh name.
static void addOptions(const bool constant=true, const bool withZero=false)
Add timeSelector options to argList::validOptions.
virtual void setTime(const Time &t)
Reset the time and time-index to those of the given time.
static void noParallel()
Remove the parallel options.
static instantList select0(Time &runTime, const argList &args)
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
Foam::argList args(argc, argv)
const fileName & globalCaseName() const
Return global case name.
bool found(const word &optName) const
Return true if the named option is found.