Changeset 3829 for anuga_validation/okushiri_2005/okushiri_parallel.py
- Timestamp:
- Oct 19, 2006, 6:21:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/okushiri_2005/okushiri_parallel.py
r3785 r3829 29 29 #------------------------- 30 30 domain = Domain(project.mesh_filename, use_cache=True, verbose=True) 31 domain.set_name('okushiri_parallel')32 domain.set_minimum_storable_height(0.001)33 domain.set_default_order(2)34 print domain.statistics()35 36 31 37 32 #------------------------- … … 46 41 use_cache = True) 47 42 48 #-------------------------49 # Boundary Conditions50 #-------------------------51 Br = Reflective_boundary(domain)52 53 domain.set_boundary({'wave': None, # Bind this one later54 'wall': Br})55 56 43 57 44 #------------------------- … … 60 47 domain = distribute(domain) 61 48 49 # Parameters 50 domain.set_name('okushiri_parallel') 51 domain.set_minimum_storable_height(0.001) 52 domain.set_default_order(2) 53 domain.set_maximum_allowed_speed(0.1) # Allow a little runoff (0.1 is OK) 62 54 63 # Bind boundary, that cannot be fully specified before distribution. 55 # Set old (pre Sep 2006) defaults for limiters 56 domain.beta_w = 0.9 57 domain.beta_w_dry = 0.9 58 domain.beta_uh = 0.9 59 domain.beta_uh_dry = 0.9 60 domain.beta_vh = 0.9 61 domain.beta_vh_dry = 0.9 62 63 64 #------------------------------------------------------------------------------ 65 # Setup boundary conditions 66 # (MUST currently happen after domain has been distributed) 67 #------------------------------------------------------------------------------ 68 69 Br = Reflective_boundary(domain) # Solid reflective wall 70 64 71 function = file_function(project.boundary_filename[:-4] + '.tms', 65 72 domain, … … 67 74 68 75 Bts = Transmissive_Momentum_Set_Stage_boundary(domain, function) 69 domain.modify_boundary({'wave': Bts}) 76 77 domain.set_boundary({'wave': Bts, # Bind this one later 78 'wall': Br}) 70 79 71 80
Note: See TracChangeset
for help on using the changeset viewer.