2D Unsteady convection-diffusion-reaction problem
Version 3.1 (303 KB) von
Andrea La Spina
2D scalar equation of a convection-diffusion-reaction problem
The "UNSTEADY_CONVECTION_DIFFUSION_REACTION_2D" script solves the 2D scalar equation of a convection-diffusion-reaction 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.
Zitieren als
Andrea La Spina (2026). 2D Unsteady convection-diffusion-reaction problem (https://de.mathworks.com/matlabcentral/fileexchange/60671-2d-unsteady-convection-diffusion-reaction-problem), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2014a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Structural Mechanics >
Mehr zu Structural Mechanics finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 3.1 | . |
|
|
| 2.5 | . |
|
|
| 2.4 | . |
|
|
| 2.3 | . |
||
| 2.2.0.0 | . |
||
| 2.1.0.0 | . |
||
| 2.0.0.0 | . |
||
| 1.0.0.0 |
