Changeset 5300 for anuga_validation/convergence_study/dam_break.py
- Timestamp:
- May 9, 2008, 3:08:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/convergence_study/dam_break.py
r5177 r5300 41 41 # Setup domain 42 42 #------------------------------------------------------------------------------ 43 dx = 1000.43 dx = 200. 44 44 dy = dx 45 45 L = 100000. 46 W = 50*dx46 W = 10*dx 47 47 48 48 # structured mesh … … 64 64 domain.use_edge_limiter = True 65 65 domain.tight_slope_limiters = True 66 domain.use_centroid_velocities = False 66 67 67 68 domain.CFL = 1.0 … … 80 81 81 82 h0 = 10.0 82 h1 = 0. 183 h1 = 0.0 83 84 84 85 def height(x,y): … … 110 111 vis = RealtimeVisualiser(domain) 111 112 vis.render_quantity_height("stage", zScale =h0*500, dynamic=True) 112 vis.colour_height_quantity('stage', ( 1.0, 0.5, 0.5))113 vis.colour_height_quantity('stage', (0.0, 0.5, 1.0)) 113 114 vis.start() 114 115 #===============================================================================
Note: See TracChangeset
for help on using the changeset viewer.