Changeset 4219


Ignore:
Timestamp:
Feb 6, 2007, 12:00:06 PM (17 years ago)
Author:
ole
Message:

Diagnostic work on flux and slope limiters

Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/config.py

    r4170 r4219  
    8181beta_h      = 0.2
    8282
    83 alpha_balance = 2.0
     83# Alpha_balance controls how limiters are balanced between deep and shallow.
     84# A large value will favour the deep water limiters, allowing the a closer hug to the coastline.
     85# This will minimise 'creep' but at the same time cause smaller time steps
     86# Range:
     87
     88alpha_balance = 2.0
     89
    8490
    8591CFL = 1.0  #FIXME (ole): Is this in use yet??
  • anuga_core/source/anuga/examples/limiter_test.py

    r4187 r4219  
    2626domain.set_name('limiter_test')
    2727domain.set_store_vertices_uniquely(True)
     28domain.set_default_order(2)
    2829
    2930#------------------------------------------------------------------------------
     
    4445
    4546domain.set_quantity('elevation', topography) # Use function for elevation
    46 domain.set_quantity('stage', 0.5)             # Constant negative initial stage
     47domain.set_quantity('stage', 0.5)           # Constant initial stage
    4748
    4849
     
    5859#------------------------------------------------------------------------------
    5960
    60 for t in domain.evolve(yieldstep = 0.1, finaltime = 1.0):
     61for t in domain.evolve(yieldstep = 0.1, finaltime = 50.0):
    6162    domain.write_time()
     63
     64print 'done'   
    6265
    6366   
  • anuga_validation/okushiri_2005/run_okushiri.py

    r4022 r4219  
    8080
    8181for t in domain.evolve(yieldstep = 0.05, finaltime = 22.5):
    82     domain.write_time()
     82    domain.write_time(track_speeds=True)
    8383
    8484print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset for help on using the changeset viewer.