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.

Hexahedral mesh

More
1 year 10 months ago #4410 by andressa
Hexahedral mesh was created by andressa
Dear,
Can I work with hexahedral meshes in ngsolve?
More
1 year 10 months ago #4413 by mneunteufel
Replied by mneunteufel on topic Hexahedral mesh
Hi andressa,

yes, NGSolve supports hexahedral meshes and the corresponding finite elements are also available.

E.g., with

from ngsolve import *
from ngsolve.meshes import MakeStructured3DMesh
mesh = MakeStructured3DMesh(hexes=True, nx=10,ny=10,nz=10, mapping=lambda x,y,z : (2*x,y,z))
Draw(mesh)

you can generate a box with x-length 2 and y,z-length 1.

Best,
Michael
Time to create page: 0.167 seconds