Changeset 8884 for trunk/anuga_work/development/gareth/tests
- Timestamp:
- Jun 7, 2013, 3:49:59 PM (12 years ago)
- Location:
- trunk/anuga_work/development/gareth/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/gareth/tests/runup_sinusoid/runup_sinusoid.py
r8880 r8884 14 14 #from swb2_domain import * 15 15 #from balanced_basic import * 16 #from balanced_dev import *16 from balanced_dev import * 17 17 #from anuga_tsunami import * 18 18 … … 22 22 points, vertices, boundary = anuga.rectangular_cross(20,20, len1=1., len2=1.) 23 23 24 domain= anuga.Domain(points,vertices,boundary) # Create Domain24 domain=Domain(points,vertices,boundary) # Create Domain 25 25 domain.set_name('runup_sinusoid_v2') # Output to file runup.sww 26 26 #domain.set_timestepping_method('euler') 27 domain.set_flow_algorithm('tsunami')27 #domain.set_flow_algorithm('tsunami') 28 28 #------------------ 29 29 # Define topography … … 32 32 #### Pathological 33 33 #scale_me=100.0 34 #boundary_ws=-0.2 34 #boundary_ws=-0.2#1999 35 35 #init_ws=-0.2 36 36 #bumpiness=50. # Higher = shorter wavelength oscillations in topography 37 #tstep=0. 00238 #lasttime= 1.137 #tstep=0.2 38 #lasttime=20.1 39 39 40 40 ### Sensible … … 60 60 domain.set_quantity('friction',0.00) # Constant friction 61 61 62 print '#-#', domain.minimum_allowed_height 62 63 #def frict_change(x,y): 63 64 # return 0.2*(x>0.5)+0.1*(x<=0.5) -
trunk/anuga_work/development/gareth/tests/shallow_steep_slope/channel_SU_sparse.py
r8865 r8884 43 43 return stg#*(stg>topo) + topo*(stg<=topo) 44 44 45 line1=[ [ 10.,0.], [10., 100.] ]46 Qin=2 0.45 line1=[ [9.,0.], [9., 100.] ] 46 Qin=2. 47 47 Inlet_operator(domain, line1,Qin) 48 48
Note: See TracChangeset
for help on using the changeset viewer.