Changeset 4066
- Timestamp:
- Dec 7, 2006, 9:49:27 AM (18 years ago)
- Location:
- anuga_work/production/dampier_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/dampier_2006/project.py
r4063 r4066 160 160 #west_boundary = degminsec2decimal_degrees(116,0,0) 161 161 #east_boundary = degminsec2decimal_degrees(118,00,0) 162 west_boundary = degminsec2decimal_degrees(116, 10,0)163 east_boundary = degminsec2decimal_degrees(117, 15,0)162 west_boundary = degminsec2decimal_degrees(116,00,0) 163 east_boundary = degminsec2decimal_degrees(117,20,0) 164 164 165 165 … … 178 178 #bounding_polygon, zone =\ 179 179 # convert_from_latlon_to_utm([p1, p2, p3, p4, p5, p6, p7]) 180 print bounding_polygon 180 181 refzone = zone 181 182 from anuga.utilities.polygon import read_polygon, plot_polygons, polygon_area, is_inside_polygon -
anuga_work/production/dampier_2006/run_dampier.py
r4049 r4066 70 70 dirname(project.__file__)+sep+ project.__name__+'.py' ) 71 71 barrier() 72 start_screen_catcher(project.output_run_time_dir, myid, numprocs)72 #start_screen_catcher(project.output_run_time_dir, myid, numprocs) 73 73 74 74 print 'USER: ', project.user … … 89 89 [project.poly_facility, 500]] 90 90 # [project.poly_interior, 1000]] 91 91 from anuga.utilities.polygon import plot_polygons 92 figname = project.output_run_time_dir + 'poly_pic' 93 plot_polygons([project.poly_coast,project.poly_pipeline,project.poly_facility, 94 project.bounding_polygon], 95 figname, 96 verbose = True) 97 # if access(project.meshes_time_dir,F_OK) == 0: 98 # mkdir(project.meshes_time_dir) 99 # if access(project.meshes_dir,F_OK) == 0: 100 # mkdir(project.meshes_dir) 101 import sys; sys.exit() 102 print 'start create mesh from regions' 103 interior_regions = [#[project.karratha_polygon, 25000], 104 # [project.cipma_polygon, 1000], 105 # [project.poly_pipeline, 5000], 106 # [project.poly_facility, 500]] 107 [project.poly_interior, 1000]] 108 # meshes_dir_name = project.meshes_dir_name + '.msh' 92 109 93 110 create_mesh_from_regions(project.bounding_polygon, … … 194 211 domain.set_store_vertices_uniquely(False) 195 212 domain.set_quantities_to_be_stored(['stage', 'xmomentum', 'ymomentum']) 196 domain.set_maximum_allowed_speed(0. 1) # Allow a little runoff (0.1 is OK)213 domain.set_maximum_allowed_speed(0.0) # Allow a little runoff (0.1 is OK) 197 214 198 215 #-------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.