Ignore:
Timestamp:
Jun 7, 2013, 3:49:59 PM (12 years ago)
Author:
davies
Message:

Updates to bal_dev

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  
    1414#from swb2_domain import *
    1515#from balanced_basic import *
    16 #from balanced_dev import *
     16from balanced_dev import *
    1717#from anuga_tsunami import *
    1818
     
    2222points, vertices, boundary = anuga.rectangular_cross(20,20, len1=1., len2=1.)
    2323
    24 domain=anuga.Domain(points,vertices,boundary)    # Create Domain
     24domain=Domain(points,vertices,boundary)    # Create Domain
    2525domain.set_name('runup_sinusoid_v2')                         # Output to file runup.sww
    2626#domain.set_timestepping_method('euler')
    27 domain.set_flow_algorithm('tsunami')
     27#domain.set_flow_algorithm('tsunami')
    2828#------------------
    2929# Define topography
     
    3232#### Pathological
    3333#scale_me=100.0
    34 #boundary_ws=-0.2
     34#boundary_ws=-0.2#1999
    3535#init_ws=-0.2
    3636#bumpiness=50. # Higher = shorter wavelength oscillations in topography
    37 #tstep=0.002
    38 #lasttime=1.1
     37#tstep=0.2
     38#lasttime=20.1
    3939
    4040### Sensible
     
    6060domain.set_quantity('friction',0.00)             # Constant friction
    6161
     62print '#-#', domain.minimum_allowed_height
    6263#def frict_change(x,y):
    6364#       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  
    4343    return stg#*(stg>topo) + topo*(stg<=topo)
    4444
    45 line1=[ [10.,0.], [10., 100.] ]
    46 Qin=20.
     45line1=[ [9.,0.], [9., 100.] ]
     46Qin=2.
    4747Inlet_operator(domain, line1,Qin)
    4848
Note: See TracChangeset for help on using the changeset viewer.