38 #ifndef STARCDMeshWriter_H 39 #define STARCDMeshWriter_H 62 static const char* defaultBoundaryName;
71 void operator=(
const STARCD&);
74 static void writeHeader(
Ostream&,
const char* filetype);
77 void writePoints(
const fileName& baseName)
const;
80 void writeCells(
const fileName& baseName)
const;
83 void writeBoundary(
const fileName& baseName)
const;
87 label findDefaultBoundary()
const;
write OpenFOAM meshes and/or results to another CFD format
static const label foamToStarFaceAddr[4][6]
Face addressing from OpenFOAM faces -> pro-STAR faces.
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.
void rmFiles(const fileName &baseName) const
Remove STAR-CD files for the baseName.
static const fileName null
An empty fileName.
Writes polyMesh in pro-STAR (v4) bnd/cel/vrt format.
void scaleFactor(const scalar scaling)
Set points scaling.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ~STARCD()
Destructor.
Mesh consisting of general polyhedral cells.
virtual bool write(const fileName &meshName=fileName::null) const
Write volume mesh.