Unsteady convection-diffusion-reaction problem

バージョン 3.3 (18.9 KB) 作成者: Andrea La Spina
1D scalar equation of a convection-diffusion-reaction problem with piecewise linear approximation
ダウンロード: 973
更新 2021/10/13

ライセンスの表示

The "UNSTEADY_CONVECTION_DIFFUSION_REACTION_1D" script solves the 1D scalar equation of a convection-diffusion-reaction problem with piecewise linear approximation.
For the space discretization the user can choose the standard Galerkin or the Full Upwind 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 the boundary conditions can be expressed a function of time and a nonlinear source term s(x) can be taken into account.
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 (2026). Unsteady convection-diffusion-reaction problem (https://jp.mathworks.com/matlabcentral/fileexchange/60623-unsteady-convection-diffusion-reaction-problem), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2014a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStructural Mechanics についてさらに検索
バージョン 公開済み リリース ノート
3.3

.

3.2

.

3.1.0.0

.

3.0.0.0

A nice animation has been included.

2.0.0.0

A nice animation has been included in the script.

1.0.0.0