A Julia-based parallel FEM solution to the shallow water equations
Date
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
This thesis presents A two-dimensional finite element method (FEM) solver for the shallow water equations, implemented in the Julia programming language, is presented. The numerical design of the solver is inspired by the CRISSP2D model, which was originally written in Fortran decades ago. However, its original codebase is difficult to maintain and not well suited for modern parallel computing. To address these limitations, the solver presented in this work is constructed from the ground up with independent data structures, algorithms, and parallelization strategies. The implementation solves the depth-averaged shallow water equations using a Petrov-Galerkin testing method with linear triangular elements and leapfrog time integration, and it supports dynamic wetting and drying processes. Particular improvements are made in the treatment of boundary conditions through integration by parts applied to the weak form of the formulation.