{"id":20026809,"url":"https://github.com/hariprasadr1hp/fem_matlab","last_synced_at":"2025-06-19T22:08:15.464Z","repository":{"id":157976922,"uuid":"127682120","full_name":"hariprasadr1hp/FEM_Matlab","owner":"hariprasadr1hp","description":"A Matlab program which solves a static nonlinear FEM problem with linear shape functions, for an ideal elastic-plastic material","archived":false,"fork":false,"pushed_at":"2024-08-09T18:19:41.000Z","size":274,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-05T02:36:09.752Z","etag":null,"topics":["finite-elements","linear-elasticity"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hariprasadr1hp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-02T00:17:36.000Z","updated_at":"2024-12-17T20:17:52.000Z","dependencies_parsed_at":"2024-08-09T19:44:15.045Z","dependency_job_id":"714185e4-cdda-46d3-ae7b-b20882a00c91","html_url":"https://github.com/hariprasadr1hp/FEM_Matlab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hariprasadr1hp/FEM_Matlab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasadr1hp%2FFEM_Matlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasadr1hp%2FFEM_Matlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasadr1hp%2FFEM_Matlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasadr1hp%2FFEM_Matlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hariprasadr1hp","download_url":"https://codeload.github.com/hariprasadr1hp/FEM_Matlab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasadr1hp%2FFEM_Matlab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260838605,"owners_count":23070607,"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":["finite-elements","linear-elasticity"],"created_at":"2024-11-13T09:08:10.174Z","updated_at":"2025-06-19T22:08:10.446Z","avatar_url":"https://github.com/hariprasadr1hp.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FEM (Matlab/Octave)\n\nA Matlab/Octave program which solves a static nonlinear FEM problem with linear\nshape functions, for an ideal elastic-plastic material. Stress-Distribution,\nelastic and plastic regimes, convergence crteria are generated\n\n### How to run?\n\n```bash\nmake\n```\n\n### Files:\n\n- `input.m` :: The file to start with\n- `ElastoPlastic.m` :: The file to calculate elastic + plastic strains\n- `Elastic.m` :: The file to calculate elastic convergence\n- `ElementRoutine.m` :: to determine J, B, N matrix values\n- `MaterialRoutine.m` :: Material routine for elastic ideal-plastic material\n- `exact.m` :: to calculate the analytical solution\n\n### Procedure\n\nChange the value in of 'mode' to either '1' or '2' in `Input.m` file to switch\nbetween:\n\n- `mode = 1` -\u003e for calculating elastic convergence,\n- `mode = 2` -\u003e for calculating elastic + plastic strains\n\nCan also modify the other parameters based on the needs:\n\n- elements\n- yield stress, E, Nu\n- inner/outer radius\n- Gauss points\n- time-step\n\n### Plots\n\n- ![Convergence Study in Elastic Regime](Plots/1_Convergence%20Study%20in%20Elastic%20Regime.png)\n- ![widening of outer radius b over time](Plots/2_widening%20of%20outer%20radius%20b%20over%20time.png)\n- ![$\\sigma_{rr}$ Distribution](Plots/3_sigmarrdistribution.png)\n- ![$\\sigma_{\\phi \\phi}$ Distribution](Plots/4_sigmaphiphidistribution.png)\n- ![Displacement Distribution $u$ at $t=1$](Plots/5_Displacement%20distribution%20u%20at%20tequals1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhariprasadr1hp%2Ffem_matlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhariprasadr1hp%2Ffem_matlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhariprasadr1hp%2Ffem_matlab/lists"}