|
[Sponsors] |
[snappyHexMesh] Airfoil trailing edge boundary layer refinement with snappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 20, 2024, 06:35 |
Airfoil trailing edge boundary layer refinement with snappyHexMesh
|
#1 |
New Member
Tommy Nee
Join Date: Sep 2023
Posts: 11
Rep Power: 3 |
Hi
I'm looking to further refine my mesh around the trailing edge of an airfoil for a mesh with snappyHexMesh. I have so far refined the very near wall layers to a level that I am happy with. What I want to try to improve is to have less layers towards the trailing edge so that the extra refinement I have defined in the castellation process is no undone by the last layers. I know I could reduce the number of layers but then there is too great of a jump in size elsewhere along the airfoil. I'm currently using two snappyHexMeshDict files, one for castellation and snapping and another for adding layers with the quality controls turned off. I have also tried defining different regions based on where I want less/more layers but this has not worked. The images attached are of what my mesh looks like right now and what I'd like it to look like (roughly). mesh_TE.png mesh_TE_wanted.png If anyone has any tips for this I'd love to know! Thanks! |
|
February 20, 2024, 06:57 |
|
#2 |
New Member
Tommy Nee
Join Date: Sep 2023
Posts: 11
Rep Power: 3 |
I realise I should probably have uploaded my snappyHexMeshDict files too, sorry!
snappyHexMeshDicts.zip |
|
February 21, 2024, 04:27 |
|
#3 |
Senior Member
Join Date: Dec 2021
Posts: 251
Rep Power: 5 |
Hey,
Maybe you could split the airfoil in several patches and set a different number of layers for each? Out of curiosity, what does checkMesh give you after the layer addition? Your mesh looks ok-ish, but having no quality control must be tough if it works though, I will shamelessly steal your dicts! Edit: I saw that you already tried to have different regions for the airfoil, my mistake! |
|
February 21, 2024, 14:17 |
|
#4 |
New Member
Tommy Nee
Join Date: Sep 2023
Posts: 11
Rep Power: 3 |
Hi,
Thanks for the response! I figured out my issue was that I was trying to define two exactly overlapping patches so Openfoam didn't really know what to do and gave some faces to one patch and some to another, so yes I divided each patch up individually as separate stls and now i have stepped layers like I was looking for (although it's a pain for outputting the pressure on each individual sureface!) In answer to your mesh quality question, I believe for the above airfoil the only failure on checkMesh was high aspect ratio, which I'm okay with as I have to resolve the boundary layer to y+<=1 and don't have the computational power to have nice aspect ratios near the wall! Thanks again |
|
Tags |
addlayercontrols, snappyhexmesh, trailing edge, viscous layers |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Ncrit for a glider Xfoil. How to use it. GPT4 answer | AlanMattanó | Main CFD Forum | 0 | April 10, 2023 13:16 |
[Gmsh] Unphysical grid cell near boundary layer of the trailing edge | yuwen zhang | OpenFOAM Meshing & Mesh Conversion | 1 | September 5, 2021 04:49 |
[snappyHexMesh] No satisfying result with feature edge refinement | Krapf | OpenFOAM Meshing & Mesh Conversion | 5 | December 13, 2019 07:59 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |