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

FoamMeshToFluent

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 24, 2007, 11:39
Default Hey All, I'm currently workin
  #1
tutlhino
Guest
 
Posts: n/a
Hey All,
I'm currently working on a comparison between openFOAM and cfx, and therefore I need meshes in both formats. I started with the forward- and backward-facing steps of the tutorials and converted it with foamMeshToFluent without any error message. After that I tried to load the mesh into icemCFD to convert it to the cfx format. But an error occured which is obviously due to the last part of the converted fluent-mesh. Here a lot of 4s appear, which seems quite strange and looks like that:

...
4 299b 299c 2938 2937 13ba 0
4 29ff 2a00 299c 299b 141e 0
4 2a63 2a64 2a00 29ff 1482 0
))
(12 (1 1 1482 1 0)(
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
...
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4)())
(39 (1 fluid fluid-1)())
(39 (2 interior interior-1)())
(39 (10 pressure-outlet inlet)())
(39 (11 pressure-outlet outlet)())
(39 (12 symmetry bottom)())
(39 (13 symmetry top)())
(39 (14 pressure-outlet obstacle)())
(39 (15 pressure-outlet defaultFaces)())

I also tried to convert the openFOAM mesh after solving the problem, as this converter is presented as a post-processing tool but I got the same results. Does anyone know if this is a bug, or if this must be due to an input problem???
Or has anyone already a converted mesh of the tutorial examples (forward- or backward-facing step).

Cheers
Florian
  Reply With Quote

Old   May 24, 2007, 14:15
Default Hi Florian, just create you
  #2
New Member
 
Peter Hering
Join Date: Mar 2009
Posts: 7
Rep Power: 8
peterh is on a distinguished road
Hi Florian,

just create your mesh in ICEM, saving it as *.geo (CFX4) or *.msh (Fluent) and use OF's "import"-converters, works perfect!

Peter.
peterh is offline   Reply With Quote

Old   May 25, 2007, 02:47
Default Hi Peter, thanks for the hint
  #3
tutlhino
Guest
 
Posts: n/a
Hi Peter,
thanks for the hint. I tried it that way (cfx4) but none of the patches was defined in the boundaries-file. Where did you define the patches withihn icemCFD, so that they are overtaken from OF? I defined them in the BCs in the output area, before writing out the cfx4-file.

The above mentioned problem is solved somehow. I tried to import the fluent-mesh generated by foamMeshToFluent into CFX-Pre directly and it worked!
  Reply With Quote

Old   May 26, 2007, 19:11
Default Hi Florian, first, select C
  #4
New Member
 
Peter Hering
Join Date: Mar 2009
Posts: 7
Rep Power: 8
peterh is on a distinguished road
Hi Florian,

first, select CFX4 as the solver in ICEM.
To get the *.geo-File (cfx4) you need to specify the boundary conditions from the Output-tab first.
After that, do File>>Blocking>>Save Multiblock Mesh...
This creates the boundary-files.
Now the Write Input/Output command should work fine!

Peter
peterh 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
FoamMeshToFluent tutlhino OpenFOAM Post-Processing 2 March 7, 2014 11:20
FoamMeshToFluent 2D axi frackowi OpenFOAM Post-Processing 1 February 12, 2008 21:45


All times are GMT -4. The time now is 01:25.