SnappyHexMesh bad snapping for 2D airfoil
Dear CFD-online users,
I have a problem with snappyHexMesh. The castellating all works fine, but when it comes to snapping the cells at the boundary look really strange. I have tried a lot now, but it seems I am overlooking something.
Since it is 2D, I first only castellate the mesh and then extrude it. Subsequently, I snap it and add layers. The RunMesh.sh does all that.
Could you have a look at the case files and tell me what I am doing wrong, because I do not see it anymore?
Link to case files: https://www.dropbox.com/sh/lyi8po231fxnb2k/96Crfo7v_s
Thanks a lot!
P.s. If anyone knows how to easily convert an 2D airfoil with x,y coordinates to an stl file needed for SHM, it would be very much appreciated if you could also tell me that!
Did you check out the dictionary in the plunging wing tutorial?
You don't need 16 cells between layers. It only makes your mesh bigger. Remember, snappy always refines the mesh in 3D.
Increase nSmoothPatch to lets say 6 and then see where that gets you. Increase nRelaxIter to 100.
And remember, snappy runs fine in parallel.
Let me know what happens.
Thank you Miro! I knew it had to be some minor adjustment.
It worked like a charm. The 2D case now runs good. I still have to try 3D but that shouldn't be a problem I guess.
I still have another question about SHM. When I want to refine the region around the airfoil, I use:
level (6 9);
But if I increase the 9 to 11 for instance to refine around the airfoil, then it takes SHM very long to solve for the mesh (it already takes 10 minutes for (6 9) with 8 processors), because the non-extruded mesh contains more than 10 million cells.
So my question is: Is there any way to refine the mesh around the airfoil without having to extrude a mesh of more than 10 million cells?
Also when I increase the refinement, no layers will be added anymore.
I'm not sure that no boundary layer is a good idea.
|All times are GMT -4. The time now is 22:25.|