CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   mesh convertion from starCD grid to OpenFOAM (https://www.cfd-online.com/Forums/openfoam/94894-mesh-convertion-starcd-grid-openfoam.html)

ahmed_khatibs November 29, 2011 07:35

mesh convertion from starCD grid to OpenFOAM
 
how to convert starCD grid (.vrt, .bnd, .cel) to Openfoam and/or fluent grid,which file should be taken for conversion from three files?

wyldckat November 29, 2011 16:43

Greetings Ahmed,

According to the help given by star4ToFoam:
Quote:

$ star4ToFoam -help

Usage: star4ToFoam [OPTIONS] <pro-STAR prefix>
options:
-ascii write in ASCII instead of binary format
-case <dir> specify alternate case directory, default is the cwd
-noFunctionObjects
do not execute functionObjects
-scale <factor> geometry scaling factor - default is 0.001 ([mm] to [m])
-solids retain solid cells and treat them like fluid cells
-srcDoc display source code in browser
-doc display application documentation in browser
-help print the usage

convert pro-STAR (v4) mesh to OpenFOAM

Using: OpenFOAM-2.0.x (see www.OpenFOAM.org)
So basically you need the 3 files, but only need to tell star4ToFoam the name of the file (without the extension nor the dot).

Best regards,
Bruno

ahmed_khatibs December 27, 2011 01:07

thank u...


All times are GMT -4. The time now is 06:40.