Changeset 451


Ignore:
Timestamp:
Oct 26, 2004, 10:07:41 PM (20 years ago)
Author:
ole
Message:

Good example using pyvolution mark 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/netherlands.py

    r450 r451  
    9494N = 20
    9595#N = 150
    96 N = 130
    97 N = 60
     96N = 110
     97#N = 60
    9898
    9999print 'Creating domain'
     
    108108
    109109#Output params
    110 domain.smooth = False
     110domain.smooth = True
    111111domain.reduction = min  #Looks a lot better on top of steep slopes
    112112
     
    134134#Set bed-slope and friction
    135135inflow_stage = 0.08
    136 manning = 0.0
     136manning = 0.02
    137137Z = Weir(inflow_stage)
    138138
     
    155155#Set boundary conditions
    156156domain.set_boundary({'left': Bd, 'right': Br, 'bottom': Br, 'top': Br})
    157 #domain.set_boundary({'left': Bd, 'right': Bt, 'bottom': Bt, 'top': Bt})
    158 
    159157                 
    160158
     
    169167t0 = time.time()
    170168
    171 for t in domain.evolve(yieldstep = 0.1, finaltime = 5.0):
     169for t in domain.evolve(yieldstep = 0.1, finaltime = 10.0):
    172170    domain.write_time()
    173171   
Note: See TracChangeset for help on using the changeset viewer.