This work presents a method of solution of fundamental governing equations of computational fluid dynamics (CFD) using Semi-Implicit Method for Pressure-Linked Equations (SIMPLE) in MATLAB®. The fundamental governing equations of fluid mechanics are based on three laws of conservation, referred to the law of conservation of mass, the law of conservation of momentum and law of conservation of energy. Continuity equation represents the law of conservation of mass, Navier-Stokes equations represents the law of conservation of momentum, and energy equation represents the law of conservation of energy. In SIMPLE, the continuity and Navier-Stokes equations are required to be discretized and solved in a semi-implicit way. This article presents discretization and method of solution applied to the flow around a 2-D square body. Code is written in MATLAB®. The results show the pressure and velocity fields of the converged solution.
Zitieren als
Hassan Khawaja (2025). SIMPLE (https://de.mathworks.com/matlabcentral/fileexchange/66129-simple), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Sciences > Physics > Condensed Matter & Materials Physics >
- Engineering > Mechanical Engineering > Fluid Mechanics >
- Engineering > Mechanical Engineering > Computational Fluid Dynamics (CFD) >
Tags
Quellenangaben
Inspiriert: SIMPLE Algorithm based steady state solver
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 2.0.0.0 | Thanks for the comments. The code has been corrected. It now computes flow around a square. Nx and Ny can be varied. |
||
| 1.0.0.0 | Revised abstract |
