Bad stl surface fitting
1 Attachment(s)
Good evening,
I am new with snappyHexMesh and currently trying to mesh a square beam. I am facing problem as can be seen on the picture : there are some steps in the mesh (the red square is the stl geometry). Previously, I already tried to mesh the same square but with no angle of attack and it was fine. I tried to increase the resolution which led me to huge mesh, played with the angle, but nothing seems to work. If someone knows how to solve my problem, it would be great. Thank you for your help, Damien Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Hi Damian,
Firstly a caveat: I'm also fairly new to SHM so not speaking from vast experience. It looks like you have an issue with the "snapping" stage of the process, because your Beam1 boundary appears castellated suggesting it has not snapped accurately (or at all) to the stl. According to the user guide: Quote:
So you could try relaxing the mesh quality criteria in meshQualityDict to see if this improves snapping. An alternative approach might be to rotate the background mesh by the angle of attack so it is aligned with your beam, then rotate the final mesh back again afterwards. Hope this helps. |
Hello Tom,
Thank you for your answer. I'm sorry but the snappy is not as bad as I showed on the picture : it was just a matter of time step in paraview ! I'm facing some other problems now and trying to solve them. Thank you for your help. Damien |
All times are GMT -4. The time now is 22:11. |