Ignore:
Timestamp:
Aug 12, 2014, 12:10:51 PM (11 years ago)
Author:
davies
Message:

Adding local extrapolation and flux updating

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/gareth/tests/runup_sinusoid/runup_sinusoid.py

    r9260 r9292  
    2020domain.set_name('runup_sinusoid_v2')                         # Output to file runup.sww
    2121#domain.set_store_centroids(True)
    22 domain.set_flow_algorithm('DE1')
     22domain.set_flow_algorithm('DE0')
    2323domain.set_quantities_to_be_stored({'stage': 2, 'xmomentum': 2,
    2424         'ymomentum': 2, 'elevation': 2})
     
    4242bumpiness=50. # Higher = shorter wavelength oscillations in topography
    4343tstep=0.2
    44 lasttime=90.
     44lasttime=30.
    4545
    4646#domain.minimum_allowed_height=domain.minimum_allowed_height*scale_me # Seems needed to make the algorithms behave
     
    110110    print 'Their difference is:', vol-flux_integral
    111111    #print 'Volume less flux int', sum(dd_raw*domain.areas) - domain.boundary_flux_integral
    112    
     112    print 'Update_next_flux range:'
     113    print domain.update_extrapolation.min(), domain.update_extrapolation.max()
     114    print 'Flux_update_frequency range:'
     115    print domain.flux_update_frequency.min(), domain.flux_update_frequency.max()
    113116
    114117vel_final_inds=(vv>1.0e-01).nonzero()
Note: See TracChangeset for help on using the changeset viewer.