CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Convertion of cfx mesh to Foam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 20, 2005, 06:23
Default I have a cfx mesh generated wi
  #1
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 8
vvqf is on a distinguished road
I have a cfx mesh generated with icem cfd for cfx version 10.0.

Does anybody know if it is convertible with cfxToFoam. I the orignial icem cfd file generated for cfx(extension .cfx5) or the cfx mesh file imported into cfx(extension .gtm).
vvqf is offline   Reply With Quote

Old   December 20, 2005, 06:28
Default cfxToFoam has been written to
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
cfxToFoam has been written to deal with the .geo file extension for CFX. When I wrote it, the current version of CFX was CFX-4 and the file looks something like this:


wooster*110-> more exampleGeom.geo
/* GEOMETRY FILE FOR CFX-4 FROM CFX-MESHBUILD */
2 4 1 16 54 /* NBLOCK,NPATCH,NGLUE,NELEM,NPOINT */
/* BLOCK NAMES AND SIZE (NI,NJ,NK) */
BLOCK-NUMBER-1 2 2 2
BLOCK-NUMBER-2 2 2 2
/* PATCH TYPE, NAME, NO., RANGE, DIREC, BLK NO, AND LABEL */
BLKBDY GLUE-PATCH----1HIGH-K-BLK---1- 1
1 2 1 2 2 2 3 1 1
BLKBDY GLUE-PATCH----2HIGH-I-BLK---2- 2
2 2 1 2 1 2 1 2 1
INLET AN_INLET 3
1 2 1 2 1 1 6 1 1
OUTLET OUTLET 4
1 1 1 2 1 2 4 2 1
/* BLOCK TO BLOCK GLUEING INFORMATION */
1 2 3 5 4 1
/* VERTEX CO-ORDS (X,Y,Z) FOR BLOCK 1 */
0.000000E+00 0.000000E+00 -0.400000E+01
0.200000E+01 0.000000E+00 -0.400000E+01
0.400000E+01 0.000000E+00 -0.400000E+01

etc.

I am not aware of the file format changes since then - have a look at your file and see if it makes sense.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   December 20, 2005, 07:01
Default with more command the .gtm fil
  #3
Member
 
VVqf
Join Date: Mar 2009
Location: Braunschweig
Posts: 66
Rep Power: 8
vvqf is on a distinguished road
with more command the .gtm file information is not readable.
And I don't know if i can edit it into something like the above .geo file.

I am thinking whether it is good way to convert .gtm file first into .ans or star mesh file and then convert to it to Foam file...

Now I haven't the CFX-4 version.
vvqf is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Icem Mesh to Foam jphandrigan OpenFOAM Mesh Utilities 4 March 9, 2010 03:58
Fluent binary mesh FOAM spv24 OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 1 November 19, 2008 02:23
No foam Mesh file were created pajofego OpenFOAM Installation 2 July 22, 2008 17:34
Unit Convertion Barii.Johnason CFX 2 May 28, 2007 21:14
STL file convertion to IGES Surface format jens Main CFD Forum 2 November 24, 2004 04:13


All times are GMT -4. The time now is 16:28.