Changeset 3533 for development/dam_2006/run_dam.py
- Timestamp:
- Aug 25, 2006, 4:51:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
development/dam_2006/run_dam.py
r3514 r3533 1 """Script for running a tsunami inundation scenario for Onslow, WA, Australia.1 """Script for running a dam break simulation of UQ's dam break tank. 2 2 3 Source data such as elevation and boundary data is assumed to be available in4 directories specified by project.py5 The output sww file is stored in project.outputtimedir6 3 7 The scenario is defined by a triangular mesh created from project.polygon, 8 the elevation data and a simulated submarine landslide. 9 10 Ole Nielsen and Duncan Gray, GA - 2005 and Nick Bartzis, GA - 2006 4 Ole Nielsen and Duncan Gray, GA - 2006 11 5 """ 12 6 … … 20 14 import sys 21 15 from shutil import copy 22 from os import mkdir, access, F_OK,path16 from os import path 23 17 24 18 # Related major packages … … 72 66 print domain.statistics() 73 67 68 74 69 domain.set_name(project.basename) 75 70 domain.set_datadir(project.outputtimedir) 76 71 domain.set_quantities_to_be_stored(['stage', 'xmomentum', 'ymomentum']) 72 domain.set_minimum_sww_depth(0.01) 77 73 78 74 #------------------------------------------------------------------------- … … 80 76 #------------------------------------------------------------------------- 81 77 82 tide = 0.083 78 slope = 0.05 84 79
Note: See TracChangeset
for help on using the changeset viewer.