Go to the documentation of this file.
42 bool parallel = Pstream::parRun();
A collection of functions for writing areaField content in ensight format.
bool writeFaceLocalField(ensightFile &os, const Field< Type > &fld, const ensightFaces &part, bool parallel)
Encapsulation of area meshes for writing in ensight format.
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)
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
bool writeAreaField(ensightFile &os, const GeometricField< Type, faPatchField, areaMesh > &fld, const ensightFaMesh &ensMesh)
Write finite-area field component-wise.
Generic GeometricField class.
const ensightFaces & areaPart() const noexcept
Face elements for finite-area.