OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

foamToStarMesh.C File Reference

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

Go to the source code of this file.


Detailed Description

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

Original source file foamToStarMesh.C

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.
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.

Copyright © 2000-2009 OpenCFD Ltd