FreeFOAM The Cross-Platform CFD Toolkit
foamToStarMesh.C File Reference

Reads an OpenFOAM mesh and writes a pro-STAR (v4) bnd/cel/vrt format. More...


Detailed Description

Reads an OpenFOAM mesh and writes a pro-STAR (v4) bnd/cel/vrt format.

Usage
  • foamToStarMesh [OPTION]
    Reads an OpenFOAM mesh and writes a pro-STAR (v4) bnd/cel/vrt format.
Parameters:
-noBnd
Suppress writing the .bnd file.
-scale<factor>
Specify an alternative geometry scaling factor. The default is 1000 (scale [m] to [mm]).
-surface
Extract the surface of the volume mesh only. This can be useful, for example, for surface morphing in an external package.
-tri
Extract a triangulated surface. The -surface options is implicitly selected.
-case<dir>
Case directory.
-noZero
Ignore time step 0.
-constant
Include the constant directory.
-latestTime
Only apply to the latest time step.
-time<time>
Apply only to specified time.
-help
Display help message.
-doc
Display Doxygen API documentation page for this application.
-srcDoc
Display Doxygen source documentation page for this application.
Note:
The cellTable information available in the files constant/cellTable and constant/polyMesh/cellTableId will be used if available. Otherwise the cellZones are used when creating the cellTable information.
See also:
Foam::cellTable, Foam::meshWriter and Foam::meshWriters::STARCD

Definition in file foamToStarMesh.C.

+ Include dependency graph for foamToStarMesh.C:

Go to the source code of this file.