2D Unsteady convection-diffusion problem

版本 2.1 (147.9 KB) 作者: Andrea La Spina
2D scalar equation of a convection-diffusion problem
1.7K 次下载
更新时间 2021/10/13

查看许可证

The "UNSTEADY_CONVECTION_DIFFUSION" script solves the 2D scalar equation of a convection-diffusion problem with bilinear quadrangular elements.
The space discretization is performed by means of the standard Galerkin approach.
For the time integration the theta-method has been implemented. According to the value of theta these schemes are obtained:
0 -> Forward Euler
1/2 -> Crank-Nicolson
3/4 -> Galerkin
1 -> Backward Euler
The FEM parameters such as the number of finite elements and the number of Gauss integration points can be easily chosen.
The functions and the examples are developed according with Chapter 5 "Unsteady convection-diffusion
problems" of the book "Finite Element Methods for flow problems" of Jean Donea and Antonio Huerta.
If you like the file, please give feedbacks.

引用格式

Andrea La Spina (2024). 2D Unsteady convection-diffusion problem (https://www.mathworks.com/matlabcentral/fileexchange/60867-2d-unsteady-convection-diffusion-problem), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
2.1

.

1.6

.

1.5

.

1.4

.

1.3.0.0

.

1.2.0.0

.

1.1.0.0

.

1.0.0.0