Changeset 4720


Ignore:
Timestamp:
Sep 10, 2007, 6:32:46 PM (17 years ago)
Author:
ole
Message:

Played with the 'creep' problem. I am still not sure what is going on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/demos/island.py

    r4631 r4720  
    33Island surrounded by water.
    44This example investigates onshore 'creep'
     5
     6Creep is defined as water moving uphill over many timesteps.
     7The initial adjustment at time = 0 is not 'creep'
    58
    69"""
     
    3336                                           'top': [2],
    3437                                           'left': [3]},
    35                           maximum_triangle_area = 5,
     38                          maximum_triangle_area = 2,
    3639                          filename = 'island.msh' ,
    3740                          interior_regions=[ ([[50,25], [70,25], [70,75], [50,75]], 10.0)]
     
    6063#domain.alpha_balance = 10.0
    6164#domain.minimum_allowed_height = 1.0e-4
    62 #domain.maximum_allowed_speed = 100.0
     65#domain.maximum_allowed_speed = 0
    6366#domain.minimum_storable_height = 1.0e-4
    6467
    65 domain.beta_h     = 0.0
    66 domain.tight_slope_limiters = 1
     68#------------------------
     69# Combinations with creep
     70#------------------------
     71
     72#domain.maximum_allowed_speed = 0
     73#domain.beta_h = 0.0
     74#domain.tight_slope_limiters = 0
     75
     76#domain.maximum_allowed_speed = 0
     77#domain.beta_h = 0.0
     78#domain.H0 = 0.01
     79#domain.tight_slope_limiters = 1
     80
     81#---------------------------
     82# Combinations with less creep ??
     83#---------------------------
     84
     85domain.maximum_allowed_speed = 1
     86domain.beta_h = 0.0
     87domain.tight_slope_limiters = 0
     88
     89#domain.maximum_allowed_speed = 10
     90#domain.beta_h = 0.0
     91#domain.H0 = 0.01
     92#domain.tight_slope_limiters = 1
     93
     94
     95
     96
    6797
    6898#------------------------------------------------------------------------------
     
    86116    return z
    87117
    88 stage_value = 15.0
     118stage_value = 10.0
    89119#domain.set_quantity('friction', 0.1)  #Honky dory
    90120domain.set_quantity('friction', 0.01)     #Creep
     
    110140
    111141import time
    112 for t in domain.evolve(yieldstep = 1, finaltime = 5):
     142for t in domain.evolve(yieldstep = 1, finaltime = 25):
    113143    domain.write_time()
    114144    #if allclose(t, 100):
Note: See TracChangeset for help on using the changeset viewer.