Giter Club home page Giter Club logo

Comments (5)

ogloth avatar ogloth commented on July 28, 2024

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,
Oliver

from engrid.

 avatar commented on July 28, 2024

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?
By the way, a general question: is it NETGEN or engrid, which creates the boundary mesh? I thought, NETGEN is only doing the volume mesh, but that might be wrong as well.

The files are available under http://139.30.100.166/kwijybo.tar.gz

Thank you,
Andreas

from engrid.

ogloth avatar ogloth commented on July 28, 2024

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.

from engrid.

ogloth avatar ogloth commented on July 28, 2024

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,
Oliver

from engrid.

 avatar commented on July 28, 2024

To complete this issue, I found the "solution":
As I scaled the surface mesh after generation, the geometry was broken somehow. when I scaled the geometry in blender before improting it to engrid it worked. So the problem may be related to the scaling operation after surface and volumen mesh generation.
Again thank you for your help, Oliver!

from engrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.