- Timestamp:
- Nov 15, 2011, 4:36:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/shallow_water_balanced_steve/run_wave.py
r8202 r8248 12 12 import sys 13 13 import anuga 14 from swb_domain import * 14 from anuga import Domain 15 #from swb_domain import * 15 16 16 17 from math import cos … … 56 57 domain.set_timestepping_method('rk2') 57 58 domain.set_default_order(2) 59 domain.set_beta(2.0) 58 60 59 61 print domain.get_timestepping_method() … … 79 81 Bd = anuga.Dirichlet_boundary([1,0.,0.]) # Constant boundary values 80 82 amplitude = 1 81 wave_length = 1000.083 wave_length = 300.0 82 84 Bw = anuga.Time_boundary(domain=domain, # Time dependent boundary 83 85 ## Sine wave
Note: See TracChangeset
for help on using the changeset viewer.