- Timestamp:
- Aug 25, 2010, 4:35:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/testing_culvert.py
r7968 r7975 42 42 domain.set_name('Test_culvert') # Output name 43 43 domain.set_default_order(2) 44 #domain.set_beta(1.5) 44 45 45 46 … … 110 111 111 112 ## Inflow based on Flow Depth and Approaching Momentum 112 Bi = anuga.Dirichlet_boundary([ 1.0, 0.0, 0.0])113 Bi = anuga.Dirichlet_boundary([2.0, 0.0, 0.0]) 113 114 Br = anuga.Reflective_boundary(domain) # Solid reflective wall 114 115 #Bo = anuga.Dirichlet_boundary([-5, 0, 0]) # Outflow … … 131 132 #min_delta_w = sys.maxint 132 133 #max_delta_w = -min_delta_w 133 for t in domain.evolve(yieldstep = 1.0, finaltime = 100):134 for t in domain.evolve(yieldstep = 1.0, finaltime = 200): 134 135 domain.write_time() 136 137 if domain.get_time() > 150.5 and domain.get_time() < 151.5 : 138 Bi = anuga.Dirichlet_boundary([0.0, 0.0, 0.0]) 139 domain.set_boundary({'left': Bi, 'right': Br, 'top': Br, 'bottom': Br}) 140 135 141 #delta_w = culvert.inlet.stage - culvert.outlet.stage 136 142
Note: See TracChangeset
for help on using the changeset viewer.