Changeset 1393 for inundation/ga/storm_surge/pyvolution/netherlands.py
- Timestamp:
- May 15, 2005, 10:25:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/netherlands.py
r1392 r1393 65 65 66 66 #Wall 67 #if x[i] > 0.995:68 #z[i] = -x[i]/20+0.367 if x[i] > 0.995: 68 z[i] = -x[i]/20+0.3 69 69 70 70 return z/2 … … 103 103 104 104 #Set bed-slope and friction 105 inflow_stage = 0. 2106 manning = 0.0 0105 inflow_stage = 0.1 106 manning = 0.03 107 107 Z = Weir(inflow_stage) 108 108 … … 156 156 t0 = time.time() 157 157 158 for t in domain.evolve(yieldstep = 1.0, finaltime = 100.0): 158 from visual import * 159 160 for t in domain.evolve(yieldstep = 0.1, finaltime = 15.0): 159 161 domain.write_time() 160 162 #domain.visualiser.scale_z = 1.0 161 domain.visualiser.update_quantity_color('xmomentum',scale_z = 4.0) 163 #domain.visualiser.update_quantity_color('xmomentum',scale_z = 4.0) 164 #integral_label.text='Integral=%10.5e'%domain.quantities['stage'].get_integral() 162 165 163 166
Note: See TracChangeset
for help on using the changeset viewer.