- Thank you received: 6
another question on manual quad mesh in 2D: curved edges
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
6 years 7 months ago #448
by Guosheng Fu
Hello,
I was trying to obtain a manual high-order quad mesh for a simple geometry, the ring.
I can only get the straight-sided quadirlaterials, in attachment, but didn't find available resources to deal with a curved edge.
Thanks in advance!
Best,
Guosheng
I was trying to obtain a manual high-order quad mesh for a simple geometry, the ring.
I can only get the straight-sided quadirlaterials, in attachment, but didn't find available resources to deal with a curved edge.
Thanks in advance!
Best,
Guosheng
Attachments:
6 years 6 months ago #494
by cwinters
Replied by cwinters on topic another question on manual quad mesh in 2D: curved edges
Hi Guosheng,
in the latest version you can curve 2d manually generated meshes.
You have to define a geometry as you would do when Netgen generates a mesh for you and set it as geometry in your mesh.
Finally you have to tell the boundary elements to which edge of the geometry they belong. The edge numbering is 1-based. One important point is that each boundary element has to be a subset of an edge, otherwise it won't work.
Best
Christoph
in the latest version you can curve 2d manually generated meshes.
You have to define a geometry as you would do when Netgen generates a mesh for you and set it as geometry in your mesh.
Code:
ngmesh.SetGeometry(geom)
Finally you have to tell the boundary elements to which edge of the geometry they belong. The edge numbering is 1-based. One important point is that each boundary element has to be a subset of an edge, otherwise it won't work.
Best
Christoph
Attachments:
Time to create page: 0.099 seconds