Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving Mesh Quality of Turbulent Onera M6 mesh #59

Open
DanielDoehring opened this issue Feb 5, 2025 · 1 comment
Open

Improving Mesh Quality of Turbulent Onera M6 mesh #59

DanielDoehring opened this issue Feb 5, 2025 · 1 comment

Comments

@DanielDoehring
Copy link

DanielDoehring commented Feb 5, 2025

Hi guys,

I was looking for a hex mesh of the Onera M6 airfoil and came across your tutorial + provided grid. I encounter the issue, though, that a few elements are distorted, i.e., the hexes/quads are effectively degenerated to prisms/triangles. When executing the example with SU2_CFD you actually get a corresponding warning:

------------------- Geometry Preprocessing ( Zone 0 ) -------------------
Three dimensional problem.
46417 grid points.
43008 volume elements.
3 surface markers.
2560 boundary elements in index 0 (Marker = FARFIELD).
1408 boundary elements in index 1 (Marker = WING).
2688 boundary elements in index 2 (Marker = SYMMETRY).
43008 hexahedra.
Setting point connectivity.
Renumbering points (Reverse Cuthill McKee Ordering).
Recomputing point connectivity.
Setting element connectivity.
Checking the numerical grid orientation.
>>> WARNING: 18 HEXAHEDRON, volume elements are distorted.
    It was not possible to determine if their orientation is correct.
There has been a re-orientation of 4 QUADRILATERAL surface elements.
>>> WARNING: 1 QUADRILATERAL surface elements are distorted.
    It was not possible to determine if their orientation is correct.

Here are two screenshots of the troubling quad

Image

Image

So my question is twofold:

  1. Do you also provide the corresponding grid generation software, s.t. I can try improving the grid myself?
  2. Is there a way to access the (possibly) improved grid? Based on There has been a re-orientation of 4 QUADRILATERAL surface elements. I have hope that the grid is improved at runtime. Using that grid might actually be good enough for me.

Best,
Daniel

@bigfooted
Copy link
Contributor

copy from https://www.cfd-online.com/Forums/su2/259383-mesh-quality-turbulent-onera-m6-example.html

Hi,
I think the mesh originally came from here using the fortran program. Some of these programs output su2 files directly, not sure if that was the case for this one though:

https://turbmodels.larc.nasa.gov/one...erics_val.html

The re-orientation just means that we compute normals of faces, and all normals have to either point into the cell or out of the cell. If one of the normals is not like that, we flip the sign. So the mesh stays the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants