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
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
static void addNote(const string ¬e)
const fileName & globalCaseName() const noexcept
Ostream & endl(Ostream &os)
virtual readUpdateState readUpdate()
Base class for graphics format writing. Entry points are.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
static string defaultMeshName
static void addOptions(const bool constant=true, const bool withZero=false)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void setTime(const Time &t)
static instantList select0(Time &runTime, const argList &args)
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Foam::argList args(argc, argv)
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
bool found(const word &optName) const