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... | |
| 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... | |
Public Member Functions inherited from meshWriter | |
| meshWriter (const polyMesh &, const scalar scaleFactor=1.0) | |
| Create a writer obejct. More... | |
| virtual | ~meshWriter () |
| Destructor. More... | |
| void | scaleFactor (const scalar scaling) |
| Set points scaling. More... | |
| void | noBoundary () |
| Suppress writing bnd file. 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 468 of file STARCDMeshWriter.C.
References meshWriter::boundaryRegion_, meshWriter::cellTable_, meshWriter::mesh_, boundaryRegion::readDict(), and cellTable::readDict().

|
virtual |
Destructor.
Definition at line 483 of file STARCDMeshWriter.C.
| void rmFiles | ( | const fileName & | baseName | ) | const |
Remove STAR-CD files for the baseName.
Definition at line 489 of file STARCDMeshWriter.C.
References Foam::rm().
Referenced by STARCD::write().


|
virtual |
Write volume mesh.
Implements meshWriter.
Definition at line 498 of file STARCDMeshWriter.C.
References TimePaths::constant(), meshWriter::defaultMeshName, meshWriter::mesh_, STARCD::rmFiles(), objectRegistry::time(), Time::timeName(), and meshWriter::writeBoundary_.

|
static |
Face addressing from OpenFOAM faces -> pro-STAR faces.
Definition at line 94 of file STARCDMeshWriter.H.
1.8.13