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 (2026). Navier-Stokes solver (https://uk.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
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
