Changeset 8155
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/generic_domain.py
r8154 r8155 1288 1288 self.number_of_first_order_steps = 0 1289 1289 1290 # Update ghosts 1290 # Update ghosts to ensure all centroid values are available 1291 1291 self.update_ghosts() 1292 1292 -
trunk/anuga_validation/validation_tests/periodic_wave.py
r8103 r8155 62 62 domain.CFL = 1.0 63 63 64 domain.beta_w = 1.065 domain.beta_w_dry = 0.066 domain.beta_uh = 1.067 domain.beta_uh_dry = 0.068 domain.beta_vh = 1.069 domain.beta_vh_dry = 0.064 #domain.beta_w = 1.0 65 #domain.beta_w_dry = 0.0 66 #domain.beta_uh = 1.0 67 #domain.beta_uh_dry = 0.0 68 #domain.beta_vh = 1.0 69 #domain.beta_vh_dry = 0.0 70 70 71 71 … … 73 73 # Setup initial conditions 74 74 #------------------------------------------------------------------------------ 75 domain.set_quantity('elevation',-10 0.0)75 domain.set_quantity('elevation',-10.0) 76 76 domain.set_quantity('friction', 0.00) 77 77 domain.set_quantity('stage', 0.0) … … 87 87 Bw = anuga.Time_boundary(domain=domain, # Time dependent boundary 88 88 ## Sine wave 89 f=lambda t: [(-amplitude*sin((1./ 300.)*t*2*pi)), 0.0, 0.0])89 f=lambda t: [(-amplitude*sin((1./600.)*t*2*pi)), 0.0, 0.0]) 90 90 ## Sawtooth? 91 91 # f=lambda t: [(-8.0*(sin((1./180.)*t*2*pi))+(1./2.)*sin((2./180.)*t*2*pi)+(1./3.)*sin((3./180.)*t*2*pi)), 0.0, 0.0])
Note: See TracChangeset
for help on using the changeset viewer.