Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

2d Delaunay triangulation

More
6 years 4 months ago #303 by hvwahl
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
More
6 years 4 months ago #306 by matthiash
Replied by matthiash on topic 2d Delaunay triangulation
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
More
6 years 4 months ago #307 by hvwahl
Replied by hvwahl on topic 2d Delaunay triangulation
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
More
6 years 4 months ago #308 by christopher
Hi Henry,
If you can generate a periodic mesh, then it should work as described here:
ngsolve.org/forum/ngspy-forum/63-periodic-cube-mesh

Best
Christopher
More
6 years 4 months ago #309 by cwinters
Replied by cwinters on topic 2d Delaunay triangulation
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
More
6 years 4 months ago #310 by hvwahl
Replied by hvwahl on topic 2d Delaunay triangulation
Hi Christoph and Christopher,

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

Best wishes,
Henry
Time to create page: 0.152 seconds