36 #ifndef tecplotWriter_H 37 #define tecplotWriter_H 75 const string& varNames,
77 INTEGER4 tecplotFileType
84 const INTEGER4 strandID,
94 const INTEGER4 strandID,
102 const word& zoneName,
125 const bool nearCellValue,
139 template<
class GeoField>
151 template<
class GeoField>
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Generic GeometricField class.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static wordList getNames(const PtrList< GeoField > &)
void writeConnectivity(const fvMesh &mesh) const
Write mesh.
static void getTecplotNames(const wordList &names, const INTEGER4 loc, string &varNames, DynamicList< INTEGER4 > &varLocation)
A list of faces which address into the list of points.
void writeField(const Field< Type > &fld) const
Write generic Field.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
tmp< Field< Type > > getFaceField(const GeometricField< Type, fvsPatchField, surfaceMesh > &, const labelList &faceLabels) const
Get mixed field: fvsPatchField for boundary faces and.
void writePolyhedralZone(const word &zoneName, const INTEGER4 strandID, const fvMesh &mesh, const List< INTEGER4 > &varLocArray, INTEGER4 nFaceNodes) const
Write mesh as polyhedral zone.
Write binary tecplot files using tecio.
word name(const complex &)
Return a string representation of a complex.
tmp< Field< Type > > getPatchField(const bool nearCellValue, const GeometricField< Type, fvPatchField, volMesh > &vfld, const label patchi) const
Get either fvPatchField or patchInternalField.
void writeInit(const word &name, const string &varNames, const fileName &, INTEGER4 tecplotFileType) const
void writePolygonalZone(const word &zoneName, const INTEGER4 strandID, const indirectPrimitivePatch &pp, const List< INTEGER4 > &varLocArray) const
Write surface as polygonal zone.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
void writeOrderedZone(const word &zoneName, INTEGER4 strandID, const label n, const List< INTEGER4 > &varLocArray) const
Write unordered data (or rather 1D ordered)
A class for managing temporary objects.
tecplotWriter(const Time &)
Construct from components.