45 #ifndef Foam_ensightOutputSurface_H 46 #define Foam_ensightOutputSurface_H 91 const string& description =
"surface" 111 const bool isPointData =
false A variant of OFstream with specialised handling for Ensight writing of strings, integers and floats (...
void writePointData(ensightFile &os, const Field< Type > &fld) const
Write a field of point values (serial-only)
A variant of ensightFile (Ensight writing) that includes the extra geometry file header information...
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 operator=(const ensightOutputSurface &)=delete
No copy assignment.
ensightOutputSurface(const ensightOutputSurface &)=delete
No copy construct.
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). No beginGeometry() marker.