- Thank you received: 24
2d Delaunay triangulation
6 years 11 months ago #303
by hvwahl
2d Delaunay triangulation was created 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
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
6 years 11 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
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
6 years 11 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
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
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
6 years 11 months ago #308
by christopher
Replied by christopher on topic 2d Delaunay triangulation
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
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
6 years 11 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
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
Time to create page: 0.107 seconds