This project is my implementation of FEM for structures as part of my coursework in MSc Civil and Water Engineering at Cardiff University This is a project under developement.
The main package, fempy, is divided into four subpackages:
- elements: This subpackage contains a set of classes for structural elements, like Triangular2D element, Bar2D element, etc.
- mesh: This subpackage provides helper classes for automatic mesh generation.
- solvers: This is the main subpackage, which contains all the solver classes for many different applications.
- examples: As the name states, this package provides some small commented scripts to help the user structure his approach.
This project is not yet published to PyPI. To install it you have to build it from source.
- Clone the repository and cd inside
git clone https://github.com/nikolisan/FEMpython.git
cd FEMpython
- Install the library
python3 -m pip install .
- Optional. To uninstall the library
python3 -m pip uninstall fempy
After installing the library you can import it to your project
import fempy
# OR
from fempy.elements import TriangularElement2D as Element
from fempy.solvers import PlaneTriangular2D as Solver
You can find more usage examples in the [examples](fempy/examples. folder.
- Nikolaos Andreakos - MSc Civil and Water Engineer
Find me on Linked In