Mesh Quality Dict and Layer Addition
Dear all,
I have a question concerning a topic that has been discussed a lot over the years. However, I was not able to find a complete answer to my doubts. I have meshed a region of space using SHM and I have already simulated the flow behavior with an easy test case. The results are rough but satisfying. Then, I decided to add the layers to my mesh to simulate the boundary layer close to the object. Firstly, I added the layers and nothing happened. Then, after a bit of deeper research I have found out in this blog that, "deactivating" the mesh controls, the added layers should appear. And it works! By the way, this fact added (if possible) more confusion to me and, hence, I have several questions that I'm trying to summarize in some focal points here: 1) The fact that the layer addition, in my case, doesn't work with the "default mesh controls" means that my mesh is bad? 2) Why there are controls that impact more than others into the layer addition? Is it because my mesh is bad or is it because some parameters are "intrinsically less prone" than others to the layer addition? (In my case the parameters that change the most the output of the boundary layer are: maxNonOrtho, minTetQuality and minTwist) 3) If the answer to 2) is the first one, how can I improve the quality of my mesh? 4) If the answer to 2) is the second one, do I have to use two separate SHM&qualityMesh dictionaries one for the snapping of the mesh and the other one for the layer addition? In this second case, am I allowed to change the mesh control parameters deactivating them? Or is it a risky gamble that can change the physics and the results of the problem? I am sorry if this thread is confusing but so I am. I have done my best to explain myself in the best way possible. If needed, I can add whatever content that can explain the problem better. In the end, I think that my question can be summarized in the following one: "Which one is the correct procedure to set up a good (and physical) layer addition?" Many thanks in advance to everyone that try to answer my question and to clarify my doubts. Kind regards, Enrin |
Hello Enrin,
I will try to give some insights, I hope others will also do the same.
Additional advice: activate writeFlags at the end of snappyHexMeshDict to write fields to visualize cell levels and layer coverage: Code:
writeFlags Cheers, Yann |
Quote:
|
All times are GMT -4. The time now is 00:41. |