Changeset 6322
- Timestamp:
- Feb 12, 2009, 3:40:04 PM (16 years ago)
- Location:
- anuga_work/production/patong
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/patong/project.py
r6321 r6322 48 48 finaltime=15000 # final time for simulation 15000 49 49 50 setup=' trial' # Final can be replaced with trial or basic.50 setup='final' # Final can be replaced with trial or basic. 51 51 # Either will result in a coarser mesh that will allow a 52 52 # faster, but less accurate, simulation. … … 66 66 res_factor=1 67 67 time_thinning=4 68 yieldstep= 1068 yieldstep=5 69 69 70 70 use_buildings = True … … 180 180 # Inundation area 181 181 poly_ia = read_polygon(polygons_dir+'inundation_area.csv') 182 res_ia = 75*res_factor182 res_ia = 59*res_factor 183 183 poly_saddle = read_polygon(polygons_dir+'saddle_10m.txt') 184 184 185 185 # Area of Interest 1 elevation from -10m to 20m 186 186 poly_aoi1 = read_polygon(polygons_dir+'aoi.csv') 187 res_aoi1 = 200*res_factor187 res_aoi1 = 150*res_factor 188 188 189 189 # Area of Significance 1 elevation from -20m to a 200m buffer of the 20m contour 190 190 poly_aos1 = read_polygon(polygons_dir+'aos.csv') 191 res_aos1 = 900*res_factor191 res_aos1 = 700*res_factor 192 192 193 193 194 194 # Area of Shallow water and coastal land that needs a finer res than 1000000 195 195 poly_sw = read_polygon(polygons_dir+'sw.csv') 196 res_sw = 6000*res_factor196 res_sw = 5000*res_factor 197 197 198 198 … … 204 204 building_saddle = read_polygon(polygons_dir+'building_saddle.csv') 205 205 building_area_polygons = [building_main, building_main_small, building_main_south, building_saddle] 206 bld_res = 2 5*res_factor206 bld_res = 20*res_factor 207 207 208 208 -
anuga_work/production/patong/run_patong.py
r6321 r6322 57 57 print 'output_dir', output_dir 58 58 59 copy_code_files(output_dir,__file__,60 dirname(project.__file__)+sep+ project.__name__+'.py' )61 62 start_screen_catcher(output_dir, myid, numprocs)59 #copy_code_files(output_dir,__file__, 60 # dirname(project.__file__)+sep+ project.__name__+'.py' ) 61 # 62 #start_screen_catcher(output_dir, myid, numprocs) 63 63 64 64 … … 83 83 # Number of landward_boundary points 84 84 M = file_length(project.landward_dir) 85 85 86 86 87 # Boundary tags refer to project.landward_boundary … … 105 106 106 107 print domain.statistics() 107 108 108 109 109 #------------------------------------------------------------------------- … … 122 122 print 'friction' 123 123 domain.set_quantity('friction', project.friction) 124 124 125 print 'elevation' 125 126 domain.set_quantity('elevation', … … 182 183 183 184 Br = Reflective_boundary(domain) 184 B d= Dirichlet_boundary([project.tide,0,0])185 Bs = Dirichlet_boundary([project.tide,0,0]) 185 186 #Bs = Transmissive_stage_zero_momentum_boundary(domain) 186 187 Bf = Field_boundary(urs_boundary_name+'.sts', … … 188 189 mean_stage= project.tide, 189 190 time_thinning=project.time_thinning, 190 default_boundary=B d,191 default_boundary=Bs, 191 192 use_cache=True, 192 193 verbose=True, … … 194 195 195 196 domain.set_boundary({'back': Br, 196 'side': B d,197 'side': Bs, 197 198 'ocean': Bf}) 198 199
Note: See TracChangeset
for help on using the changeset viewer.