Changeset 3673
- Timestamp:
- Sep 28, 2006, 11:28:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/hobart_2006/run_hobart.py
r3671 r3673 98 98 _ = cache(create_mesh_from_regions, 99 99 project.polyAll, 100 {'boundary_tags': {'bottom': [0], 'bright': [1], 101 'topr': [2], 'top': [3], 'left': [4]}, 100 # {'boundary_tags': {'bottom': [0], 'bright': [1], 101 # 'topr': [2], 'top': [3], 'left': [4]}, 102 {'boundary_tags': {'e0': [0], 'e1': [1], 'e2': [2], 103 'e3': [3], 'e4':[4], 'e5': [5], 104 'e6': [6], 'e7': [7], 'e8': [8], 105 'e9': [9], 'e10': [10], 'e11': [11], 106 'e12': [12], 'e13': [13], 'e14': [14], 107 'e15': [15], 'e16': [16], 'e17': [17]}, 102 108 'maximum_triangle_area': 250000, 103 109 'filename': meshname}, … … 194 200 195 201 # for testing 196 domain.set_boundary( {'topr': Bd, 'left': Bd, 'top': Bd, 197 'bottom': Bw, 'bright': Bd} ) 202 #domain.set_boundary( {'topr': Bd, 'left': Bd, 'top': Bd, 203 # 'bottom': Bw, 'bright': Bd} ) 204 domain.set_boundary( {'e0': Bd, 'e1': Bd, 'e2': Bd, 'e3': Bd, 'e4': Bd, 205 'e5': Bd, 'e6': Bd, 'e7': Bd, 'e8': Bd, 'e9': Bd, 206 'e10': Bd, 'e11': Bd, 'e12': Bd, 'e13': Bd, 'e14': Bd, 207 'e15': Bd, 'e16': Bw, 'e17': Bd} ) 198 208 199 209 #------------------------------------------------------------------------------- … … 203 213 t0 = time.time() 204 214 205 for t in domain.evolve(yieldstep = 60, finaltime = 120 ):215 for t in domain.evolve(yieldstep = 60, finaltime = 12000): 206 216 domain.write_time() 207 217 domain.write_boundary_statistics(tags = 'bottom')
Note: See TracChangeset
for help on using the changeset viewer.