- Thank you received: 0
Generating a `quad`-only mesh
- bhaveshshrimali
- Topic Author
- Offline
- Junior Member
Less
More
5 years 2 months ago #1811
by bhaveshshrimali
Generating a `quad`-only mesh was created by bhaveshshrimali
I am trying to generate a mesh that consists of only quads (4-noded). Is this supported in NetGen ?
However this generates of course meshes with both triangles and quads, with the latter "dominating".
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".
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
5 years 2 months ago #1817
by christopher
Replied by christopher on topic Generating a `quad`-only mesh
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)
Sorry, quad only meshes for arbitrary geometries are not implemented (and afaik not attempted to)
Time to create page: 0.097 seconds