This repository collects coursework and practice code for finite element methods in Julia and MATLAB. It includes small solver implementations, assignment notebooks, and a slide deck on convection-diffusion and SUPG stabilization.
fem1d.jl,fem2d.jl,ocfem.jl: Julia examples for 1D and 2D FEM problems.assign1_ims22090_*.jl,assign2_ims22090_1.ipynb,assign6_ims22090.ipynb: assignment solutions and notebooks.matlab/: MATLAB implementations and practice scripts.fem_project/fem-slides/: Beamer slides for a FEM presentation.
- Julia for the
.jlscripts and notebooks. - MATLAB for the files under
matlab/. - A LaTeX distribution if you want to build the slides in
fem_project/fem-slides/.
Run the Julia scripts directly with julia <file>.jl. Open the notebooks in Jupyter or VS Code. The MATLAB files can be run from MATLAB, and the slide deck can be compiled from fem_project/fem-slides/main.tex.
The code is organized as course work and example implementations, so individual files may use different problem setups and dependencies.