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.
Zoltán Csáti (2023). Navier-Stokes solver (https://www.mathworks.com/matlabcentral/fileexchange/47183-navier-stokes-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Quiverc
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!