A simple Python-based Finite Element Method Library.
- 2019.07.12 getting start
- 2019.07.13 Finished a simple 1-D Finity Element Method
- python 3.6
- numpy 1.16.3
- scipy 1.0.1
- matplotlib 3.0.2
Installation is simple! clone this repo and run
python setup.py install
at the root folder.
we konw that the true solution of u is
eq = {'bnd': np.array([0, 0]),
'f': lambda x: np.pi**2 * np.sin(np.pi * x),
'domain': np.array([0, 1]), 'split': ['step', 8]}
fem = FEM1D(eq)
fem.run()
we could know the numerical solution obtained by finite element method.
- EastMagica - Initial work - EastMagica
This project is licensed under the MIT License - see the LICENSE.txt file for details
- Yi Nianyu, Xiangtan University
- Wang dongling, Northwest University
- etc