Ignore:
Timestamp:
Feb 8, 2007, 4:43:35 AM (18 years ago)
Author:
ole
Message:

Tried new balanced limiter with examples

Location:
anuga_core/source/anuga/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/examples/island.py

    r4026 r4243  
    3333                                           'top': [2],
    3434                                           'left': [3]},
    35                           maximum_triangle_area = 1.0,
     35                          maximum_triangle_area = 10.0,
    3636                          filename = 'island.msh' ,
    37                           interior_regions=[ ([[50,25], [70,25], [70,75], [50,75]], 1.0)]
     37                          interior_regions=[ ([[50,25], [70,25], [70,75], [50,75]], 10.0)]
    3838                          #interior_holes=[[[50,25], [70,25], [70,75], [50,75]]],
    3939                          )
     
    5555# beta_h == 0.0 means that constant (1st order) gradients are introduced
    5656# on h. This is equivalent to the constant depth used previously.
    57 domain.beta_h     = 0.5
    58 domain.beta_w_dry = 0.0
    59 domain.alpha_balance = 10.0
    60 domain.minimum_allowed_height = 1.0e-4
    61 domain.maximum_allowed_speed = 100.0
    62 domain.minimum_storable_height = 1.0e-4
     57#domain.beta_h     = 0.5
     58#domain.beta_w_dry = 0.0
     59#domain.alpha_balance = 10.0
     60#domain.minimum_allowed_height = 1.0e-4
     61#domain.maximum_allowed_speed = 100.0
     62#domain.minimum_storable_height = 1.0e-4
     63
     64domain.beta_h     = 0.0
     65domain.limit2007 = 1
    6366
    6467#------------------------------------------------------------------------------
     
    9093
    9194
     95
    9296#------------------------------------------------------------------------------
    9397# Setup boundary conditions (all reflective)
     
    105109
    106110import time
    107 for t in domain.evolve(yieldstep = 1, finaltime = 100):
     111for t in domain.evolve(yieldstep = 1, finaltime = 10):
    108112    domain.write_time()
    109113    #if allclose(t, 100):
  • anuga_core/source/anuga/examples/limiter_test.py

    r4219 r4243  
    2727domain.set_store_vertices_uniquely(True)
    2828domain.set_default_order(2)
     29domain.limit2007 = 1
    2930
    3031#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.