2d Delaunay triangulation

Hi,

is it possible to create Delaunay meshes of 2-d domains with netgen/NGSolve?

I’m using NGSolve to implement time-integration techniques for the time-dependent Navier-Stokes equation in my mater thesis and generally prefer Delaunay meshes, due to the nice properties of the discrete Laplace operator on such triangulations.

Best wishes,
Henry

Hi Henry,

Given a set of points you can use scipy to generate a Delaunay-triangulation (see here ).
With that you can create a Netgen mesh manually as described in the documentation .

Best,
Matthias

Hello Matthias,

thank you for your answer! I’ve also discovered a high level python mesher which should make it easier to generate “nice” meshes.

Is it also possible to manually generate a mesh as described in the documentation together with periodic boundary conditions?

Best wishes,
Henry

Hi Henry,
If you can generate a periodic mesh, then it should work as described here:

Best
Christopher

Hi Henry,

the meshes at the boundaries which should be periodic have to coincide.
If that’s the case, you can do it the way described in the discussion Christopher pointed you to.

Best,
Christoph

Hi Christoph and Christopher,

thank you very much for your help! I’ll give it a go in the coming days :slight_smile:

Best wishes,
Henry