Not extruding boundary layer [SOLVED]
1 Attachment(s)
I'm trying to obtain a mesh using snappyHexMesh. I'm using "consolidated" settings (in the sense that these are settings that i often use without any problem).
But in this mesh I needed to create also baffle, therefore I did only one change to the settings: As far as I understood this setting may give some problem with the mesh quality. Indeed I obtained: But over a such a big mesh I hope they don't represent a problem. The real problem is with BL: I really don't understand what I'm doing wrong as I checked the dict many times and the mesh doesn't seem to have evident problems (exept for missing BL). Can someone check if there are evident error in the snappyHexMeshDict I attached? Wherelse can the problem lie? (I also uploaded here the log) |
Hi !
Based on your SHMDict, from my point of view, to improve the layers coverage you can try to decrease the resolveFeatureAngle from the castellated phase to 15 degrees. For the snapping phase try to activate multiRegionFeatureSnap. And for the addLayers one, try to put nGrow to 0 because for my cases it has always produced a bad layer coverage onto the geometry. Cheers, |
Thank you for your suggestions!
...but my problems got worse :( I increased some refinement parameter in addition to the changes you suggested. By doing so my CAD file has proved not to be watertight. Therefore I changed the STL and now it seems to be watertight. Nevertheless snappy gets completrly stuck at the layer addition phase: Code:
Shrinking and layer addition phase Code:
--> FOAM FATAL ERROR: And also with checkMesh it looks like there are no big problems: Code:
[...] What can I do next? Since I found few online resouce on that error message I have no clue on how to adress it. |
Hi !
Really strange,by looking at this statement : Code:
Merging all faces of a cell Code:
Merging all faces of a cell For me the limit is 180 degrees because there is no improvement above it and because it is related to other function maybe it crashes ? so you can test with featureAngle less or equal to 180. Cheers. |
1 Attachment(s)
Thank you so much for your speedy reply!
I forgot to mention that I also had alreay lowered featureAngle at 180 deg. In order to try your suggestion I tried to lower it further, setting it at 130 deg. Therefore the "strange" part should now look more standard: Code:
Merging all faces of a cell I uploaded the full log here and the updated dict. Do you have any further suggestion? P.S.: Do you think this can happen because of the new STL files? I tend to exclude that since the other two phases work well... but I don't know what to think... |
To be sure it is the STL file have you done a
Code:
checkMesh -allGeometry -allTopology I've just found this thread which is quite interesting for your error if you did not read it yet. It is talking about higher refinement level for edges or better tolerance for your CAD file. https://www.cfd-online.com/Forums/op...ide-loops.html |
Ok in these days our server is being used by someone else but I manage to run at least the checkMesh
Code:
/*---------------------------------------------------------------------------*\ Regarding the topic you linked me: I've already read it, I tried to increase some parameter but, as you can see from the dict, they are already pretty high (therefore I'm already at the limit of server resources). Should I try to increase some setting even further or do you suggest something else? |
To be honest I'm running out of ideas. :(
Maybe changing the decomposition method or drastically the version of OpenFOAM could solve this kind of problem. |
Quote:
I'm posting a quick update if someone wants to share any other idea. This is what I've done so far:
Quote:
Just a final considerations after reading this comment (and in general the whole topic): I think that there is nothing wrong in my STL files nor in my snappyHex settings per se, but probably the combination of both, at high refinements, generates that problem. Unfortunately I cannot share my geometry but I hope that someone has some suggestions on how to avoid that behavior in general. |
I think I managed to solve my problem. There were mainly 3 problems:
Just a note about this: Quote:
Quote:
Anyway, thank you again for your help! |
I'm glad you've solved your problem !
Thanks for sharing this interesting paper. |
All times are GMT -4. The time now is 02:24. |