|
[Sponsors] |
February 10, 2020, 11:42 |
|
#21 |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10 |
Hello HPE and AtoHM
I simplified the case so I can demonstrate the problem more clearly. Attached are 3 blockMeshDict files. Baseline is that the block has a little space (baffle space) out of STL. Left blockMeshDict is the one with left block side a little inside the STL (0.5mm) and right blockMeshDict is the one with right block side a little inside the STL (0.5mm). Baseline failed to snap and the rest two snap very well. I believe there is a bug in the snappyHexMesh but would like to hear your comments on this. Kind Regards, |
|
February 11, 2020, 13:13 |
|
#22 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Dear all,
I am just writing as Charles sent me a message. A short analysis:
Maybe I did not get the point but snappying is fine on my computer.
__________________
Keep foaming, Tobias Holzmann |
|
February 11, 2020, 14:31 |
|
#23 |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10 |
Hi Tobi,
Thank you, I can make the mesh! Though, I'm still puzzled that snapping works by moving blockmesh side a bit inward into the stl geometry . I checked the boundary file, they are pretty much the same. I will dig deep into it. |
|
February 11, 2020, 15:24 |
|
#24 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
The outcome you observe is common and known. However, even though I wanted to dig into that already 5 years ago, I never found the time to analyze the code. Furthermore, my background knowledge about meshing strategies and quality criteria calculation is almost zero. In order to provide all patches, it is common practice to make the background mesh a bit larger, otherwise the patch name of the background mesh should be added (maybe I am wrong here).
Actually my steps are always the same:
__________________
Keep foaming, Tobias Holzmann |
|
February 11, 2020, 15:40 |
|
#25 |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10 |
Thanks Tobi, I took a note of your procedure!
My plan to dig deep into the code might be over ambitious. But I can write a python script to automate the process (including Salome). |
|
July 27, 2022, 11:03 |
|
#26 | |
Member
Wolfram Schneider
Join Date: Jan 2018
Location: Germany
Posts: 57
Rep Power: 8 |
Quote:
Have you found the reason for this message? I am facing the same issue |
||
July 27, 2022, 11:17 |
|
#27 |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10 |
I solved the problem but cannot recall exactly now.
The error message basically says it tried to refine the mesh in the refinement region. But the refinement region is too small that it doesn't have enough initial background cells for refinement. The solution might be to redefine the refinement region to make it larger. Hope it works for you.
__________________
Charles L. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Failed Edge Snap with box geometry and correct feature capture | thiagomarinho | OpenFOAM Meshing & Mesh Conversion | 7 | May 7, 2022 10:19 |
[snappyHexMesh] problems with sHM: it doesn't snap! | Claudio87 | OpenFOAM Meshing & Mesh Conversion | 25 | July 10, 2020 09:06 |
[snappyHexMesh] snappyHexMesh failing to snap ("did not find surface within...") | Jaworski.Mike | OpenFOAM Meshing & Mesh Conversion | 7 | December 2, 2019 21:13 |
[snappyHexMesh] snappyHexMesh doesnt snap | staustrahltriebwerk | OpenFOAM Meshing & Mesh Conversion | 47 | March 18, 2018 15:19 |
[snappyHexMesh] snappyHexMesh failure to snap to geometry | Yadasol | OpenFOAM Meshing & Mesh Conversion | 1 | November 17, 2014 06:00 |