Ccm26ToFoam

From OpenFOAMWiki
Revision as of 16:15, 2 April 2016 by Wyldckat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Name

ccm26ToFoam - Converts Star-CCM+ mesh to OpenFOAM format.

Valid versions: OF Version 21.png

2 Synopsis

ccm26ToFoam [OPTIONS] MESHFILE

3 Description

Converts Star-CCM+ mesh to OpenFOAM format.

-case DIR

Execute the command on the case directory DIR. If omitted, use the current directory

-noFunctionObjects

Skip the execution of the functionObjects

-help

Display the help and exit

Limitations (quoted from the help text):

read CCM files as written by proSTAR/ccm

- does not handle 'interfaces' (couples), cyclics or data

- does not handle mesh regions (porosity, solids, ...)

See also paragraph 5.5.2 of the User Guide.


LICENSE WARNING - ccm26ToFoam needs the library libccmio which (quoted from here):

The license of the libccmio library is proprietary: Users wishing to make use of its functionality should contact CD-Adapco for possible download and terms of use.


4 Installation

Valid versions: OF version 15.png OF version 16.png

Using the following library, enables the convertor to read the latest starccm+ format (4.4): libccmio.

Download the compressed archive from the above post (awlibccmio), extract the two files, and run the "AllwmakeLibccmio" script. This will download and compile the libccmio library.

Then compile the optional ccm26ToFoam utility with "$FOAM_APP/utilities/mesh/conversion/Optional/Allwmake".

NOTE: ccm26ToFoam in the 1.6 version doesn't compile! You will have to get it from the git 1.6.x version! See here for more information.


Valid versions: OF version 17.png

The files for ccm26ToFoam have already been fixed in OpenFOAM 1.7. Simply compile the optional ccm26ToFoam utility with "$FOAM_APP/utilities/mesh/conversion/Optional/Allwmake".

But if you're using the Deb/RPM installation files, then have a look into this post: star-ccm mesh to O\/F - post#25 and post #27


Valid versions: OF Version 20.png

Have a look into this post: star-ccm mesh to O\/F - post#29

Or follow the instructions available here: localCCM26ToFOAM


Valid versions: OF Version 21.png

Have a look into this post: star-ccm mesh to O\/F - post#37

Or follow the instructions available here: localCCM26ToFOAM


Valid versions: OF Version 22.png

Have a look into these posts:

Or follow the instructions available here: localCCM26ToFOAM


Valid versions: OF Version 23.png OF Version 30.png

Follow the instructions available here: localCCM26ToFOAM