38 #ifndef STARCDMeshWriter_H
39 #define STARCDMeshWriter_H
62 static const char* defaultBoundaryName;
68 static void writeHeader(
Ostream&,
const char* filetype);
71 void writePoints(
const fileName& baseName)
const;
74 void writeCells(
const fileName& baseName)
const;
77 void writeBoundary(
const fileName& baseName)
const;
81 label findDefaultBoundary()
const;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A class for handling file names.
static const fileName null
An empty fileName.
write OpenFOAM meshes and/or results to another CFD format
void scaleFactor(const scalar scaling)
Set points scaling.
Writes polyMesh in pro-STAR (v4) bnd/cel/vrt format.
virtual ~STARCD()
Destructor.
void operator=(const STARCD &)=delete
Disallow default bitwise assignment.
STARCD(const polyMesh &, const scalar scaleFactor=1.0)
Open a file for writing.
void rmFiles(const fileName &baseName) const
Remove STAR-CD files for the baseName.
virtual bool write(const fileName &meshName=fileName::null) const
Write volume mesh.
static const label foamToStarFaceAddr[4][6]
Face addressing from OpenFOAM faces -> pro-STAR faces.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.