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

Mesh Quality of Turbulent Onera M6 example

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2025, 03:21
Default Mesh Quality of Turbulent Onera M6 example
  #1
New Member
 
Daniel Doehring
Join Date: Feb 2025
Posts: 3
Rep Power: 2
DanDoe is on a distinguished road
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.
```

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
DanDoe is offline   Reply With Quote

Old   February 5, 2025, 05:53
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 772
Rep Power: 21
bigfootedrockmidget is on a distinguished road
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.
bigfootedrockmidget is offline   Reply With Quote

Old   February 5, 2025, 05:57
Default
  #3
New Member
 
Daniel Doehring
Join Date: Feb 2025
Posts: 3
Rep Power: 2
DanDoe is on a distinguished road
Thanks, I also played around with the mesh generation tools provided by NASA. Unfortunately, there are always some prisms in the mesh which make this not directly applicable for my code.
DanDoe is offline   Reply With Quote

Old   February 5, 2025, 06:09
Default
  #4
New Member
 
Daniel Doehring
Join Date: Feb 2025
Posts: 3
Rep Power: 2
DanDoe is on a distinguished road
To shed some light on this I added two screenshots in the GitHub issue:

https://github.com/su2code/Tutorials/issues/59
DanDoe is offline   Reply With Quote

Old   February 5, 2025, 07:22
Default
  #5
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 772
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Well, In this case you could probably postprocess the mesh in an easy way and merge the remaining cells, that is if it is a matter of merging 2 connected prisms into 1 hexa cell.
bigfootedrockmidget is offline   Reply With Quote

Reply

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
[snappyHexMesh] High quality mesh for wind in complex urban environment ziboaa OpenFOAM Meshing & Mesh Conversion 1 January 12, 2021 15:33
Gambit problems Althea FLUENT 22 January 4, 2017 03:19
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
[snappyHexMesh] Improving mesh quality + inlet too coarse MartinBlx OpenFOAM Meshing & Mesh Conversion 5 August 2, 2015 22:09
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 21:45.