Changeset 1696
- Timestamp:
- Aug 8, 2005, 5:59:09 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/validation/LWRU2/lwru2.py
r1691 r1696 59 59 60 60 fid.createVariable('xmomentum', Float, ('number_of_timesteps',)) 61 fid.variables['xmomentum'][:] = 0.0 #0.04 61 #fid.variables['xmomentum'][:] = 0.005 62 #fid.variables['xmomentum'][:-1] = Q[1:]-Q[:-1]/0.05 #Too high 63 #fid.variables['xmomentum'][:-1] = Q[1:]-Q[:-1]/0.5 #Too low 64 #fid.variables['xmomentum'][:-1] = Q[1:]-Q[:-1]/0.1 #Too high 65 #fid.variables['xmomentum'][:-1] = Q[1:]-Q[:-1]/0.25 #Too high 66 #fid.variables['xmomentum'][:-1] = Q[1:]-Q[:-1]/0.35 #Too low 67 #fid.variables['xmomentum'][:-1] = Q[1:]-Q[:-1]/0.3 #Too low 68 #fid.variables['xmomentum'][-1] = 0.0 69 70 71 fid.variables['xmomentum'][:] = 0.003 72 62 73 fid.createVariable('ymomentum', Float, ('number_of_timesteps',)) 63 74 fid.variables['ymomentum'][:] = 0.0 … … 83 94 84 95 try: 85 raise Exception96 #raise Exception 86 97 print 'Read pickled domain' 87 98 fid = open(picklefile) … … 157 168 import time 158 169 t0 = time.time() 159 domain.visualise = True170 domain.visualise = False 160 171 161 172 for t in domain.evolve(yieldstep = 0.05, finaltime = 22.5):
Note: See TracChangeset
for help on using the changeset viewer.