Skip to content

obdwinston/Shallow-Flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monai Valley (1993)

The animation shows a numerical simulation of the Shallow Water equations, which approximate free surface shallow flows. The simulation is part of a massive tsunami which engulfed a small offshore island called Okushiri Island, off the west coast of Hokkaido, Japan in 1993. The specific region in the animation is Monai Valley, located on the southwestern coast of Okushiri Island, where an extreme vertical runup of 30 metres was discovered.

Based on the simulation, the maximum vertical runup is approximately 0.08 metres, or 32 metres to scale, which closely matches the field observation. It never ceases to amaze me how, despite simplifying assumptions on the full governing equations (i.e. Navier-Stokes) and approximate (albeit clever) numerical schemes, the numerical solution is still able to match up to physical experiments and field observations.

The numerical scheme and case study was referenced from Hou et al. (2015) and coded in Fortran for the main solver. Pre- and post-processing programs are coded in Python. For more details about the case study, see here.

animation.copy.mp4
animation.mp4

Program Files

File Purpose
main.f90 Main program containing functions and subroutines for flow solver.
monai.py* Pre-processing program to set up initial conditions for Monai Valley case study.
b_raw.txt Raw bathymetry data for Monai Valley case study used in monai.py.
ht_raw.txt Raw inflow height data for Monai Valley case study used in monai.py.
read.py Post-processing program to create flow animation with Plotly.
monai.geo File containing geometric information to generate mesh in Gmsh.
monai.su2 File containing mesh information to input to main program.

* Run monai.py if running the case study for the first time, or when there is a change in mesh size or time step.

Solver Verification

Dam Break over Bump

animation.mp4

Circular Dam Break

animation.mp4

Solver Theory

References

[1] Hou et al. (2015). An Efficient Unstructured MUSCL Scheme for Solving the 2D Shallow Water Equations.
[2] Song et al. (2011). A Robust Well-Balanced Finite Volume Model for Shallow Water Flows with Wetting and Drying over Irregular Terrain.

About

Riemann solver for shallow water equations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published