Changeset 2207
- Timestamp:
- Jan 13, 2006, 4:53:30 PM (19 years ago)
- Location:
- inundation/pyvolution
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/netherlands.py
r2105 r2207 15 15 Transmissive_boundary, Constant_height, Constant_stage 16 16 17 from mesh_factory import rectangular 17 from mesh_factory import rectangular_cross 18 18 from Numeric import array 19 19 … … 83 83 N = 130 #size = 33800 84 84 N = 600 #Size = 720000 85 N = 5085 N = 20 86 86 87 87 … … 90 90 print 'Creating domain' 91 91 #Create basic mesh 92 points, elements, boundary = rectangular (N, N)92 points, elements, boundary = rectangular_cross(N, N) 93 93 94 94 #Create shallow water domain … … 168 168 #V.update_quantity('elevation') 169 169 170 for t in domain.evolve(yieldstep = 0.005, finaltime = 15.0): 170 171 172 173 for t in domain.evolve(yieldstep = 0.05, finaltime = 1.0): 171 174 domain.write_time() 172 175 #domain.write_boundary() … … 174 177 print domain.quantities['stage'].get_values(location='centroids', 175 178 indices=[0]) 179 #domain.visualiser.update_quantity('elevation') 180 #time.sleep(0.1) 181 #raw_input('pause>') 176 182 #V.update_quantity('stage') 177 183 #rpdb.set_active()
Note: See TracChangeset
for help on using the changeset viewer.