Ignore:
Timestamp:
Dec 7, 2006, 5:02:56 PM (17 years ago)
Author:
sexton
Message:

nsw slide modelling updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/dampier_2006/export_results.py

    r4045 r4069  
    2020
    2121if which_var == 1:  # Absolute Momentum
    22     outname = name + '_momentum_i50'
     22    outname = name + '_momentum_i1'
    2323    quantityname = '(xmomentum**2 + ymomentum**2)**0.5' 
    2424
     
    2828
    2929if which_var == 3:  # Speed
    30     outname = name + '_speed_all'
     30    outname = name + '_speed_i0'
    3131    #quantityname = '((xmomentum/(stage-elevation))**2 + (ymomentum/(stage-elevation))**2)**0.5'  #Speed
    3232    quantityname = '(xmomentum**2 + ymomentum**2)**0.5/(stage-elevation+1.e-30)'  #Speed
     
    3737
    3838if is_parallel == True:
    39     for i in range(2,nodes):
     39    for i in range(0,nodes):
    4040        namei = name + '_P%d_%d' %(i,nodes)
    4141        outnamei = outname + '_P%d_%d' %(i,nodes)
     
    4343        sww2dem(namei, basename_out = outnamei,
    4444                    quantity = quantityname,
    45                     timestep = 50,
     45                    timestep = 1,
    4646                    cellsize = 100,     
    4747                    #easting_min = project.e_min_area,
     
    4949                    #northing_min = project.n_min_area,
    5050                    #northing_max = project.n_max_area,       
    51                     #reduction = max,
     51                    reduction = max,
    5252                    verbose = True,
    5353                    format = 'asc')
Note: See TracChangeset for help on using the changeset viewer.