Mesh1_3D#

Meshing a 3D domain.

Mesh1 3D
Mesh1 3D
13 from EasyFEA import Display, ElemType, PyVista
14 from EasyFEA.Geoms import Point, Domain
15
16 if __name__ == "__main__":
17     Display.Clear()
18
19     contour = Domain((0, 0), Point(1, 1))
20     PyVista.Plot_Geoms(contour).show()
21
22     # "TETRA4", "TETRA10", "HEXA8", "HEXA20", "HEXA27", "PRISM6", "PRISM15", "PRISM18"
23     elemType = ElemType.HEXA8
24     mesh = contour.Mesh_Extrude([], [0, 0, 0.5], [3], elemType)
25     PyVista.Plot_Mesh(mesh).show()

Total running time of the script: (0 minutes 0.313 seconds)

Gallery generated by Sphinx-Gallery