Changeset 3284
- Timestamp:
- Jul 6, 2006, 2:39:35 PM (18 years ago)
- Location:
- production/pt_hedland_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
production/pt_hedland_2006/project.py
r3281 r3284 136 136 d6 = [690000.0, 7740510.33] 137 137 #polyAll = [d0, d1, d2, d3, d4, d5, d6] 138 polyAll = [d0_50, d1_50, d2_50, d4, d5, d6] 138 #polyAll = [d0_50, d1_50, d2_50, d4, d5, d6] 139 # from Hamish 140 h0=[629262.17, 7747205.47] 141 h1=[552686.00, 7871579.99] #d3 142 h2=[658264.00, 7926314.00] #d2 143 h3=[710986.99, 7925796.99] #d1 144 h4=[763851.99, 7934357.99] #d0 145 h5=[701485.21, 7770656.86] 146 h6=[698273.75, 7762227.38] 147 h7=[698194.23, 7762018.65] 148 h8=[691627.41, 7744781.98] 149 h9=[679220.75, 7743604.59] 150 h10=[653512.59, 7740528.56] 151 h11=[634777.71, 7738247.17] 152 h12=[629443.86, 7746910.37] 153 h13=[629396.84, 7746986.75] 154 h14=[629352.32, 7747059.06] 155 h15=[629276.24, 7747182.63] 156 h16=[629262.17, 7747205.47] #repeat of h0 157 # using Hamish's new bounding polygon 158 polyAll = [d0_50, d1_50, d2_50, h16,h15,h14,h13,h12,h11,h10,h9,h8,h7,h6,h5] 139 159 140 160 #Interior region - Pt Hedland town -
production/pt_hedland_2006/run_pt_hedland.py
r3281 r3284 100 100 from pmesh.mesh_interface import create_mesh_from_regions 101 101 102 region_res = 100000103 coast_res = 2500104 pt_hedland_res = 1500102 region_res = 50000 103 coast_res = 500 104 pt_hedland_res = 500 105 105 interior_regions = [[project.poly_pt_hedland, pt_hedland_res], 106 106 [project.poly_region, region_res]] … … 123 123 'left': [2], 'bottomleft': [3], 124 124 'bottomright': [4], 'right': [5]}, 125 'maximum_triangle_area': 500000,125 'maximum_triangle_area': 250000, 126 126 'filename': meshname, 127 127 'interior_regions': interior_regions}, … … 209 209 t0 = time.time() 210 210 211 for t in domain.evolve(yieldstep = 240, finaltime = 1 2240):212 domain.write_time() 213 domain.write_boundary_statistics(tags = 'top left')214 215 for t in domain.evolve(yieldstep = 120, finaltime = 1 5600216 ,skip_initial_step = True): 217 domain.write_time() 218 domain.write_boundary_statistics(tags = 'top left')219 220 for t in domain.evolve(yieldstep = 60, finaltime = 2 2020221 ,skip_initial_step = True): 222 domain.write_time() 223 domain.write_boundary_statistics(tags = 'top left')211 for t in domain.evolve(yieldstep = 240, finaltime = 10800): 212 domain.write_time() 213 domain.write_boundary_statistics(tags = 'topright') 214 215 for t in domain.evolve(yieldstep = 120, finaltime = 16200 216 ,skip_initial_step = True): 217 domain.write_time() 218 domain.write_boundary_statistics(tags = 'topright') 219 220 for t in domain.evolve(yieldstep = 60, finaltime = 21600 221 ,skip_initial_step = True): 222 domain.write_time() 223 domain.write_boundary_statistics(tags = 'topright') 224 224 225 for t in domain.evolve(yieldstep = 120, finaltime = 270 60226 ,skip_initial_step = True): 227 domain.write_time() 228 domain.write_boundary_statistics(tags = 'top left')225 for t in domain.evolve(yieldstep = 120, finaltime = 27000 226 ,skip_initial_step = True): 227 domain.write_time() 228 domain.write_boundary_statistics(tags = 'topright') 229 229 230 230 for t in domain.evolve(yieldstep = 240, finaltime = 36000 231 231 ,skip_initial_step = True): 232 232 domain.write_time() 233 domain.write_boundary_statistics(tags = 'top left')233 domain.write_boundary_statistics(tags = 'topright') 234 234 235 235 print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset
for help on using the changeset viewer.