Changeset 4243 for anuga_core/source/anuga
- Timestamp:
- Feb 8, 2007, 4:43:35 AM (18 years ago)
- Location:
- anuga_core/source/anuga/examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/examples/island.py
r4026 r4243 33 33 'top': [2], 34 34 'left': [3]}, 35 maximum_triangle_area = 1 .0,35 maximum_triangle_area = 10.0, 36 36 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)] 38 38 #interior_holes=[[[50,25], [70,25], [70,75], [50,75]]], 39 39 ) … … 55 55 # beta_h == 0.0 means that constant (1st order) gradients are introduced 56 56 # 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 64 domain.beta_h = 0.0 65 domain.limit2007 = 1 63 66 64 67 #------------------------------------------------------------------------------ … … 90 93 91 94 95 92 96 #------------------------------------------------------------------------------ 93 97 # Setup boundary conditions (all reflective) … … 105 109 106 110 import time 107 for t in domain.evolve(yieldstep = 1, finaltime = 10 0):111 for t in domain.evolve(yieldstep = 1, finaltime = 10): 108 112 domain.write_time() 109 113 #if allclose(t, 100): -
anuga_core/source/anuga/examples/limiter_test.py
r4219 r4243 27 27 domain.set_store_vertices_uniquely(True) 28 28 domain.set_default_order(2) 29 domain.limit2007 = 1 29 30 30 31 #------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.