Go to the documentation of this file.
45 #ifndef ensightOutputSurface_H
46 #define ensightOutputSurface_H
91 const string& description =
"surface"
110 const bool isPointData =
false
virtual void write(ensightGeoFile &, const polyMesh &, bool) const
Cannot write geometry with a mesh reference.
void writeFaceData(ensightFile &os, const Field< Type > &fld) const
Write a field of face values (serial-only)
Sorting/classification of faces (2D) into corresponding ensight types.
Mesh consisting of general polyhedral cells.
Specialized Ensight output with extra geometry file header.
void writePointData(ensightFile &os, const Field< Type > &fld) const
Write a field of point values (serial-only)
virtual ~ensightOutputSurface()=default
Destructor.
void write(ensightGeoFile &os) const
Write processor-local geometry (serial-only)
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))
OBJstream os(runTime.globalPath()/outputName)
void writeData(ensightFile &os, const Field< Type > &fld, const bool isPointData=false) const
Write a field of face or point values (serial-only)
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
A variant of ensightFaces that holds references to contiguous points/faces with its own encapsulated ...