Changeset 3286
- Timestamp:
- Jul 6, 2006, 5:18:42 PM (18 years ago)
- Location:
- production/pt_hedland_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
production/pt_hedland_2006/project.py
r3284 r3286 21 21 22 22 # offshore data from GA digitised charts 23 offshore_name1 = 'pt_hedland_offshore_points '23 offshore_name1 = 'pt_hedland_offshore_points_orig' 24 24 25 25 # offshore data from AHO fairsheets 26 offshore_name2 = 'pt_hedland_offshore_points_fairsheet '26 offshore_name2 = 'pt_hedland_offshore_points_fairsheet_orig' 27 27 28 28 # coastline developed from aerial photography and 1.5m DLI contour -
production/pt_hedland_2006/run_pt_hedland.py
r3284 r3286 100 100 from pmesh.mesh_interface import create_mesh_from_regions 101 101 102 region_res = 50000 102 region_res = 500000 103 103 coast_res = 500 104 pt_hedland_res = 500 104 pt_hedland_res = 5000 105 105 interior_regions = [[project.poly_pt_hedland, pt_hedland_res], 106 106 [project.poly_region, region_res]] … … 121 121 project.polyAll, 122 122 {'boundary_tags': {'topright': [0], 'topleft': [1], 123 'left': [2], 'bottomleft': [3], 124 'bottomright': [4], 'right': [5]}, 123 'left': [2], 'bottom0': [3], 124 'bottom1': [4], 'bottom2': [5], 125 'bottom3': [6], 'bottom4': [7], 126 'bottom5': [8], 'bottom5': [9], 127 'bottom6': [10], 'bottom7': [11], 128 'bottom8': [12], 'bottom9': [13], 129 'right': [14]}, 125 130 'maximum_triangle_area': 250000, 126 131 'filename': meshname, … … 201 206 Br = Reflective_boundary(domain) 202 207 Bd = Dirichlet_boundary([tide,0,0]) 203 domain.set_boundary( {'topright': Bf,'topleft': Bf, 'left': Bd, 204 'bottomleft': Bd, 'bottomright': Bd, 'right': Bd}) 208 domain.set_boundary( {'topright': Bf,'topleft': Bf, 'left': Bd, 'bottom0': Bd, 209 'bottom1': Bd, 'bottom2': Bd, 'bottom3': Bd, 210 'bottom4': Bd, 'bottom5': Bd, 'bottom6': Bd, 211 'bottom7': Bd, 'bottom8': Bd, 'bottom9': Bd, 212 'right': Bd}) 205 213 #------------------------------------------------------------------------------- 206 214 # Evolve system through time
Note: See TracChangeset
for help on using the changeset viewer.