45 #ifndef ensightOutputSurface_H 46 #define ensightOutputSurface_H 91 const string& description =
"surface" 110 const bool isPointData =
false Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
void writePointData(ensightFile &os, const Field< Type > &fld) const
Write a field of point values (serial-only)
Specialized Ensight output with extra geometry file header.
void writeData(ensightFile &os, const Field< Type > &fld, const bool isPointData=false) const
Write a field of face or point values (serial-only)
Sorting/classification of faces (2D) into corresponding ensight types.
void writeFaceData(ensightFile &os, const Field< Type > &fld) const
Write a field of face values (serial-only)
OBJstream os(runTime.globalPath()/outputName)
A variant of ensightFaces that holds references to contiguous points/faces with its own encapsulated ...
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
virtual ~ensightOutputSurface()=default
Destructor.
Mesh consisting of general polyhedral cells.
void write(ensightGeoFile &os) const
Write processor-local geometry (serial-only)