Changeset 4069
- Timestamp:
- Dec 7, 2006, 5:02:56 PM (18 years ago)
- Location:
- anuga_work/production
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/dampier_2006/export_results.py
r4045 r4069 20 20 21 21 if which_var == 1: # Absolute Momentum 22 outname = name + '_momentum_i 50'22 outname = name + '_momentum_i1' 23 23 quantityname = '(xmomentum**2 + ymomentum**2)**0.5' 24 24 … … 28 28 29 29 if which_var == 3: # Speed 30 outname = name + '_speed_ all'30 outname = name + '_speed_i0' 31 31 #quantityname = '((xmomentum/(stage-elevation))**2 + (ymomentum/(stage-elevation))**2)**0.5' #Speed 32 32 quantityname = '(xmomentum**2 + ymomentum**2)**0.5/(stage-elevation+1.e-30)' #Speed … … 37 37 38 38 if is_parallel == True: 39 for i in range( 2,nodes):39 for i in range(0,nodes): 40 40 namei = name + '_P%d_%d' %(i,nodes) 41 41 outnamei = outname + '_P%d_%d' %(i,nodes) … … 43 43 sww2dem(namei, basename_out = outnamei, 44 44 quantity = quantityname, 45 timestep = 50,45 timestep = 1, 46 46 cellsize = 100, 47 47 #easting_min = project.e_min_area, … … 49 49 #northing_min = project.n_min_area, 50 50 #northing_max = project.n_max_area, 51 #reduction = max,51 reduction = max, 52 52 verbose = True, 53 53 format = 'asc') -
anuga_work/production/newcastle_2006/project_slide.py
r4063 r4069 126 126 bulli_density = 1.46 127 127 bulli_slope = 4.0 128 bulli_alpha = 126.0 +90.0128 bulli_alpha = 126.0 - 90.0 129 129 130 130 shovel_depth = 968.0 … … 134 134 shovel_density = 1.49 135 135 shove_slope = 4.0 136 shovel_alpha = 118.0 +90.0136 shovel_alpha = 118.0 - 90.0 137 137 138 138 yacaaba_depth = 1119.0 … … 142 142 yacaaba_density = 1.48 143 143 yacaaba_slope = 3.0 144 yacaaba_alpha = 133.0 +90.0144 yacaaba_alpha = 133.0 - 90.0 -
anuga_work/production/newcastle_2006/run_newcastle_slide.py
r4063 r4069 169 169 import time 170 170 t0 = time.time() 171 from Numeric import allclose 172 from anuga.abstract_2d_finite_volumes.quantity import Quantity 171 173 172 for t in domain.evolve(yieldstep = 30, finaltime = 480):174 for t in domain.evolve(yieldstep = 30, finaltime = 5000): 173 175 domain.write_time() 174 176 domain.write_boundary_statistics(tags = 'e14') -
anuga_work/production/wollongong_2006/run_gong_slide.py
r4063 r4069 172 172 import time 173 173 t0 = time.time() 174 from Numeric import allclose 175 from anuga.abstract_2d_finite_volumes.quantity import Quantity 174 176 175 for t in domain.evolve(yieldstep = 30, finaltime = 480):177 for t in domain.evolve(yieldstep = 30, finaltime = 5000): 176 178 domain.write_time() 177 179 domain.write_boundary_statistics(tags = 'e14')
Note: See TracChangeset
for help on using the changeset viewer.