A Python package for finite element method (FEM) in solid mechanics
You should download all the code and install the following packages:
- numpy
- scipy
- pyvista
- linear elasticity
- 2D Quadrilateral element (Q1,Q2)
- 3D Hexahedral element (Q1,Q2)
- BBar element for 3D Q1 element
- Perfect post-processing
- Export VTK file
You can install the packages by
- pip install numpy
- pip install scipy
- pip install pyvista
Run the test.py or other test file, you can get the displace and stress as following
See https://github.com/Qinxiaoye/FEM2D to learn how to create the input files from ANSYS
My bilibili (https://www.bilibili.com/video/BV14J4m1u7kC/?share_source=copy_web&vd_source=8381a0f0649669500500f77fc36946af)