Changeset 7383
- Timestamp:
- Aug 20, 2009, 9:16:35 AM (15 years ago)
- Location:
- anuga_work/production/Broome_2009
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/Broome_2009/project.py
r7254 r7383 27 27 tide = 0.0 # difference between MSL and HAT in metres 28 28 zone = 51 # specify UTM zone of model 29 event_number = 27255 # 27283 the event number or the mux file name 29 event_number = 70444 # 27283 the event number or the mux file name 30 # 70408 31 # 70444 30 32 alpha = 0.1 # smoothing parameter for mesh 31 33 friction=0.01 # manning's friction coefficient 32 34 starttime=0 # start time for simulation 33 finaltime= 1000 # final time for simulation35 finaltime=80000 # final time for simulation 34 36 35 37 setup = 'final' # This can be one of three values … … 80 82 # Used in run_model.py 81 83 # Format for points easting,northing (no header) 82 interior_regions_data = [['Shallow_Water_large_MH.csv', 5000], 83 ['AoS_MH.csv', 800], 84 ['AoI_MH.csv', 500], 85 ['AoS_north_MH.csv', 800], 86 ['AoI_north_MH.csv', 500], 87 ## ['bay_coast_MH.csv', 5000], 88 ['bay_coast_small_MH.csv', 1500]] 84 interior_regions_data = [['aoi.csv', 500], 85 ['aos.csv', 1000], 86 ['sw.csv', 5000]] 87 ##interior_regions_data = [['Shallow_Water_large_MH.csv', 5000], 88 ## ['AoS_MH.csv', 800], 89 ## ['AoI_MH.csv', 500], 90 ## ['AoS_north_MH.csv', 800], 91 ## ['AoI_north_MH.csv', 500], 92 #### ['bay_coast_MH.csv', 5000], 93 ## ['bay_coast_small_MH.csv', 1500]] 89 94 PriorityArea_filename = None 90 95 91 96 # LAND - used to set the initial stage/water to be offcoast only 92 97 # Used in run_model.py. Format for points easting,northing (no header) 93 land_initial_conditions_filename = 'initial_conditions_mainland.csv' 98 ##land_initial_conditions_filename = [] 99 100 #Format for points easting,northing,id,value 101 land_initial_conditions_filename = 'initial_conditions.csv' 94 102 95 103 # GAUGES - for creating timeseries at a specific point … … 118 126 # Landward bounding points 119 127 # Format easting,northing (no header) 120 landward_boundary_filename = 'landward_boundary _MH.csv'128 landward_boundary_filename = 'landward_boundary.csv' 121 129 122 130 # MUX input filename. … … 134 142 #------------------------------------------------------------------------------- 135 143 136 # ASCII export grid for Bruny 137 ##xminBruny = 523900 138 ##xmaxBruny = 533200 139 ##yminBruny = 5204300 140 ##ymaxBruny = 5213100 144 # ASCII export grid for Broome 145 xminBroome = 410900 146 xmaxBroome = 424500 147 yminBroome = 8007000 148 ymaxBroome = 8017500 149 141 150 142 151 -
anuga_work/production/Broome_2009/run_model.py
r7204 r7383 89 89 # 4 points equals 5 segments start at N 90 90 boundary_tags={'back': range(num_ocean_segments+1, 91 num_ocean_segments+num_land_points -1), #last segment will be side91 num_ocean_segments+num_land_points), 92 92 'side': [num_ocean_segments, 93 num_ocean_segments+num_land_points-1, # three side segments total94 93 num_ocean_segments+num_land_points], 95 94 'ocean': range(num_ocean_segments)} 96 95 97 96 # Build mesh and domain 98 print 'interior regions:', project.interior_regions99 100 97 domain = create_domain_from_regions(bounding_polygon_sts, 101 98 boundary_tags=boundary_tags, … … 140 137 Br = Reflective_boundary(domain) 141 138 Bt = Transmissive_stage_zero_momentum_boundary(domain) 142 Bd = Dirichlet_boundary([project.tide, 0, 0])143 139 Bf = Field_boundary(project.event_sts+'.sts', 144 140 domain, mean_stage=project.tide,
Note: See TracChangeset
for help on using the changeset viewer.