Writes polyMesh in AVL/FIRE polyhedra format (fpma, fpmb) More...
Public Member Functions | |
FIREMeshWriter (const polyMesh &, const scalar scaleFactor=1.0) | |
virtual | ~FIREMeshWriter ()=default |
virtual bool | write (const fileName &meshName=fileName::null) const |
![]() | |
meshWriter (const polyMesh &, const scalar scaling=1.0) | |
virtual | ~meshWriter () |
Static Public Attributes | |
static bool | binary = false |
static bool | compress = false |
static bool | prefixBoundary = true |
![]() | |
static string | defaultMeshName = "meshExport" |
Additional Inherited Members | |
![]() | |
enum | selectionType { cellSelection = 2, faceSelection = 3 } |
enum | shapeType { fireLine = 1, fireTri = 2, fireQuad = 3, fireTet = 4, fireHex = 5, firePyr = 6, firePrism = 8 } |
enum | fileExt3d { POLY_ASCII, POLY_BINARY, POLY_ASCII_Z, POLY_BINARY_Z } |
typedef int32_t | fireInt_t |
typedef double | fireReal_t |
![]() | |
static fileName | fireFileName (const fileName &baseName, const enum fileExt3d) |
static label | getFireLabel (ISstream &) |
static point | getFirePoint (ISstream &) |
static std::string | getFireString (ISstream &) |
static void | putFireLabel (OSstream &, const label) |
static void | putFireLabels (OSstream &, const labelUList &) |
static void | putFireLabels (OSstream &, const label count, const label start) |
static void | putFirePoint (OSstream &, const point &) |
static void | putFireString (OSstream &, const std::string &) |
![]() | |
FIRECore ()=default | |
![]() | |
static label | readPoints (ISstream &, pointField &) |
![]() | |
const polyMesh & | mesh_ |
scalar | scaleFactor_ |
boundaryRegion | boundaryRegion_ |
cellTable | cellTable_ |
labelList | cellTableId_ |
![]() | |
static const Enum< fileExt3d > | file3dExtensions |
Writes polyMesh in AVL/FIRE polyhedra format (fpma, fpmb)
It is also possible to write compressed formats (fpmaz, fpmbz)
In the AVL/FIRE polyhedra format, the faces normals point inwards, whereas the OpenFOAM face normals always point outwards.
Definition at line 62 of file FIREMeshWriter.H.
FIREMeshWriter | ( | const polyMesh & | mesh, |
const scalar | scaleFactor = 1.0 |
||
) |
Definition at line 236 of file FIREMeshWriter.C.
|
virtualdefault |
|
virtual |
Implements meshWriter.
Definition at line 247 of file FIREMeshWriter.C.
References IOstreamOption::ASCII, IOstreamOption::BINARY, autoPtr::clear(), IOstreamOption::COMPRESSED, TimePaths::constant(), IOstreamOption::currentVersion, meshWriter::defaultMeshName, Foam::endl(), fileName::ext(), FIRECore::file3dExtensions, FIRECore::fireFileName(), found, autoPtr::good(), Foam::Info, fileName::lessExt(), Foam::mv(), FIRECore::POLY_ASCII, FIRECore::POLY_BINARY, objectRegistry::time(), Time::timeName(), IOstreamOption::UNCOMPRESSED, and writeGeometry().
|
static |
Definition at line 86 of file FIREMeshWriter.H.
|
static |
Definition at line 89 of file FIREMeshWriter.H.
|
static |
Definition at line 92 of file FIREMeshWriter.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.