Changeset 8446 for trunk/anuga_work/development/gareth/tests/channel_floodplain/channel_floodplain1.py
- Timestamp:
- Jun 14, 2012, 12:31:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/gareth/tests/channel_floodplain/channel_floodplain1.py
r8353 r8446 10 10 import numpy 11 11 from anuga.structures.inlet_operator import Inlet_operator 12 from anuga import *12 #from anuga import * 13 13 #from swb_domain import domain 14 14 #from anuga import * … … 82 82 83 83 84 domain.set_name('channel_floodplain1 _bal_dev_lowvisc') # Output name84 domain.set_name('channel_floodplain1') # Output name 85 85 #domain.set_store_vertices_uniquely(True) 86 86 #domain.use_edge_limiter=False … … 142 142 143 143 # Define inlet operator 144 flow_in_yval=10 0.0144 flow_in_yval=10.0 145 145 if True: 146 146 line1 = [ [floodplain_width/2. - chan_width/2., flow_in_yval],\ … … 245 245 if( numpy.floor(t/100.) == t/100. ): 246 246 print '#### COMPUTING FLOW THROUGH CROSS-SECTIONS########' 247 s0 = domain.get_flow_through_cross_section([[0., 10.0], [floodplain_width, 10.]]) 247 248 s1 = domain.get_flow_through_cross_section([[0., floodplain_length-300.0], [floodplain_width, floodplain_length-300.0]]) 248 249 s2 = domain.get_flow_through_cross_section([[0., floodplain_length-1.0], [floodplain_width, floodplain_length-1.0]]) 249 250 250 print 'Cross sectional flows: ', s 1, s2251 print 'Cross sectional flows: ', s0, s1, s2 251 252 print '$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$' 252 253
Note: See TracChangeset
for help on using the changeset viewer.