Go to the documentation of this file.
59 int main(
int argc,
char *argv[])
63 "Write an OpenFOAM mesh in AVL/FIRE fpma format"
71 "Write in ASCII format instead of binary"
77 "Geometry scaling factor - default is 1 (none)"
97 scalar scaleFactor = 1;
100 if (scaleFactor <= 0)
112 #include "getTimeIndex.H"
A class for handling file names.
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)
bool readIfPresent(const word &optName, T &val) const
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