Changeset 4715
- Timestamp:
- Sep 10, 2007, 5:17:33 PM (17 years ago)
- Location:
- anuga_validation/convergence_study
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/convergence_study/animatesww2d_alt.py
r4709 r4715 124 124 close('all') 125 125 126 swwfile = join(getenv('INUNDATIONHOME'),'data','validation','convergence_study','5000','myexample2.sww') 127 animatesww2d(swwfile) 126 if __name__ == '__main__': 127 import sys 128 swwfile = sys.argv[1] 129 130 animatesww2d(swwfile) 131 132 #swwfile = join(getenv('INUNDATIONHOME'),'data','validation','convergence_study','5000','myexample2.sww') 133 #animatesww2d(swwfile) 128 134 129 135 # once png files have been created, they can then be dragged into -
anuga_validation/convergence_study/convergence.py
r4709 r4715 44 44 boundary_tags={'left': [0], 'top': [1], 45 45 'right': [2], 'bottom': [3]}, 46 maximum_triangle_area = 1000 ,46 maximum_triangle_area = 100000, 47 47 filename=meshname) 48 48 … … 50 50 domain = Domain(meshname, use_cache=True, verbose = True) 51 51 domain.set_name('myexample2') 52 domain.set_default_order(2) # Use second order spatial scheme 52 53 domain.set_datadir('.') # Use current directory for output 53 54 … … 56 57 #------------------------------------------------------------------------------ 57 58 #domain.set_quantity('elevation', topography) # Use function for elevation 58 domain.set_quantity('elevation', -100)59 domain.set_quantity('elevation', -100) 59 60 domain.set_quantity('friction', 0.00) 60 61 domain.set_quantity('stage', 0.0)
Note: See TracChangeset
for help on using the changeset viewer.