41 ensightFile(
append, pathname, fmt)
85 writeString(
"Ensight Geometry File");
92 writeString(
"node id assign");
95 writeString(
"element id assign");
streamFormat
Data format (ascii | binary | coherent).
appendType
File appending (NO_APPEND | APPEND_APP | APPEND_ATE).
bool is_appending() const noexcept
True if opened in append mode and file already existed.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeString(const char *str, size_t len)
Write character/string content as "%79s" or as binary (max 80 chars).
void writeBinaryHeader()
Write "C Binary" string for binary files (eg, geometry/measured).
void newline()
Add carriage return to ascii stream.
virtual Ostream & writeKeyword(const keyType &key) override
Write keyword with trailing newline.
void beginGeometry()
Start of geometry information.
ensightGeoFile(const ensightGeoFile &)=delete
No copy construct.
A class for handling file names.
A class for handling keywords in dictionaries.
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
const int api
OpenFOAM api number (integer) corresponding to the value of OPENFOAM at the time of compilation.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.