CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Issue with Named Selections and Markers when Converting Mesh from ANSYS to SU2 Format

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2023, 04:04
Unhappy Issue with Named Selections and Markers when Converting Mesh from ANSYS to SU2 Format
  #1
Member
 
Sean
Join Date: May 2023
Posts: 40
Rep Power: 2
bgulzar22 is on a distinguished road
Hello SU2 community,

I am currently facing an issue with the mesh conversion process from ANSYS to SU2 using Gmsh as an intermediate step. I have created a mesh in ANSYS, assigned named selections, and exported the mesh file in CGNS format. However, when I use Gmsh to convert the mesh to SU2 format and open the resulting mesh file, I notice that there are no markers.

Here are the key steps I followed:

Created a mesh in ANSYS and assigned named selections.
Exported the mesh file in CGNS format.
Used Gmsh to convert the CGNS mesh to SU2 format.
I expected to see markers corresponding to the named selections in SU2, but they are not present.

Has anyone encountered a similar issue before? Am I missing a crucial step in the conversion process? Your insights and suggestions would be greatly appreciated.

Thank you in advance!
bgulzar22 is offline   Reply With Quote

Old   December 2, 2023, 06:42
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 495
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Why use gmsh in the conversion? You can just load the cgns directly into SU2. You can then also use SU2 to write a .su2 file if you really want that.
I also have trouble keeping the boundary information, it is a real pain converting meshes.
bigfootedrockmidget is online now   Reply With Quote

Old   December 2, 2023, 07:01
Default
  #3
Member
 
Sean
Join Date: May 2023
Posts: 40
Rep Power: 2
bgulzar22 is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Why use gmsh in the conversion? You can just load the cgns directly into SU2. You can then also use SU2 to write a .su2 file if you really want that.
I also have trouble keeping the boundary information, it is a real pain converting meshes.
Still , I don't get the boundary markers. Instead error message shows up as following
"The configuration file doesn't have any definition for marker SURFACE_BODY_1_1_1D!"
bgulzar22 is offline   Reply With Quote

Old   December 2, 2023, 09:03
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 495
Rep Power: 17
bigfootedrockmidget is on a distinguished road
that message means that this boundary name is in the cgns, but you did not define a boundary condition for it in the config file.



you should define a boundary condition for it like
Code:
MARKER_HEATFLUX=(SURFACE_BODY_1_1_1D,0)

If you did not expect this boundary to be present, then you have to go back to ANSYS and see where this boundary is.
bigfootedrockmidget is online now   Reply With Quote

Old   December 3, 2023, 02:47
Default
  #5
Member
 
Sean
Join Date: May 2023
Posts: 40
Rep Power: 2
bgulzar22 is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
that message means that this boundary name is in the cgns, but you did not define a boundary condition for it in the config file.



you should define a boundary condition for it like
Code:
MARKER_HEATFLUX=(SURFACE_BODY_1_1_1D,0)

If you did not expect this boundary to be present, then you have to go back to ANSYS and see where this boundary is.
Thank you so much for your insights.
bgulzar22 is offline   Reply With Quote

Reply

Tags
ansys, cgns, gmsh, markers

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



All times are GMT -4. The time now is 12:08.