CFD Online Logo CFD Online URL
Home > Forums > SU2


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

Like Tree6Likes
  • 3 Post By samiam1000
  • 1 Post By pjohannes183
  • 1 Post By winter
  • 1 Post By Combas

LinkBack Thread Tools Display Modes
Old   March 1, 2013, 11:48
Default foamToSU2
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 502
Rep Power: 12
samiam1000 is on a distinguished road
Dear All,

I have a foam mesh. It is a 2D mesh (actually, OpenFOAM treats 2D as 3D with empty BC in 3rd direction) and I would like to convert it into SU2 mesh format (cgns is good, too).

Have you ever thought about such a converter? Is it available somewhere?

Thanks a lot,
pjohannes183, robyTKD and winter like this.
samiam1000 is offline   Reply With Quote

Old   July 23, 2013, 09:56
New Member
Johannes P
Join Date: Feb 2012
Posts: 8
Rep Power: 7
pjohannes183 is on a distinguished road
For benchmarking purposes I'm also very interested in conversion of OpenFOAM meshes to SU2 and vice versa. The problem that arises when converting two-dimensional SU2 meshes to OpenFOAM can be handled with the onboard utility "extrude2DMesh" (the description reads "Takes 2D mesh (all faces 2 points only, no front and back faces) and creates a 3D mesh by extruding with specified thickness")

The ways I have tried so far was using CGNS as intermediate format, however since SU2 uses CGNS version 3 and the OpenFOAM turbomachinery contrib "cgnsToFoam" is based on version 2.5, the files don't seem to be compatible.

Has anyone successfully converted a mesh between OpenFOAM and SU2 in either direction?
samiam1000 likes this.
pjohannes183 is offline   Reply With Quote

Old   July 25, 2013, 13:56
New Member
Magnus W
Join Date: Jul 2013
Location: Munich - Germany
Posts: 5
Rep Power: 6
winter is on a distinguished road
I've been having the same issue as pjohannes183, as I'm looking into the capabilities of SU2 for my Master's thesis. It would be very beneficial to benchmark SU2 against OpenFoam for instance. Has anyone managed to do the conversion from SU2 into OpenFoam?
samiam1000 likes this.
winter is offline   Reply With Quote

Old   December 11, 2013, 10:45
Join Date: Sep 2013
Posts: 42
Rep Power: 6
Combas is on a distinguished road
You have dreamed about it, and I did it! )

I have done a python tool that allows the conversion from OpenFoam to SU2 (2D and 3D meshes)
Everything is explained in the post "Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D)" in the "SU2" forum:

Hope it will be helpful!

wyldckat likes this.
Combas is offline   Reply With Quote


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

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