## First-pass generic ANUGA tsunami template. ## Gareth Davies, Geoscience Australia 2014 ## The basic structure is ## ./scripts -- ANUGA code ./anuga -- data + outputs ## To adapt the model, the user would: 0) Collate base datasets, and ideally save them in a logically structured folder way [see example in ./anuga/] 1) Edit scripts/project.py to include important datasets/information 2) Edit scripts/setup_initial_conditions.py to set elevation,friction,initial stage, initial velocities 3) Edit scripts/setup_boundary_conditions.py to define the boundary conditions 4) Edit scripts/setup_inflows.py to define inflows [if required] 5) Edit scripts/setup_rainfall.py to define rainfall [if required] 6) The following scripts should not require editing: scripts/setup_mesh.py scripts/raster_outputs.py 7) The main run script is scripts/run_model.py It should require either no editing or minor editing [e.g. commenting / uncommenting function calls to other scripts] 8) If you want to hack, there is a file scripts/user_functions.py where you can make functions to be called elsewhere [to keep the other code clean] To run the script, go to scripts and do e.g. python run_model.py