Skip to content

A simple Matlab implementation for 1D finite element methods for different physical phenomena: Heat transfer (linear/non-linear, steady-state/transient), wave equation (elastodynamics), and Coupled thermo-mechanics.

License

AbdullahWaseem/1D-Finite-Element-Codes-Matlab

Repository files navigation

One-Dimensional Finite Element Codes

Context

This repository contains Matlab implementation of one-dimensional finite element codes. During my Ph.D. studies, to learn the basics of a subject, I use to derive all the equations and write a simple finite element code to run some tests. The experience gained during that stage greatly helped me when I had to extend it towards more complicated theory, complex geometry and two-dimensional cases. I hope someone who has just started the graduate studies would greatly benifit from these simple implementations.

How to use the code?

Students who have been through an introductory course on finite element method can easily understand the content of the code. Examples for different physical phenomena are implement and can be run for

  • steady-state heat transfer : HeatTransfer_Linaer.m
  • transient heat transfer - with generalized-theta method : HeatTransfer_Linear_Transient.m
  • wave equation -- with Newmark Family - A method : WaveEquation_NewMarkAlpha.m
  • non-linear steady-state heat transfer : HeatTransfer_NonLinear.m
  • non-linear transient heat transfer - with Euler back time integration : HeatTransfer_NonLinear_Transient.m
  • thermo-mechanics -- with Gamma time integration : ThermoMechanics_GammaMethod.m
  • thermo-mechanics -- with Newmark time integration : ThermoMechanics_NewMark.m
  • data-driven approach for transient mass diffusion : DD_Transient_Diffusion.m

Any bugs, comments, suggestions, and discussion on the theoratical and implementation aspect are highly appreciated. You can contact me at engineerabdullah@ymail.com .

Cite this work

Please cite this work as

Waseem, A. (2020) A simple Matlab implementation of 1D finite elements. Retrieved from https://github.com/AbdullahWaseem/1D-Finite-Element-Codes-Matlab

Disclaimer

This code is purely for educational purposes. All rights are preseved, however, author shall not be liable in any event caused by the use of the code.

About

A simple Matlab implementation for 1D finite element methods for different physical phenomena: Heat transfer (linear/non-linear, steady-state/transient), wave equation (elastodynamics), and Coupled thermo-mechanics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages