bad trailing edge boundary layer with snappyHexMesh
Hallo,
i want to make a mesh around a naca-0012 with snappyHexMesh, but when i add boundarylayer i get this at the trailing edge of the airfoil. http://img109.imageshack.us/img109/6404/meshd.jpg all the boundarylayer are coming together at one line. this is giving me a not wanted result when i run pimpleFoam. Is there any Option to turn this behaviour off? greeting draufunddran |
featureAngle
I know this is an old post, but I ran across it (and others) today with the same problem.
My solution was to play with featureAngle in the addLayersControls parameters of snappyHexMesh. I decreased this angle to 30 degrees and the resulting boundary layer mesh no longer extended all the way to the TE. |
Like the previous poster, I ran across this old post and thought I'd post a reply as well.
I've found that replacing a sharp trailing edge feature with one with a small radius leads to a much better mesh snap and layer addition. Of course, the feature angle mentioned previously is also a key parameter. |
Hallo everyone,
I'm also having some problems meshing a NACA0010...I've tried to work with the FeatureAngle and i've also replaced the sharp edge with a small radius, but it isn't still ok...any other idea?! Anyway, I've tryed to start a simulation with simpleFoam...everything works fine till the end, but when i try to watch the results with paraView I get this error message: Code:
FOAM FATAL IO ERROR: Code:
/*--------------------------------*- C++ -*----------------------------------*\ thanks! Paolo |
Try removing the empty boundary condition, either by manually editing the boundary file or by running the following:
Code:
createPatch -overwrite |
Hi Artur,
thanks a lot for you reply! Do you mean I should edit the boudary file before starting the simulation? At the moment I have 2 simulations running: One with the boundary file edited, and the other one non-edited ( i'll chenge it at the end) I hope I can see something in a few hours... Paolo |
I think it would be best to do this right after the meshing process as having two BC's for the same patch might make the solver do some hard to predict thing, I imagine.
|
Hi Artur!
Thanks for your hints!!! I've just finished my simulation and it worked properly! Now I just need to refine the mesh to get better results... regards, Paolo |
Regarding trailing edge boundary layer, from my experience It's difficult to obtain better results. I found It's helpful to introduce some refinement in the trailing edge.
One can do that via surface refinement or via volume refinement. I've used surfaceref. but vol version is easier to implement but it creates more cells, so if your mesh is small and not already very refined, that's a place to start. Let my know if you get stuck |
Good mesh - bad mesh
Dear Foamers,
seems there are still problems for snappy dealing with layers at the trailing edge of a foil. I achieved this trailing edge and I am already quite proude of the result: http://s21.postimg.org/d6oabkgyr/Mest_layer_Wing.jpg Although the layers look beautiful, they all end up in ONE cell which is complete nonsense. How can I improve this? edit: (Here, layers are added at all patches except at the patch that belongs to the trailing edge surface.) Refinement with snappy afterwards is not possible, because 'this' cell is no hex-type cell but consists of more than 8 nodes. Before layer addition, the mesh looks like: http://s16.postimg.org/5sjctmqjl/Mesh_wo_Layer_TE.jpg If the mesh at the trailing edge is refined before layer addition, layers are not extruded (this is a common 'error' for me...): http://s28.postimg.org/rg74gggzt/mes...Wing_finer.jpg Its a NACA profile, I use OF301 with block mesh first and snappy afterwards. |
Hi,
I am currently struggling as well. The top image you posted could be just a bad choice of cutting plane. Is it possibly a symmetry or bounding plane of the domain? Try a few mm in span-wise direction. It might look better then. If it looks good, maybe you could then share your settings. Thanks, André |
Dear André,
thanks for your hint. Unfortunately, the result is the same along the spanwise direction. I switched to another meshing tool. But nevertheless I would be happy to find a solution for the issue metioned above. Dear, Peter |
Well as long as shm is involved there never seems to be a simple solution.
OF v30+ is better at creating surface layers so it might be an easy fix. The main issue I see with the v3+ shm version is that it seems to have problems when you have cell zones. So as long as you are only meshing wings it is worth a try. |
Quote:
|
Hey,
if I want to be sure that the layers are properly extruded, I use Hexpress from Numeca and export to OpenFOAM-format. This works pretty well. If I have more time, I still try to get the mesh done with snappy. Possibly these points may help you: - addLayersControls.nLayerIter = 1: only one iteration, layers are normally extruded, but the quality may suffer - meshQualityControls: reduce the required quality, layers are especially sensitive to: maxNonOrtho, maxBoundary/InternalSkewness (for tapered edges), minTetQuality (you can disable most parameters and check whether layers will be extruded). Good luck! |
All times are GMT -4. The time now is 19:44. |