CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2

[gmsh exporting su2 mesh] how to add physical name tags to boundary surfaces?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2021, 22:20
Default [gmsh exporting su2 mesh] how to add physical name tags to boundary surfaces?
Shenren Xu
Join Date: Jan 2011
Location: London, U.K.
Posts: 67
Rep Power: 15
Shenren_CN is on a distinguished road
Hello all,

I have prepared a valid Gmsh mesh file (.msh) and exported the mesh to su2 format from Gmsh. I have inspected the exported su2 mesh file using Pointwise and found that the boundaries surfaces come with name tags such as 'PhysicalSurface1'. This always gave me sufficient information for me to construct a .cfg file in order to run SU2_CFD. However, it is a bit inconvenient as these names don't carry any meaning, are non-intuitive, and it's error-prone. Therefore, I would like to rename the boundaries surfaces using names such as 'INLET', 'PER1_UP', 'PER1_LOW', 'OUTLET', etc.

How do I do this? I was not able to find a way to add this information in Gmsh. In addition, I would like to have a workflow without Pointwise. Could anyone please suggest me a way to go about this?


Shenren_CN is offline   Reply With Quote

Old   July 30, 2021, 08:16
Senior Member
Join Date: Dec 2011
Location: Netherlands
Posts: 529
Rep Power: 17
bigfootedrockmidget is on a distinguished road
in gmsh, the boundary conditions are called physical groups. In 2D, you select the boundary lines and give them a descriptive name, like inlet or outlet, in 3D, you select surfaces. You usually also select the entire body (the plane in 2D or the volume in 3D) and give it a name like 'fluid_body'. When you export the mesh to su2, you only need to export the physical entities/groups. Any additional points or lines that you have created but do not want in your final mesh will then not be written to the su2 file.
bigfootedrockmidget is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gmsh does not ouput SU2 markers from physical surfaces stewels SU2 4 May 17, 2023 05:15
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 16, 2020 23:44
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 01:44
[Gmsh] How to add a prismatic-cell boundary layer in GMSH? klausb OpenFOAM Meshing & Mesh Conversion 4 November 22, 2016 17:30
[PyFoam] and paraview eelcovv OpenFOAM Community Contributions 28 May 30, 2016 09:23

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