Ignore:
Timestamp:
Aug 25, 2006, 4:51:49 PM (18 years ago)
Author:
duncan
Message:

Tidy up dam simulation and minimum depth

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.
    22
    3 Source data such as elevation and boundary data is assumed to be available in
    4 directories specified by project.py
    5 The output sww file is stored in project.outputtimedir
    63
    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
     4Ole Nielsen and Duncan Gray, GA - 2006
    115"""
    126
     
    2014import sys
    2115from shutil import copy
    22 from os import mkdir, access, F_OK, path
     16from os import path
    2317
    2418# Related major packages
     
    7266    print domain.statistics()
    7367
     68   
    7469    domain.set_name(project.basename)
    7570    domain.set_datadir(project.outputtimedir)
    7671    domain.set_quantities_to_be_stored(['stage', 'xmomentum', 'ymomentum'])
     72    domain.set_minimum_sww_depth(0.01)
    7773
    7874    #-------------------------------------------------------------------------
     
    8076    #-------------------------------------------------------------------------
    8177
    82     tide = 0.0
    8378    slope = 0.05
    8479
Note: See TracChangeset for help on using the changeset viewer.