The aim of the clinic is to present the basic ideas of producing an ANUGA domain, which entails creating an appropriate triangulated mesh, setting up intial conditions, and boundary conditions, operators such as flow inlets and then running (evolve) the simulation. Within the constraints of a jupyter notebook we will also see how to extract data from an sww
file (the standard ANUGA output file) and visualise the output.
The notebooks have been designed to run in the google colaboratory
environment, which provides a jupyter notebook environment running on a virtual machine in the cloud. To use this environment you need a google account so that your copies of the notebooks can be saved on google drive.
Once you have your google account, you can start interacting with the notebooks.
Here are links to the notebooks which open directly in colaboratory. This will start up a virtual environment associated with your google account where you can run the code in the notebook (and save any changes you might make).
-
Notebook 1: Introduction to ANUGA
- Here we introduce the idea of creating a
domain
which contains the mesh and quantities needed to run the simulation, and encapsulates the methods for setting up the initial conditions, the boundary conditions and the method for evolving the solution.
- Here we introduce the idea of creating a
-
Notebook 2: Merewether Flood Case Study
- Here we look at a case study of a flood in the community of Merewether. We will add a flow using an
Inlet_operator
and extract flow details at various points by interagating thesww
file which is produced from each ANUGA run.
- Here we look at a case study of a flood in the community of Merewether. We will add a flow using an
-
Notebook 3: Setup a simple erosion Operator
- Setup a sanddune erosion operator.
-
Notebook 4: Setup a pump operator
- Here we go through the process of creating an operator (fractional step operator) which implements a simple pump, and separate the inlet from the outlet with a River wall.
-
Notebook 5: Okushiri Island Monai Valley Tsunami Runup
- This notebook implements a standard tsunami runup benchmark.
Alternatively download the notebooks from github and open using your own jupyter
server (though you will have to install anuga
first).
If you are interested in learning more about ANUGA, the github repository has documentation, example code and over 30 validation tests.