A Matlab/Octave program which solves a static nonlinear FEM problem with linear shape functions, for an ideal elastic-plastic material. Stress-Distribution, elastic and plastic regimes, convergence crteria are generated
make
input.m
:: The file to start withElastoPlastic.m
:: The file to calculate elastic + plastic strainsElastic.m
:: The file to calculate elastic convergenceElementRoutine.m
:: to determine J, B, N matrix valuesMaterialRoutine.m
:: Material routine for elastic ideal-plastic materialexact.m
:: to calculate the analytical solution
Change the value in of 'mode' to either '1' or '2' in Input.m
file to switch
between:
mode = 1
-> for calculating elastic convergence,mode = 2
-> for calculating elastic + plastic strains
Can also modify the other parameters based on the needs:
- elements
- yield stress, E, Nu
- inner/outer radius
- Gauss points
- time-step