write OpenFOAM meshes and/or results to another CFD format More...
Public Member Functions | |
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... | |
virtual bool | write (const fileName &timeName=fileName::null) const =0 |
Write volume mesh. Subclass must supply this method. More... | |
void | operator= (const meshWriter &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Attributes | |
static string | defaultMeshName = "meshExport" |
Specify a default mesh name. More... | |
Protected Attributes | |
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 | |
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 |
write OpenFOAM meshes and/or results to another CFD format
"constant/boundaryRegion" is an IOMap<dictionary> that contains the boundary type and names. eg,
( 0 { BoundaryType wall; Label Default_Boundary_Region; } 1 { BoundaryType inlet; Label inlet_1; } ... 4 { BoundaryType pressure; Label outlet; } )
Definition at line 89 of file meshWriter.H.
meshWriter | ( | const polyMesh & | mesh, |
const scalar | scaleFactor = 1.0 |
||
) |
Create a writer object.
Definition at line 71 of file meshWriter.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 84 of file meshWriter.C.
|
inline |
Set points scaling.
Definition at line 150 of file meshWriter.H.
References meshWriter::scaleFactor_.
|
inline |
Suppress writing bnd file.
Definition at line 156 of file meshWriter.H.
References meshWriter::writeBoundary_.
|
pure virtual |
Write volume mesh. Subclass must supply this method.
Implemented in STARCD.
|
delete |
Disallow default bitwise assignment.
|
protected |
|
protected |
Scaling factor for points (eg, [m] -> [mm])
Definition at line 99 of file meshWriter.H.
Referenced by meshWriter::scaleFactor().
|
protected |
Write bnd file.
Definition at line 102 of file meshWriter.H.
Referenced by meshWriter::noBoundary().
|
protected |
boundaryRegion persistent data saved as a dictionary
Definition at line 105 of file meshWriter.H.
Referenced by STARCD::STARCD().
|
protected |
cellTable persistent data saved as a dictionary
Definition at line 108 of file meshWriter.H.
Referenced by STARCD::STARCD().
|
protected |
cellTable IDs for each cell
Definition at line 111 of file meshWriter.H.
|
staticprotected |
Pointers to cell shape models.
Definition at line 114 of file meshWriter.H.
|
staticprotected |
Definition at line 115 of file meshWriter.H.
|
staticprotected |
Definition at line 116 of file meshWriter.H.
|
staticprotected |
Definition at line 117 of file meshWriter.H.
|
staticprotected |
Definition at line 118 of file meshWriter.H.
|
static |
Specify a default mesh name.
Definition at line 126 of file meshWriter.H.
Referenced by STARCD::write().