CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Siemens (
-   -   import mesh and results from v4 (

star February 9, 2009 21:38

import mesh and results from v4
Hi! Anyone can tell me how to import the mesh and results from v4 into star-ccm+? I want to do post-processing in ccm.

S.B.J. February 10, 2009 01:52

Re: import mesh and results from v4
CD-adapco CCM/CCMG Format The .ccm/.ccmg file type is native to the STAR-CD solver (STAR) and pre-processor (pro-STAR). The ccm file format is used by versions 4.0 and 4.02 while the ccmg format replaces the ccm format from v4.04 onwards. Mesh data is exported to the file by pro-STAR using the command GEOM while in the case of the .ccm file, solution data is saved via the STAR solver directly (as part of an analysis run). pro-STAR can also write solution mapped data (command SMAP) to the .ccm file as part of a restart.

A scale factor for the mesh is saved to the file during export from pro-STAR but the vertices contained in the file are not scaled. The scale factor is used to re-dimension the mesh during the import process into STAR-CCM+.

Each collection of cells in pro-STAR with the same properties (material label, material index, porosity index, spin index and group index) is considered to be one region. Different cell types do not result in different region definitions unless one of the above properties differs for the cell type.

The CCM/CCMG file format is the recommended way of transferring meshes from STAR-CD to STAR-CCM+. Post data cannot be transferred from STAR-CD to STAR-CCM+. STAR-CCM+ however, can export both mesh and solution data to STAR-CD via the .ccm file format, although not all solution variables are transferable.

I hope this will help you

ping February 10, 2009 09:14

Re: import mesh and results from v4
While it is true that results can't be directly exported from STAR-CD to STAR-CCM+, it can easily be done by creating a table for import into STAR-CCM+ and use this to initialise the flow field. Here is a sample macro.

memo mxstor 10000000 ! set to your needs numreg 10 gload 1 cell all load,, getc all oper getc p 4 oper getc dens 5 oper getc t 6 ! or other variables too gvalue 2 1 cell both sdata table.txt 8 2

Then edit this and insert a line of column names eg "X" "Y" etc. Then import this into STAR-CCM+ - works a treat!

star February 10, 2009 21:36

Re: import mesh and results from v4
yes it helped! especially on the scale information.

jimmer February 11, 2009 12:16

Re: import mesh and results from v4
and how can i load results from version 3.26 to version 4.06 for post-proccesing?

donald February 11, 2009 15:19

Re: import mesh and results from v4
you are not using the two code properly, you need to ask a cd-adapco representative:

- starccm+ has basic physics but if it has what you need: use star-ccm+

- if you need more complex physics: you can mesh in star-ccm+ and run the mesh in star-cd 4. But you cannot go back to STAR-CCM+

your question is moot.

All times are GMT -4. The time now is 02:45.