Changeset 6911
- Timestamp:
- Apr 28, 2009, 11:10:30 AM (16 years ago)
- Location:
- anuga_work/production/australia_ph2/bamaga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/bamaga/project.py
r6895 r6911 17 17 # Note, the user needs to set up the directory system accordingly 18 18 state = 'australia_ph2' 19 scenario_name = ' gulf'19 scenario_name = 'weipa' 20 20 21 21 #------------------------------------------------------------------------------- … … 33 33 ##else: 34 34 35 event_number = 64977# the event number or the mux file name35 event_number = 51212 # the event number or the mux file name 36 36 37 37 #event_number_list = [31975, 51390, 63735] # To piggy back multiple events … … 41 41 friction=0.01 # manning's friction coefficient 42 42 starttime=0 # start time for simulation 43 finaltime= 80000 # final time for simulation44 setup = ' final' # This can be one of three values43 finaltime=1000 # final time for simulation 44 setup = 'trial' # This can be one of three values 45 45 # trial - coarsest mesh, fast 46 46 # basic - coarse mesh … … 48 48 49 49 # index is only used when wave = Tb 50 index = 1914# index from the PTHA - Y2000 0.257m50 index = 2003 # index from the PTHA - Y2000 0.257m 51 51 wave = 'Tb' # Bf (sts wave) Tb (index wave) 52 52 … … 79 79 # Used in build_elevation.py 80 80 # Format for ascii grids, as produced in ArcGIS + a projection file 81 ascii_grid_filenames = [' gulf_bg'] # 250m grid 200581 ascii_grid_filenames = ['weipa_bg_pr'] # 250m grid 2005 82 82 83 83 # Format for points is x,y,elevation (with header) -
anuga_work/production/australia_ph2/bamaga/run_model.py
r6895 r6911 87 87 # Number of boundary segments 88 88 num_ocean_segments = len(event_sts) - 1 89 print num_ocean_segments 89 90 # Number of landward_boundary points 90 91 num_land_points = file_length(project.landward_boundary) 91 92 print num_land_points 92 93 # Boundary tags refer to project.landward_boundary 93 94 # 4 points equals 5 segments start at N 94 ##boundary_tags={'back': range(num_ocean_segments+1, 95 ## num_ocean_segments+num_land_points), 96 ## 'side': [num_ocean_segments, 97 ## num_ocean_segments+num_land_points], 98 ## 'ocean': range(num_ocean_segments)} 99 boundary_tags = {'back':[3], 100 'side':[2,4], 101 'ocean':[0,1,5]} 95 boundary_tags={'back': range(num_ocean_segments+2, 96 num_ocean_segments+5), 97 'side': [num_ocean_segments, 98 num_ocean_segments+1, 99 num_ocean_segments+5, 100 num_ocean_segments+6, 101 num_ocean_segments+7, 102 num_ocean_segments+8, 103 num_ocean_segments+9], 104 'ocean': range(num_ocean_segments)} 105 ##boundary_tags = {'back':[3], 106 ## 'side':[2,4], 107 ## 'ocean':[0,1,5]} 102 108 103 109 print 'boundary tags', boundary_tags
Note: See TracChangeset
for help on using the changeset viewer.