Changeset 1868 for production/karratha_2005/run_karratha.py
- Timestamp:
- Oct 5, 2005, 5:40:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/karratha_2005/run_karratha.py
r1855 r1868 11 11 """ 12 12 13 tide = 0.75 #HMWS estimate by Colin French, GA 13 #tide = 0.75 #HMWS estimate by Colin French, GA 14 tide = 0 #HMW 14 15 15 16 … … 83 84 from create_mesh import create_mesh 84 85 85 interior_regions = [[project.karratha_polygon, 10000]] 86 interior_regions = [[project.karratha_polygon, 25000], 87 [project.dampier_polygon, 8000], 88 [project.refinery_polygon, 8000]] 89 86 90 m = cache(create_mesh, 87 91 project.polygon, 88 92 {'boundary_tags': {'back': [7, 8], 'side': [0, 6], 'ocean': [1, 2, 3, 4, 5]}, 89 'resolution': 80000,93 'resolution': 100000, 90 94 'filename': project.meshname + '.msh', 91 95 'interior_regions': interior_regions}, … … 142 146 143 147 144 #Run 145 #for t in domain.evolve(yieldstep = 600, finaltime = 15000): 146 # domain.write_time() 147 # domain.write_boundary_statistics(tags = 'ocean') #quantities = 'stage') 148 # 149 #for t in domain.evolve(yieldstep = 10, finaltime = 35000): 150 # domain.write_time() 151 # domain.write_boundary_statistics(tags = 'ocean') #quantities = 'stage') 148 #Evolve 149 import time 150 t0 = time.time() 152 151 153 for t in domain.evolve(yieldstep = 60, finaltime = 40000): 152 for t in domain.evolve(yieldstep = 60, finaltime = 15000): 153 domain.write_time() 154 domain.write_boundary_statistics(tags = 'ocean') #quantities = 'stage') 155 156 for t in domain.evolve(yieldstep = 20, finaltime = 35000, 157 skip_initial_step = True): 158 domain.write_time() 159 domain.write_boundary_statistics(tags = 'ocean') #quantities = 'stage') 160 161 for t in domain.evolve(yieldstep = 60, finaltime = 40000, 162 skip_initial_step = True): 154 163 domain.write_time() 155 164 domain.write_boundary_statistics(tags = 'ocean') #quantities = 'stage') 165 166 print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset
for help on using the changeset viewer.