Skip to content

Devansh1106/finite-element-method

Repository files navigation

Finite Element Method

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.

Contents

  • 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.

Requirements

  • Julia for the .jl scripts and notebooks.
  • MATLAB for the files under matlab/.
  • A LaTeX distribution if you want to build the slides in fem_project/fem-slides/.

Usage

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.

Notes

The code is organized as course work and example implementations, so individual files may use different problem setups and dependencies.

About

Code for FEM 1D and 2D, including the assignment solutions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors