Steady transport problems
Versión 1.3 (14,8 KB) por
Andrea La Spina
1D scalar equation of convective-diffusion transport with piecewise linear approximation
The MAIN script solves the 1D scalar equation of convective-diffusion transport with piecewise linear approximation.
The user can choose the standard Galerkin approach or the Full Upwind scheme.
The FEM parameters such as the number of finite elements, the number of Gauss integration points and the boundary conditions can be easily chosen.
Moreover a nonlinear source term s(x) can be taken into account and once the problem is defined, an analytical solution is automatically evaluated by means of the symbolic Matlab toolbox and compared with the numerical one provided by the method selected.
The functions and the examples are developed according with Chapter 2 "Steady transport problems" of the book "Finite Element Methods for flow problems" of Jean Donea and Antonio Huerta.
If you like the file, please give feedbacks.
Citar como
Andrea La Spina (2024). Steady transport problems (https://www.mathworks.com/matlabcentral/fileexchange/60198-steady-transport-problems), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2014a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Sciences > Physics > Fluid Dynamics >
Más información sobre Fluid Dynamics en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.