- Timestamp:
- Sep 1, 2012, 7:44:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/gareth/tests/runup_sinusoid/runup_sinusoid.py
r8547 r8549 37 37 38 38 def stagefun(x,y): 39 stge=-0.2*scale_me # 39 stge=-0.2*scale_me #+0.01*(x>0.9) 40 40 #topo=topography(x,y) 41 41 return stge#*(stge>topo) + (topo)*(stge<=topo) … … 72 72 # Associate boundary tags with boundary objects 73 73 #---------------------------------------------- 74 domain.set_boundary({'left': Br, 'right': B r, 'top': Br, 'bottom':Br})74 domain.set_boundary({'left': Br, 'right': Bd, 'top': Br, 'bottom':Br}) 75 75 76 76 #------------------------------ … … 78 78 #------------------------------ 79 79 80 for t in domain.evolve(yieldstep=0.2,finaltime= 20.0):80 for t in domain.evolve(yieldstep=0.2,finaltime=40.0): 81 81 print domain.timestepping_statistics() 82 82 xx = domain.quantities['xmomentum'].centroid_values
Note: See TracChangeset
for help on using the changeset viewer.