Hexahedral mesh
- andressa
- Topic Author
- New Member
Less
More
2 years 6 months ago #4410
by andressa
Hexahedral mesh was created by andressa
Dear,
Can I work with hexahedral meshes in ngsolve?
Can I work with hexahedral meshes in ngsolve?
- mneunteufel
- Offline
- Premium Member
Less
More
- Thank you received: 59
2 years 6 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
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.102 seconds