Changeset 9292 for trunk/anuga_work/development/gareth/tests/dam_break
- Timestamp:
- Aug 12, 2014, 12:10:51 PM (11 years ago)
- Location:
- trunk/anuga_work/development/gareth/tests/dam_break
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/gareth/tests/dam_break/dam_break.py
r9007 r9292 14 14 from numpy import zeros, float 15 15 from time import localtime, strftime, gmtime 16 from bal_and import *16 #from bal_and import * 17 17 #from anuga_tsunami import * 18 18 … … 42 42 points, vertices, boundary = anuga.rectangular_cross(int(L/dx), int(W/dy), L, W, (0.0, -W/2)) 43 43 44 #domain = anuga.Domain(points, vertices, boundary)45 domain = Domain(points, vertices, boundary)44 domain = anuga.Domain(points, vertices, boundary) 45 #domain = Domain(points, vertices, boundary) 46 46 47 47 domain.set_name(output_file) … … 56 56 print domain.get_timestepping_method() 57 57 58 domain.set_flow_algorithm('DE0') 59 #domain.set_local_extrapolation_and_flux_updating(nlevels=8) 58 60 #domain.use_edge_limiter = True 59 61 #domain.use_edge_limiter = False -
trunk/anuga_work/development/gareth/tests/dam_break/plotme.py
r9038 r9292 4 4 """ 5 5 from anuga.utilities import plot_utils as util 6 from bal_and import plot_utils as util27 6 from matplotlib import pyplot as pyplot 8 7 9 p_st = util.get_output('dam_break_201 20305_124724/dam_break.sww')8 p_st = util.get_output('dam_break_20140811_130209/dam_break.sww') 10 9 p2_st=util.get_centroids(p_st) 11 10 12 11 13 p_dev = util 2.get_output('dam_break_20131204_145613/dam_break.sww', 0.001)14 p2_dev=util 2.get_centroids(p_dev, velocity_extrapolation=True)12 p_dev = util.get_output('dam_break_20140811_130049/dam_break.sww', 0.001) 13 p2_dev=util.get_centroids(p_dev, velocity_extrapolation=True) 15 14 16 15 pyplot.clf()
Note: See TracChangeset
for help on using the changeset viewer.