|
[Sponsors] |
[snappyHexMesh] Resolving Trailing Edges of Airfoil in sHM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2019, 15:18 |
Resolving Trailing Edges of Airfoil in sHM
|
#1 |
New Member
Stefan
Join Date: Dec 2016
Posts: 5
Rep Power: 9 |
Hi there
I am trying to make a mesh with snappyHexMesh for a multi element airfoil chord 37 cm). I have the airfoil as an stl with three named regions (slat, main, flap). I struggle mainly with resolving the trailing edges nicely with at least 1 adjacent cell, my inflation layers keep collapsing at the trailing edge. The trailing edges are cut to a width of about 0.5 mm. All feature edges are extracted with surfaceFeatures (OF V7), the generated obj of the feature edges shows that clearly. Attached are some images of the problem areas. The trailing edge cuts of the stl geometry are about perpendicular to the form, not as crooked as they appear in the mesh. SnappyHexMeshDict can be found here: www.pastebin.com/63CMVxqq I managed to do a case with pointy trailing edges (uncut) with a mere 4 and relatively thick inflation layers that wrap nicely around the trailing edge, but y+ values are too high like that. Making the layers thinner makes them collapse again, also increasing the refinement leads to a collapsing boundary layer. I played around with tolerances, feature snapping parameters, featureAngle, nothing seems to help, I started to get a bit annoyed. Especially because I don't really know what some parameters mean and don't find the documentation to be really helpful. What are the parameters that steer the "wrapping-around-corner"-behavior in the sHMDict? Where would you start tuning? On my 8-core pc generating a new mesh takes (depending on n<...>Iterations) about 5-10minutes for castellated, snapping and addLayer-Phases. I've been playing around for about a week now trying different settings, good thing I'm a student and "free" workforce :-). Also, my base mesh is generated with blockMesh, and it's quite coarse. I figured the refinementRegions in the sHM are enough to break the base mesh down a bit for surface snapping. The snapping step seems to work neatly though, except for the trailing edge snapping. Shouldn't surfaceFeatures do the trick there? Any help is appreciated! It's probably not that hard of a problem, I just seem to not see the solution anymore. Kind wishes Stefan |
|
September 16, 2019, 02:51 |
|
#2 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
This will be very difficult to obtain.
I would advice you to test out cfMesh. It does a lot better in taking proper care of layers like this.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
September 16, 2019, 14:35 |
|
#3 |
New Member
Stefan
Join Date: Dec 2016
Posts: 5
Rep Power: 9 |
Thanks, I'll look into it.
|
|
October 29, 2020, 06:45 |
|
#4 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
Hei hei. Did you find a solution how to get a few layers on a sharp trailing edge with either snappyHexMesh or cfmesh. I tried both and I was not successful. With snappyHexMesh (see attached figure) at the trailing edge no layer was added. (The picture is a section of the onera M6 wing).
For the one which is interested the corresponding case can be found in https://wiki.openfoam.com/OneraM6_by_Michael_Alletto. I also tried cfmesh to get better resolved the wall but if i add layers at the wing I optain highly skewed faces close to the sharp trailing edge. Is there a way to avoid highly skewed faces at a sharp trailing edge? I found a airfoil meshed with cfmesh (https://github.com/petebachant/foilInBox-cfMesh) but in this case the trailing edge is blunt. He got 10 layers around the airfoil and the mesh did not contain highly skewed faces. |
|
April 17, 2024, 09:15 |
|
#5 |
New Member
Brian
Join Date: Mar 2024
Posts: 1
Rep Power: 0 |
Has anyone found a solution?
|
|
Tags |
addlayercontrols, parameters, snappyhesmeshdict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ffd_control_point_2d | feiyi | SU2 | 4 | September 30, 2019 13:42 |
How to deal with prism layers in sharp trailing edge of the airfoil | Rinia | STAR-CCM+ | 1 | March 11, 2019 21:25 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
Boundary layer meshing with sharp trailing edges | Andrew Berner | FLUENT | 1 | August 28, 2007 18:39 |