Changeset 4069


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

nsw slide modelling updates

Location:
anuga_work/production
Files:
4 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')
  • anuga_work/production/newcastle_2006/project_slide.py

    r4063 r4069  
    126126bulli_density = 1.46
    127127bulli_slope = 4.0
    128 bulli_alpha = 126.0 + 90.0
     128bulli_alpha = 126.0 - 90.0
    129129
    130130shovel_depth = 968.0
     
    134134shovel_density = 1.49
    135135shove_slope = 4.0
    136 shovel_alpha = 118.0 + 90.0
     136shovel_alpha = 118.0 - 90.0
    137137
    138138yacaaba_depth = 1119.0
     
    142142yacaaba_density = 1.48
    143143yacaaba_slope = 3.0
    144 yacaaba_alpha = 133.0 + 90.0
     144yacaaba_alpha = 133.0 - 90.0
  • anuga_work/production/newcastle_2006/run_newcastle_slide.py

    r4063 r4069  
    169169import time
    170170t0 = time.time()
     171from Numeric import allclose
     172from anuga.abstract_2d_finite_volumes.quantity import Quantity
    171173
    172 for t in domain.evolve(yieldstep = 30, finaltime = 480):
     174for t in domain.evolve(yieldstep = 30, finaltime = 5000):
    173175    domain.write_time()
    174176    domain.write_boundary_statistics(tags = 'e14')
  • anuga_work/production/wollongong_2006/run_gong_slide.py

    r4063 r4069  
    172172import time
    173173t0 = time.time()
     174from Numeric import allclose
     175from anuga.abstract_2d_finite_volumes.quantity import Quantity
    174176
    175 for t in domain.evolve(yieldstep = 30, finaltime = 480):
     177for t in domain.evolve(yieldstep = 30, finaltime = 5000):
    176178    domain.write_time()
    177179    domain.write_boundary_statistics(tags = 'e14')
Note: See TracChangeset for help on using the changeset viewer.