|
[Sponsors] |
September 16, 2024, 16:02 |
Redefining SU2 Markers directly from SU2_DEF
|
#1 |
New Member
Juan Miranda
Join Date: Aug 2023
Location: University of California, Davis
Posts: 2
Rep Power: 0 |
Hi everyone,
Is it possible to redefine/modify the markers of an .su2 mesh directly from SU2 without a mesh generator? Say I have an airfoil where the surface markers for upper and lower surfaces are labeled as "airfoil" but I want to split them between "upper" and "lower" and perhaps define a region of the surface nodes to add a new marker to add a different boundary condition? |
|
September 16, 2024, 18:35 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Sure, you can do that, but the .su2 mesh is basically a punch of coordinates and a bunch of connectivity information. So you have to know which of the lines and faces belong to the top and which to the bottom. For instance, a 2D mesh containing an airfoil looks like this in the .su2 file:
NMARK= 3 MARKER_TAG= airfoil MARKER_ELEMS= 19 3 3 98 3 98 99 3 99 100 3 100 101 3 101 102 3 102 103 3 103 104 3 104 105 3 105 106 3 106 107 ... So you need to know if the line segment connecting points 3-98 are on the upper part or the lower part of the airfoil. but if you know that it splits at point 100, you can just increase the number of markers and split it: NMARK= 4 MARKER_TAG= airfoil_top MARKER_ELEMS= 3 3 3 98 3 98 99 3 99 100 MARKER_TAG= airfoil_bottom MARKER_ELEMS= 16 3 100 101 3 101 102 3 102 103 3 103 104 3 104 105 3 105 106 3 106 107 ... But it's better to have the mesh available in e.g. gmsh. |
|
Tags |
meshing, su2_def |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issue with Named Selections and Markers when Converting Mesh from ANSYS to SU2 Format | bgulzar22 | SU2 | 4 | December 3, 2023 03:47 |
Gmsh does not ouput SU2 markers from physical surfaces | stewels | SU2 | 4 | May 17, 2023 06:15 |
Inclusion of Markers in 3D mesh for SU2 | hk.narahari | Mesh Generation & Pre-Processing | 0 | April 29, 2020 10:21 |
Pointwise mesh BC -unspecified in SU2 boundary markers | monika_1387 | SU2 | 2 | April 17, 2020 05:52 |
Introducing SU2 International Developers Society (IDS) | fpalacios | SU2 News & Announcements | 1 | June 17, 2019 23:38 |