Changeset 5176
 Timestamp:
 Mar 19, 2008, 9:02:27 PM (15 years ago)
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

anuga_core/source/anuga/shallow_water/shallow_water_domain.py
r5175 r5176 396 396 # Call correct module function 397 397 # (either from this module or Cextension) 398 if self.use_edge_limiter: 398 if self.use_edge_limiter: 399 protect_against_infinitesimal_and_negative_heights(self) 399 400 for name in self.conserved_quantities: 400 401 Q = self.quantities[name] 
anuga_work/development/attenuation_near_shore/run_beach_structured.py
r5175 r5176 79 79 thinner=True 80 80 else: 81 yieldstep = 1 081 yieldstep = 1.0 82 82 finaltime = 1600 83 finaltime = 40083 finaltime = 1000 84 84 maximum_triangle_area = 100 85 85 thinner=True … … 143 143 domain.set_timestepping_method('rk2') 144 144 domain.set_default_order(2) 145 domain.use_ old_limiter = False145 domain.use_edge_limiter = True 146 146 domain.tight_slope_limiters = True 147 147 … … 173 173 Bd = Dirichlet_boundary([10.,0,0]) 174 174 Bwp = Transmissive_Momentum_Set_Stage_boundary(domain, 175 lambda t: [(1.2*sin(2*t*pi/50 )), 0.0 ,0.0])175 lambda t: [(1.2*sin(2*t*pi/500)), 0.0 ,0.0]) 176 176 Bwp_velocity = Time_boundary(domain, 177 177 lambda t: [(1.2*sin(2*t*pi/10)), 178 178 0.24*sin(2*t*pi/10),0.0]) 179 179 Bws = Transmissive_Momentum_Set_Stage_boundary(domain, 180 lambda t: [1.2*sin(2*t*pi/ 25),180 lambda t: [1.2*sin(2*t*pi/100), 181 181 0.0, 0.0]) 182 182 #domain.set_boundary( {'wall': Br, 'wave': Bwp_velocity} )
Note: See TracChangeset
for help on using the changeset viewer.