Navier-Stokes solver
These bunch of .m-files solve the unsteady Navier-Stokes equations with Chebyshev pseudospectral method on [-1,1]x[-1,1]. The algorithms are mainly based on Kopriva D. A.: Implementing Spectral Methods for Partial Differential Equations, Springer, 2009 and Roger Peyret.: Spectral Methods for Incompressible Viscous Flow, Springer, 2002
The syntax is (see the function comments for the notations):
[omega psi X Y] = solvestokes(N,f,gleft,gtop,gright,gbottom,hleft,htop,hright,hbottom)
The solver will be soon augmented with other functionalities and documentation.
Cite As
Zoltán Csáti (2024). Navier-Stokes solver (https://www.mathworks.com/matlabcentral/fileexchange/47183-navier-stokes-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > Fluid Dynamics >
Tags
Acknowledgements
Inspired by: Quiverc
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.