FEM 1D example with Python created by Zoufiné Lauer-Baré
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.
Click on the binder button for using the Python Code in Cloud
or install Python, Jupyter etc... and download or clone this repository.
-> FEM exact on nodes and FVM exact at gradients between nodes