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.

Project Activity

See All Activity >

Follow swe2d

swe2d Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of swe2d!

Additional Project Details

Registered

2013-04-20