Ignore:
Timestamp:
Feb 14, 2006, 1:43:12 PM (19 years ago)
Author:
nicholas
Message:

Updated compare_sww.py. Increased distance of rear boundary and changed to dirichlet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • development/momentum_sink/compare_sww.py

    r2379 r2395  
    55import project
    66from pyvolution.util import file_function
     7import Numeric
     8#from friction_block #import test
     9
     10#print "test", test
     11#import sys
     12#sys.exit()
    713
    814
    915#swwfile = project.outputname + '.sww'
    10 swwfile = project.outputdir + sep  + 'friction_12330.sww'
    11 gauge_locations = [[10,10],[20,20]]
     16#swwfile = project.outputdir + sep  + 'FrictionBlock_0.01_3.sww'
     17swwfile = project.outputdir + sep  + 'Buildings_3662.sww'
     18gauge_depth = Numeric.arrayrange(0, 700, 20)
     19gauge_breadth = 100
     20gauge_locations = []
    1221
    13 quantities = ['stage','elevation']
     22for GD in gauge_depth:
     23    gauge_location = [GD,gauge_breadth]
     24    gauge_locations.append(gauge_location)
     25
     26quantities = ['stage','elevation','xmomentum']
    1427gauges = file_function(swwfile,
    1528                  quantities = quantities,
     
    1831                  use_cache = True)
    1932
    20 times = [0,1,2,3,4]
     33times = [150,500]
    2134
    2235for gauge, _ in enumerate(gauge_locations):
Note: See TracChangeset for help on using the changeset viewer.