CFD Online Logo CFD Online URL
Home > Forums > SU2

Some tools to download: mesh conversion/transformation

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

Like Tree1Likes
  • 1 Post By Combas

LinkBack Thread Tools Display Modes
Old   May 29, 2014, 16:38
Default Some tools to download: mesh conversion/transformation
Join Date: Sep 2013
Posts: 42
Rep Power: 6
Combas is on a distinguished road
Dear all,

I have developed some tools to:

1) convert OpenFoam meshes to SU2 format (see my previous post
You can download the last version in the post you are reading, but for more information go to the previous post. The files to download are:
* TemplateOpenFoamToSU2_2D.txt
* TemplateOpenFoamToSU2_3D.txt

2) perform some basic transformation on SU2 meshes. With this tool you can:
p, li { white-space: pre-wrap; } - get some mesh information
- merge some boundaries
- remove some boundaries (for example, after a mesh conversion, you can get undesired boundaries)
- rename a boundary
- convert a 3D extruded mesh into a 2D mesh
The file to download is:

To launch this tool (after having done gunzip, you just have to type:
and you just have to answer the questions.

To avoid any problem, it is better to give a new name to the output mesh file (when it is asked) so that the initial mesh file be not overwritten and lost.
Another remark: it seems that there is a slight difference in the SU2 mesh format between the v3.0 and the previous ones: check before using this tool that you get "MARKER_TAG" and not "MARKERTAG" in your mesh file. I am not sure it works in this last case. p, li { white-space: pre-wrap; }
I think it is useless to tell more about this tool since it is really easy to use.

I hope these tools will help you to do some basic things on SU2 meshes.
Attached Files
File Type: gz (4.8 KB, 13 views)
File Type: txt TemplateOpenFoamToSU2_2D.txt (81 Bytes, 10 views)
File Type: txt TemplateOpenFoamToSU2_3D.txt (79 Bytes, 11 views)
File Type: gz (4.2 KB, 9 views)
Bachduong likes this.
Combas is offline   Reply With Quote

Old   June 5, 2014, 15:01
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 7
economon is on a distinguished road
Dear Laurent,

Thank you for sharing your tools: these are the types of contributions that we encourage and love to see from the open-source community!

economon 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[ICEM] Orthogonality/Skew issues in 3D unstructured mesh eddyy19g ANSYS Meshing & Geometry 3 February 13, 2014 10:36
Layers:problem with curvature giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 10 August 22, 2012 09:03
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
basic of mesh refinement arya CFX 4 June 19, 2007 12:21

All times are GMT -4. The time now is 17:23.