Changeset 7990
- Timestamp:
- Sep 2, 2010, 11:16:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/testing_wide_bridge.py
r7987 r7990 177 177 178 178 179 culvert1 = Culvert_operator(domain, 180 end_point0=[40.0, 87.5], 181 end_point1=[50.0, 87.5], 182 width=25.0, 179 #------------------------------------------------------------------------------ 180 # Setup culverts 181 #------------------------------------------------------------------------------ 182 culverts = [] 183 number_of_culverts = 1 184 for i in range(number_of_culverts): 185 culvert_width = 50.0/number_of_culverts 186 y = 100-i*culvert_width - culvert_width/2.0 187 ep0 = [40.0, y] 188 ep1 = [50.0, y] 189 culverts.append(Culvert_operator(domain, 190 end_point0=ep0, 191 end_point1=ep1, 192 width=culvert_width, 183 193 height=10.0, 184 194 apron=5.0, 195 use_momentum_jet=True, 196 use_velocity_head=False, 185 197 manning=0.013, 186 verbose=False) 187 188 189 culvert2 = Culvert_operator(domain, 190 end_point0=[40.0, 62.5], 191 end_point1=[50.0, 62.5], 192 width=25.0, 193 height=10.0, 194 apron=5.0, 195 manning=0.013, 196 verbose=False) 198 verbose=False)) 199 200 201 202 203 #culvert2 = Culvert_operator(domain, 204 # end_point0=[40.0, 62.5], 205 # end_point1=[50.0, 62.5], 206 # width=25.0, 207 # height=10.0, 208 # apron=5.0, 209 # manning=0.013, 210 # verbose=False) 211 197 212 198 213
Note: See TracChangeset
for help on using the changeset viewer.