Contains Scilab codes for BN5205 Computational Biomechanics
- Week 2: Introduction to Scilab
- Fizz-Buzz
- Plot function
- Linear system
- Sum of even Fibonacci numbers
- Week 3: Viscoelasticity (Single ODEs, Explicit)
- Solving Kelvin-Voigt governing equation using various numerical methods
- Forward Euler
- Heun's Method
- Midpoint Method
- 4th order Runge-Kutta method
- Comparison between numerical methods and experimental data of the hysteresis loop
- Week 4: Smooth Muscle Contraction (Multiple ODEs, Explicit & Implicit)
- Solving Hai & Murphy model using various numerical methods
- Forward Euler
- Heun's Method
- Midpoint Method
- Stability of implicit method vs explicit method
- Backward Euler
- Midpoint Method
- Week 5: 3-point Bending on Tibia (2nd order ODE: IVP and BVP)
- Solving Euler-Bernoulli beam theory equation (BVP) using two methods
- Shooting method
- Equilibrium method
- Verifying numerical result against analytical result
- Week 6: Leukocyte Migration (Parabolic PDE)
- Solving 1D diffusion-convection model
- Forward-Time Central-Space Method
- Method of line with Forward Euler
- Crank Nicolson method
- Week 7: Cryoablation (Elliptic PDE)
- Solving 2D steady state heat equation using finite difference
- Dirichlet BC
- Neumann BC
- Week 8: Finite element linear basis functions
- 1D linear basis function and 1D linear Lagrange interpolation
- 2D bilinear basis functions and 2D linear Lagrange interpolation
- Week 9: 1D steady-state heat conduction
- Solving 1D steady-state heat equation using finite elements
- Week 11: Gaussian quadrature
- Week 12: Sparse Matrix Operations
- Simulate membrane potential using model of a mesencephalic V neuron developed
by Wu et al
- Solve multiple ODEs using Forward Euler and Heun's Method
- Simulate 2D diffusion-reaction equation