Writes polyMesh in pro-STAR (v4) bnd/cel/vrt format. More...
Public Member Functions | |
STARCD (const polyMesh &, const scalar scaleFactor=1.0) | |
Open a file for writing. More... | |
STARCD (const STARCD &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~STARCD () |
Destructor. More... | |
void | rmFiles (const fileName &baseName) const |
Remove STAR-CD files for the baseName. More... | |
virtual bool | write (const fileName &meshName=fileName::null) const |
Write volume mesh. More... | |
void | operator= (const STARCD &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from meshWriter | |
meshWriter (const polyMesh &, const scalar scaleFactor=1.0) | |
Create a writer object. More... | |
meshWriter (const meshWriter &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~meshWriter () |
Destructor. More... | |
void | scaleFactor (const scalar scaling) |
Set points scaling. More... | |
void | noBoundary () |
Suppress writing bnd file. More... | |
void | operator= (const meshWriter &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Attributes | |
static const label | foamToStarFaceAddr [4][6] |
Face addressing from OpenFOAM faces -> pro-STAR faces. More... | |
Static Public Attributes inherited from meshWriter | |
static string | defaultMeshName = "meshExport" |
Specify a default mesh name. More... | |
Additional Inherited Members | |
Protected Attributes inherited from meshWriter | |
const polyMesh & | mesh_ |
Mesh reference. More... | |
scalar | scaleFactor_ |
Scaling factor for points (eg, [m] -> [mm]) More... | |
bool | writeBoundary_ |
Write bnd file. More... | |
boundaryRegion | boundaryRegion_ |
boundaryRegion persistent data saved as a dictionary More... | |
cellTable | cellTable_ |
cellTable persistent data saved as a dictionary More... | |
labelList | cellTableId_ |
cellTable IDs for each cell More... | |
Static Protected Attributes inherited from meshWriter | |
static const cellModel * | unknownModel |
Pointers to cell shape models. More... | |
static const cellModel * | tetModel |
static const cellModel * | pyrModel |
static const cellModel * | prismModel |
static const cellModel * | hexModel |
Writes polyMesh in pro-STAR (v4) bnd/cel/vrt format.
The cellTableId and cellTable information are used (if available). Otherwise the cellZones are used (if available).
Definition at line 55 of file STARCDMeshWriter.H.
Open a file for writing.
Definition at line 466 of file STARCDMeshWriter.C.
References meshWriter::boundaryRegion_, meshWriter::cellTable_, meshWriter::mesh_, boundaryRegion::readDict(), and cellTable::readDict().
|
virtual |
Destructor.
Definition at line 482 of file STARCDMeshWriter.C.
void rmFiles | ( | const fileName & | baseName | ) | const |
Remove STAR-CD files for the baseName.
Definition at line 488 of file STARCDMeshWriter.C.
References Foam::rm().
|
virtual |
Write volume mesh.
Implements meshWriter.
Definition at line 497 of file STARCDMeshWriter.C.
References meshWriter::defaultMeshName, meshName, and fileName::name().
|
delete |
Disallow default bitwise assignment.
|
static |
Face addressing from OpenFOAM faces -> pro-STAR faces.
Definition at line 88 of file STARCDMeshWriter.H.