Changeset 5300
- Timestamp:
- May 9, 2008, 3:08:19 PM (17 years ago)
- Location:
- anuga_validation/convergence_study
- Files:
-
- 2 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 #=============================================================================== -
anuga_validation/convergence_study/wave.py
r5180 r5300 42 42 # Setup domain 43 43 #------------------------------------------------------------------------------ 44 dx = 100 .44 dx = 1000. 45 45 dy = dx 46 46 L = 100000. … … 64 64 65 65 domain.use_edge_limiter = True 66 domain.tight_slope_limiters = True 66 domain.tight_slope_limiters = False 67 domain.use_centroid_velocities = False 67 68 68 69 domain.CFL = 1.0 69 70 70 domain.beta_w = 0.671 domain.beta_w = 1.0 71 72 domain.beta_w_dry = 0.0 72 domain.beta_uh = 0.673 domain.beta_uh = 1.0 73 74 domain.beta_uh_dry = 0.0 74 domain.beta_vh = 0.675 domain.beta_vh = 1.0 75 76 domain.beta_vh_dry = 0.0 76 77 domain.beta_h = 0.0 77 78 78 interactive_visualisation = False79 interactive_visualisation = True 79 80 80 81
Note: See TracChangeset
for help on using the changeset viewer.