8000 GitHub - Qinxiaoye/xpfem: A python package for finite element method (FEM) in solid mechanics
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Qinxiaoye/xpfem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xpfem

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

Features:

  • linear elasticity
  • 2D Quadrilateral element (Q1,Q2)
  • 3D Hexahedral element (Q1,Q2)
  • BBar element for 3D Q1 element
  • Perfect post-processing
  • Export VTK file

Run code

You can install the packages by

  1. pip install numpy
  2. pip install scipy
  3. pip install pyvista

Run the test.py or other test file, you can get the displace and stress as following

Preparing input files from ANSYS

See https://github.com/Qinxiaoye/FEM2D to learn how to create the input files from ANSYS

see video from:

My bilibili (https://www.bilibili.com/video/BV14J4m1u7kC/?share_source=copy_web&vd_source=8381a0f0649669500500f77fc36946af)

About

A python package for finite element method (FEM) in solid mechanics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0