Ignore:
Timestamp:
Feb 17, 2005, 5:36:29 PM (20 years ago)
Author:
ole
Message:

Addressed problem with artificial momentum generated by discontinuous water depths in the presence of steep slopes.
Now very shallow water is limited with a separate h-limiter controlled by beta_h
(see config.py) for details.

File:
1 edited

Legend:

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

    r826 r907  
    813813    N = quantity.domain.number_of_elements
    814814   
    815     beta = quantity.domain.beta
     815    beta_w = quantity.domain.beta_w
    816816       
    817817    qc = quantity.centroid_values
     
    852852            if (dq[k,i] < 0): r = dqmin[k]/dq[k,i]
    853853           
    854             phi = min( min(r*beta, 1), phi )   
     854            phi = min( min(r*beta_w, 1), phi )   
    855855
    856856        #Then update using phi limiter
Note: See TracChangeset for help on using the changeset viewer.