-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boundary Layer mesh will not be created #27
Comments
Hi, it sounds a bit like NETGEN is going havoc, because it tries to create too many cells. 25k triangles should not require that much memory, unless you have a massive volume source somewhere. The boundary layer process itself does not consume much memory, but the initial tetra grid does. Is the mesh correctly oriented? In any case this should probably be caught somehow. If you make the files available somewhere I could have a look. Regards, |
Hi Oliver, thank you for the quick reply. there is noch volume source at all. Is there a tetra grid at all, when building the boundary layer mesh before creating the volume mesh? The files are available under http://139.30.100.166/kwijybo.tar.gz Thank you, |
Correct, NETGEN only creates the tetras, but before creating the prismatic boundary layer, NETGEN is called once in order to create an initial tetra grid; This initial tetra the grid will be deleted again. If, for whatever reason, NETGEN thinks it needs more and more cells it will inflate until it crashes. This appears what is happening in your case. |
Andreas, I have checked the case and the patches are oriented inside out. This does not fix the problem, however. The NETGEN library call enters a strange endless loop which floods the memory. My suggestion for this case is to improve the surface mesh by assigning a different boundary code for every distinct geometric feature. This would avoid rounded edges and keep the geometric features intact. Maybe the case will mesh without problem then. Generally the geometry is fairly simple and should not pose any problem -- theoretically. I will close this issue now, but I have created a new issue about better error handling for NETGEN calls. (see #28). Regards, |
To complete this issue, I found the "solution": |
Hello again,
I ran into problems when creating boundary layers on a geometry with several patches.
After creating the surface mesh, I wanted to create the boundary layers on 14 of the 20 available patches with 25k triangles (these patches are next to each other, if this is important). After my 32 GB of RAM where not enough for this task, I went to another workstation, where the creation of the boundary layers is runnig for about 24 hours now on a 2,4 GHz core using about 140 GB of RAM and not dropping any message to the logfiles or the terminal it was startet from since the following:
creating boundary layer mesh)
preparing prismatic layer
prism quads : 0
prism triangles : 0
stray quads : 0
stray triangles : 28538
WARNING: RestrictLocalH called, creating mesh-size tree
If you need it, I could post the engrid files, so you can work on this case.
Would be nice, if you could help me. Thank you.
Regards
Andreas
The text was updated successfully, but these errors were encountered: