FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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 "src/OpenFOAM/global/argList/argList.H"
#include "src/OpenFOAM/db/Time/timeSelector.H"
#include "src/OpenFOAM/db/Time/Time.H"
#include "src/OpenFOAM/meshes/polyMesh/polyMesh.H"
#include "src/conversion/meshWriter/starcd/STARCDMeshWriter.H"
#include "src/OpenFOAM/include/setRootCase.H"
#include "src/OpenFOAM/include/createTime.H"
#include "src/OpenFOAM/include/createPolyMesh.H"
#include "applications/utilities/mesh/conversion/foamToStarMesh/getTimeIndex.H"
Include dependency graph for foamToStarMesh.C:

Go to the source code of this file.