Changeset 3661 for anuga_work/production/hobart_2006/run_hobart.py
- Timestamp:
- Sep 25, 2006, 2:26:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/hobart_2006/run_hobart.py
r3660 r3661 88 88 project.onshore_dem_name_25 + '.pts', 89 89 project.all_onshore_dem_name + '.pts') 90 #print 'local offshore data sets' 91 #G1 = Geospatial_data(file_name = project.offshore_dem_name_local1 + '.xya') 92 #G2 = Geospatial_data(file_name = project.offshore_dem_name_local2 + '.xya') 93 #G3 = Geospatial_data(file_name = project.offshore_dem_name_local3 + '.xya') 94 #G4 = Geospatial_data(file_name = project.offshore_dem_name_local4 + '.xya') 95 #G11 = G1 + G2 + G3 + G4 96 #print 'aho offshore data sets' 97 #G5 = Geospatial_data(file_name = project.offshore_dem_name_aho1 + '.xya') 98 #G6 = Geospatial_data(file_name = project.offshore_dem_name_aho2 + '.xya') 99 #G7 = Geospatial_data(file_name = project.offshore_dem_name_aho3 + '.xya') 100 #G8 = Geospatial_data(file_name = project.offshore_dem_name_aho4 + '.xya') 101 #G9 = Geospatial_data(file_name = project.offshore_dem_name_aho5 + '.xya') 102 #G10 = Geospatial_data(file_name = project.offshore_dem_name_aho6 + '.xya') 103 #G11 = Geospatial_data(file_name = project.offshore_dem_name_aho7 + '.xya') 104 #G12 = Geospatial_data(file_name = project.offshore_dem_name_aho8 + '.xya') 105 #G13 = Geospatial_data(file_name = project.offshore_dem_name_aho9 + '.xya') 106 #G14 = Geospatial_data(file_name = project.offshore_dem_name_aho10 + '.xya') 107 #G15 = Geospatial_data(file_name = project.offshore_dem_name_aho11 + '.xya') 108 #G16 = Geospatial_data(file_name = project.offshore_dem_name_aho12 + '.xya') 109 #G17 = Geospatial_data(file_name = project.offshore_dem_name_aho13 + '.xya') 110 #G18 = Geospatial_data(file_name = project.offshore_dem_name_aho14 + '.xya') 111 #G19 = Geospatial_data(file_name = project.offshore_dem_name_aho15 + '.xya') 112 #G20 = Geospatial_data(file_name = project.offshore_dem_name_aho16 + '.xya') 113 #G12 = G5+G6+G7+G8+G9+G10+G11+G12+G13+G14+G15+G16+G17+G18+G19+G20 114 #print 'local onshore dem' 115 #G21 = Geospatial_data(file_name = project.onshore_dem_name + '.pts') 116 print 'coast' 117 #G22 = Geospatial_data(file_name = project.coast_dem_name + '.xya') 118 #print 'adding data sets' 119 #G = G11 + G12 + G21 + G22 120 #G = G1+G2+G3+G4+G5+G6+G7+G8+G9+G10+G11+G12+G13+G14+G15+G16+G17+G18+G19+G20+G21+G22 121 #G = G5+G6+G7+G8+G9+G10+G11+G12+G13+G14+G15+G16+G17+G18+G19+G20+G21+G22 122 #G = G21+G22+G5+G6+G7+G8+G9+G10+G11+G12+G13+G14+G15+G16+G17+G18+G19+G20 123 #G = G21+G22+G5 124 #G = Geospatial_data(file_name = project.onshore_dem_name + '.pts') #+ \ 125 # Geospatial_data(file_name = project.coast_dem_name + '.xya') #+ \ 126 # Geospatial_data(file_name = project.offshore_dem_name_aho1 + '.xya') 90 91 print 'adding data sets' 127 92 G = Geospatial_data(file_name = project.offshore_dem_name_local1 + '.xya')+\ 128 93 Geospatial_data(file_name = project.offshore_dem_name_local2 + '.xya')+\ … … 148 113 G.export_points_file(project.combined_dem_name + '.pts') 149 114 150 #---------------------------------------------------------------------------- ---115 #---------------------------------------------------------------------------- 151 116 # Create the triangular mesh based on overall clipping polygon with a tagged 152 117 # boundary and interior regions defined in project.py along with … … 171 136 {'boundary_tags': {'bottom': [0], 'right': [1], 172 137 'top': [2], 'left': [3]}, 173 'maximum_triangle_area': 250000,174 'filename': meshname ,175 'interior_regions': interior_regions},138 'maximum_triangle_area': 100000, 139 'filename': meshname}, 140 #'interior_regions': interior_regions}, 176 141 verbose = True, evaluate=True) 177 142 … … 211 176 212 177 #------------------------------------------------------------------------------- 213 # Setup boundary conditions (all reflective)178 # Setup boundary conditions 214 179 #------------------------------------------------------------------------------- 215 180 print 'start ferret2sww' … … 274 239 t0 = time.time() 275 240 276 for t in domain.evolve(yieldstep = 240, finaltime = 7200):241 for t in domain.evolve(yieldstep = 60, finaltime = 120): 277 242 domain.write_time() 278 243 domain.write_boundary_statistics(tags = 'bottom') 279 244 280 for t in domain.evolve(yieldstep = 120, finaltime = 12600281 ,skip_initial_step = True):282 domain.write_time()283 domain.write_boundary_statistics(tags = 'bottom')245 #for t in domain.evolve(yieldstep = 120, finaltime = 12600 246 # ,skip_initial_step = True): 247 # domain.write_time() 248 # domain.write_boundary_statistics(tags = 'bottom') 284 249 285 250 print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset
for help on using the changeset viewer.