Changeset 8007


Ignore:
Timestamp:
Sep 7, 2010, 10:17:56 AM (8 years ago)
Author:
habili
Message:

Code refactored into boyd_box_operator, boyd_pipe_operator and structure_operator.

Location:
trunk/anuga_core/source/anuga/structures
Files:
11 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/structures/testing_culvert.py

    r7979 r8007  
    1010import anuga
    1111
    12 from anuga.structures.culvert_operator import Culvert_operator
     12from anuga.structures.boyd_pipe_operator import Boyd_pipe_operator
    1313                           
    1414#from anuga.culvert_flows.culvert_routines import boyd_generalised_culvert_model
     
    3131
    3232length = 40.
    33 width = 5.
     33width = 15.
    3434
    3535dx = dy = 0.5          # Resolution: Length of subdivisions on both axes
     
    8686
    8787filename=os.path.join(path, 'example_rating_curve.csv')
    88 culvert1 = Culvert_operator(domain,
    89                             end_point0=[9.0, 2.5],
     88
     89
     90
     91Boyd_pipe_operator(domain,
     92                            end_point0=[9.0, 2.5],
    9093                            end_point1=[13.0, 2.5],
    91                             width=1.00,
     94                            losses=1.5,
     95                            diameter=1.5,
     96                            apron=5.0,
     97                            use_momentum_jet=True,
     98                            use_velocity_head=False,
     99                            manning=0.013,
    92100                            verbose=False)
     101
    93102
    94103#culvert2 = Generic_box_culvert(domain,
Note: See TracChangeset for help on using the changeset viewer.