This is a set of matlab codes to solve the depth-averaged shallow water equations following the method of Casulli (1990) in which the free-surface is solved with the theta method and momentum advection is computed with the Eulerian-Lagrangian method (ELM). The free-surface equation is computed with the conjugate-gradient algorithm.
Casulli, V. (1990) Semi-implicit finite difference methods for the two-dimensional shallow water equations, J. Comp. Phys., 86 (1), 56-74.
Follow swe2d
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of swe2d!