ccmToFoam.C File Reference

Reads CCM files as written by PROSTAR/STARCCM and writes an OPENFOAM polyMesh. More...

Go to the source code of this file.

Detailed Description

Reads CCM files as written by PROSTAR/STARCCM and writes an OPENFOAM polyMesh.

Original source file ccmToFoam.C

Usage
ccmToFoam [OPTION] ccmMesh

Options:

  • -ascii
    Write in ASCII format instead of binary
  • -export
    re-export mesh in CCM format for post-processing
  • -list
    List some information about the geometry
  • -name <name>
    Provide alternative base name for export. Default is meshExport.
  • -noBaffles
    Remove any baffles by merging the faces.
  • -merge
    Merge in-place interfaces
  • -numbered
    Use numbered patch/zone (not names) directly from ccm ids.
  • -remap <name>
    Use specified remapping dictionary instead of constant/remapping
  • -scale <factor>
    Specify an alternative geometry scaling factor. The default is 1 (no scaling).
  • -solids
    Treat any solid cells present just like fluid cells. The default is to remove them.
    Note

sub-domains (fluid | solid | porosity) are stored as separate domains within the CCM file. These are merged together to form a single mesh.

  • baffles are written as interfaces for later use
See also
Foam::ccm::reader for more information about the File Locations

Definition in file ccmToFoam.C.