- Timestamp:
- Oct 22, 2010, 5:10:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/testing_culvert.py
r8007 r8050 11 11 12 12 from anuga.structures.boyd_pipe_operator import Boyd_pipe_operator 13 from anuga.structures.inlet_operator import Inlet_operator 13 14 14 15 #from anuga.culvert_flows.culvert_routines import boyd_generalised_culvert_model … … 101 102 102 103 103 #culvert2 = Generic_box_culvert(domain, 104 # end_point0=[19.0, 2.5], 105 # end_point1=[25.0, 2.5], 106 # width=1.00, 107 # verbose=False) 104 line = [[0.0, 5.0], [0.0, 10.0]] 105 Q = 5.0 106 #Inlet_operator(domain, line, Q) 108 107 109 108 110 109 111 112 #print domain.fractional_step_operators113 114 #domain.apply_fractional_steps()115 110 116 111 ##----------------------------------------------------------------------- … … 143 138 domain.write_time() 144 139 145 if domain.get_time() > 150.5 and domain.get_time() < 151.5 :146 Bi = anuga.Dirichlet_boundary([0.0, 0.0, 0.0])147 domain.set_boundary({'left': Bi, 'right': Br, 'top': Br, 'bottom': Br})140 #if domain.get_time() > 150.5 and domain.get_time() < 151.5 : 141 #Bi = anuga.Dirichlet_boundary([0.0, 0.0, 0.0]) 142 #domain.set_boundary({'left': Bi, 'right': Br, 'top': Br, 'bottom': Br}) 148 143 149 144 #delta_w = culvert.inlet.stage - culvert.outlet.stage
Note: See TracChangeset
for help on using the changeset viewer.