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.

Generating a `quad`-only mesh

More
4 years 8 months ago #1811 by bhaveshshrimali
I am trying to generate a mesh that consists of only quads (4-noded). Is this supported in NetGen ?
Code:
geo = SplineGeometry() geo.AddRectangle( p1 = (0.,0), p2 = (2.,4), leftdomain = 1, rightdomain = 0 ) geo.AddCircle( c = (1.,2), r = 0.5, leftdomain = 0, rightdomain = 1 ) ngmsh = geo.GenerateMesh(maxh=0.1,quad_dominated= True)

However this generates of course meshes with both triangles and quads, with the latter "dominating".
More
4 years 7 months ago #1817 by christopher
Quad only meshing is currently only supported for very easy geometries that can be mapped from a reference triangle by creating structured meshes in the module ngsolve.meshes.
Sorry, quad only meshes for arbitrary geometries are not implemented (and afaik not attempted to)
Time to create page: 0.140 seconds