Go to the documentation of this file.
68 ensightCaseFile.
width(15);
69 ensightCaseFile.
setf(ios_base::left);
84 postProcPath/ensightFileName,
104 if (
mag(v) < 1.0
e-90)
109 for (
direction i=0; i < pTraits<Type>::nComponents; ++i)
114 if (++count % 6 == 0)
121 if ((count % 6 != 0) || (count==0))
IOstream::compressionType writeCompression() const
Default write compression.
void ensightCloudField(const IOobject &fieldObject, const fileName &postProcPath, const word &prepend, const label timeIndex, const word &timeFile, const word &cloudName, Ostream &ensightCaseFile, const bool dataExists)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
A class for handling file names.
A primitive field of type <T> with automated input and output.
#define forAll(list, i)
Loop across all elements in list.
IOstream::streamFormat writeFormat() const
Default write format.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
const Time & time() const
Return time.
Conversion of OpenFOAM pTraits into the Ensight equivalent.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Istream and Ostream manipulators taking arguments.
const word & name() const
Return name.
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
Omanip< int > setw(const int i)
const double e
Elementary charge.
IOstream & scientific(IOstream &io)
ios_base::fmtflags setf(const ios_base::fmtflags f)
Set flags of stream.
static bool master(const label communicator=0)
Am I the master process.
IOstream::versionNumber writeVersion() const
Default write version number.
virtual int precision() const
Get precision of output field.
Traits class for primitives.
const word cloudName(propsDict.lookup("cloudName"))
IOobject fieldObject(fieldNames[var2field[nVar]], runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual int width() const =0
Get width of output field.