34 #ifndef Foam_ensightOutput_areaField_H 35 #define Foam_ensightOutput_areaField_H 49 namespace ensightOutput
Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
Encapsulation of area meshes for writing in ensight format.
Generic GeometricField class.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
bool writeAreaField(ensightOutput::floatBufferType &scratch, ensightFile &os, const GeometricField< Type, faPatchField, areaMesh > &fld, const ensightFaMesh &ensMesh)
Write finite-area field component-wise.
OBJstream os(runTime.globalPath()/outputName)
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))