Changeset 5300


Ignore:
Timestamp:
May 9, 2008, 3:08:19 PM (17 years ago)
Author:
steve
Message:

Working version of wave.py and dam_break.py

Location:
anuga_validation/convergence_study
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/convergence_study/dam_break.py

    r5177 r5300  
    4141# Setup domain
    4242#------------------------------------------------------------------------------
    43 dx = 1000.
     43dx = 200.
    4444dy = dx
    4545L = 100000.
    46 W = 50*dx
     46W = 10*dx
    4747
    4848# structured mesh
     
    6464domain.use_edge_limiter = True
    6565domain.tight_slope_limiters = True
     66domain.use_centroid_velocities = False
    6667
    6768domain.CFL = 1.0
     
    8081
    8182h0 = 10.0
    82 h1 = 0.1
     83h1 = 0.0
    8384
    8485def height(x,y):
     
    110111vis = RealtimeVisualiser(domain)
    111112vis.render_quantity_height("stage", zScale =h0*500, dynamic=True)
    112 vis.colour_height_quantity('stage', (1.0, 0.5, 0.5))
     113vis.colour_height_quantity('stage', (0.0, 0.5, 1.0))
    113114vis.start()
    114115#===============================================================================
  • anuga_validation/convergence_study/wave.py

    r5180 r5300  
    4242# Setup domain
    4343#------------------------------------------------------------------------------
    44 dx = 100.
     44dx = 1000.
    4545dy = dx
    4646L = 100000.
     
    6464
    6565domain.use_edge_limiter = True
    66 domain.tight_slope_limiters = True
     66domain.tight_slope_limiters = False
     67domain.use_centroid_velocities = False
    6768
    6869domain.CFL = 1.0
    6970
    70 domain.beta_w      = 0.6
     71domain.beta_w      = 1.0
    7172domain.beta_w_dry  = 0.0
    72 domain.beta_uh     = 0.6
     73domain.beta_uh     = 1.0
    7374domain.beta_uh_dry = 0.0
    74 domain.beta_vh     = 0.6
     75domain.beta_vh     = 1.0
    7576domain.beta_vh_dry = 0.0
    7677domain.beta_h    = 0.0
    7778
    78 interactive_visualisation = False
     79interactive_visualisation = True
    7980
    8081
Note: See TracChangeset for help on using the changeset viewer.