Changeset 2037 for inundation/analytical solutions
- Timestamp:
- Nov 17, 2005, 5:45:30 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/analytical solutions/Non_symmetrical_dam_break.py
r2036 r2037 101 101 #--------------------------------------- 102 102 # Domain 103 n = 60104 m = 60105 delta_x = .5 106 delta_y = .5 107 lenx = delta_x*n108 leny = delta_y*m103 n = 100 104 m = 100 105 lenx = 20.0 106 leny = 20.0 107 delta_x = lenx/n 108 delta_y = leny/m 109 109 origin = (0.0, 0.0) 110 110 … … 144 144 145 145 # Visualization smoothing 146 domain.smooth=False147 146 domain.visualise=True 148 147 … … 172 171 finaltime = 15.0 173 172 174 domain.default_order = 2 173 domain.CFL = 0.75 174 175 domain.default_order = 1 175 176 domain.smooth = True 176 177 … … 181 182 182 183 print 'That took %.2f seconds' %(time.time()-t0) 183
Note: See TracChangeset
for help on using the changeset viewer.