{"id":26437255,"url":"https://github.com/zolabar/fem","last_synced_at":"2026-04-18T17:04:48.191Z","repository":{"id":63041905,"uuid":"412215315","full_name":"zolabar/FEM","owner":"zolabar","description":"FEM 1D example with Python","archived":false,"fork":false,"pushed_at":"2022-11-16T12:05:11.000Z","size":3379,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-08T22:06:11.454Z","etag":null,"topics":["displacement","fem","fvm","jupyter-notebook","numerics","numpy","python","strain"],"latest_commit_sha":null,"homepage":"https://zolabar.github.io/FEM/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zolabar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"citation.cff","codeowners":null,"security":null,"support":null}},"created_at":"2021-09-30T20:20:04.000Z","updated_at":"2022-11-11T14:02:43.000Z","dependencies_parsed_at":"2023-01-23T10:56:30.681Z","dependency_job_id":null,"html_url":"https://github.com/zolabar/FEM","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolabar%2FFEM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolabar%2FFEM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolabar%2FFEM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolabar%2FFEM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zolabar","download_url":"https://codeload.github.com/zolabar/FEM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244183637,"owners_count":20412069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["displacement","fem","fvm","jupyter-notebook","numerics","numpy","python","strain"],"created_at":"2025-03-18T08:29:00.258Z","updated_at":"2026-04-18T17:04:43.152Z","avatar_url":"https://github.com/zolabar.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/zolabar/FEM/HEAD)\n\n# FEM: Finite Element Method \n## not only for solid mechanics :)\n\nFEM 1D example with Python created by Zoufiné Lauer-Baré\n\n[![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/zolabar)\n[![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/zoufine-lauer-bare-14677a77)\n[![Google Scholar](https://img.shields.io/badge/google%20scholar-4285F4?style=for-the-badge\u0026logo=google%20assistant\u0026logoColor=white)](https://scholar.google.com/citations?user=Gsm7ZzUAAAAJ\u0026hl=en\u0026oi=sra)\n\n5 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.\n\n### Meshing: Nodes and Elements\n\n\u003cimg src=FIGURES/diskretisierung.PNG height='200'\u003e\n\n![meshing](/FEM/assets/diskretisierung.PNG)\n\n### Assemble system: Shape Functions\n\n\u003cimg src=FIGURES/formfunktionen.PNG height='200'\u003e\n\n![shape functions](/FEM/assets/formfunktionen.PNG)\n\n### Solution: Numerical FEM approximation exact at the nodes!\n\n\u003cimg src=FIGURES/verschiebung.PNG height='200'\u003e\n\n![solution](/FEM/assets/verschiebung.PNG)\n\n### Usage\n\nClick on the binder button [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/zolabar/FEM/HEAD) for using the Python Code in Cloud\n\nor install Python, Jupyter etc... and download or clone this repository.\n\n\n### FEM vs. FVM: Find the difference!\n\n\u003cimg src=FIGURES/fem_vs_fvm.PNG height='500'\u003e\n\n![fem vs fvm](/FEM/assets/fem_vs_fvm.PNG)\n\n**-\u003e FEM exact on nodes and FVM exact at gradients between nodes**\n\n### Visualization of analytical plate deformation in 3D!\n\n\u003cimg src=FIGURES/plate_analytical_uz_scaled.PNG height='500'\u003e\n\n![fem vs fvm](/FEM/assets/plate_analytical_uz_scaled.PNG)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzolabar%2Ffem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzolabar%2Ffem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzolabar%2Ffem/lists"}