SnappyHexMesh do not add layers
1 Attachment(s)
Dear all,
I would like to add layers around a small cylindrical hole in a very thin plate (width = 1 mm), but the layers are not added with the log "no layers to generate". Here is the snappyHexMeshDict: Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
relativeSizes no; I would very appreciate any hint on how to get the layers to work. Thank you! |
Hi,
on first look I would think it should work, I hope not to miss something obvious. It could be beneficial if you provided the log file. What can stop the layers from growing is a clash with any of the quality metrics. I see you are not completely using the default values, or, at least I spotted "minFlatness" which is not in the ESI 2112 version: https://www.openfoam.com/documentati...shquality.html it might be "minFaceFlatness" but its inactive by default. You can try with the default setting, maybe it helps. |
1 Attachment(s)
Dear AtoHM,
thank you very much for the reply and for the hint! I will try to use the default quality metrics. Meanwhile, I attach the log file. I would very appreciate if you could take a look. Thanks again for the help! |
UPDATE: I tried the following quality metrics:
Code:
maxNonOrtho 75; I would very appreciate further help! |
Hello folks,
It seems you are meshing a multiregion case, according to the use of locationsInMesh. For such case, snappy creates interfaces during the meshing process, as you can see in your log file : Code:
Adding patches for face zones To do so, you will have to use these names in your layer definition. (for instance fluid_to_plane) I hope I didn't say anything stupid because it's been a while I didn't run a multiregion case. Regards, Yann |
Dear Yann,
thank you for the help! Yes, I do mesh a multi-region case. At first, I didn't want to create the layers over the whole plane, but over the holes only. I thought it was possible. But may be not in the multi-region case? However, eventually I will need to have the layers over the whole plane, therefore, I will try to use the patch names as you suggest. Thank you very much for the help! |
Dear Yann,
thank you for the hint! I tried using the interface patches and it worked. Now I am getting the layers at all interfaces: fluid-pipe, fluid-plane. Thank you again for the help! |
All times are GMT -4. The time now is 12:32. |