Changeset 3257


Ignore:
Timestamp:
Jun 29, 2006, 1:21:32 PM (18 years ago)
Author:
sexton
Message:

fixup

Location:
documentation/user_manual/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/examples/runup.py

    r3255 r3257  
    3737
    3838def topography(x,y):
    39     return -x/2                              # linear bed slope
     39    return -x/3                             # linear bed slope
    4040    #return x*(-(2.0-x)*.5)                  # curved bed slope
    4141
     
    5454Bd = Dirichlet_boundary([-0.5,0.,0.]) # Constant boundary values
    5555Bw = Time_boundary(domain=domain,     # Time dependent boundary 
    56                    f=lambda t: [(0.2*sin(t*2*pi)-0.3), 0.0, 0.0])
     56                   f=lambda t: [(1.*sin(t*2*pi)-0.3), 0.0, 0.0])
    5757
    5858# Associate boundary tags with boundary objects
  • documentation/user_manual/examples/runuptest.py

    r3256 r3257  
    2222#------------------------------------------------------------------------------
    2323
    24 waveheight = 2000.0
     24waveheight = 1800.0
    2525depth_east_edge = -4000.
     26timeend = 1000.0
    2627west = 0.
    2728east = 80000.
     
    8182
    8283stagestep = []
    83 for t in domain.evolve(yieldstep = 10, finaltime = 1000.0):
     84for t in domain.evolve(yieldstep = 10, finaltime = timeend):
    8485    domain.write_time()
    8586
Note: See TracChangeset for help on using the changeset viewer.