Skip to content

zolabar/FEM

Repository files navigation

Binder

FEM: Finite Element Method

not only for solid mechanics :)

FEM 1D example with Python created by Zoufiné Lauer-Baré

GitHub LinkedIn Google Scholar

5 Node example for 1D PDE with constant right hand side and prescribed Dirichlet boundary conditions. Example could be a rod displacement or plane gap flow.

Meshing: Nodes and Elements

meshing

Assemble system: Shape Functions

shape functions

Solution: Numerical FEM approximation exact at the nodes!

solution

Usage

Click on the binder button Binder for using the Python Code in Cloud

or install Python, Jupyter etc... and download or clone this repository.

FEM vs. FVM: Find the difference!

fem vs fvm

-> FEM exact on nodes and FVM exact at gradients between nodes

Visualization of analytical plate deformation in 3D!

fem vs fvm