Class Reach

class core.Reach.Reach(name='')[source]

TODO

compute_slope(npoly=10)[source]

approximate longitudinal slope of the reach

Parameters:

npoly – order of the polynom for approximation

:type npoly : int

createBankLines(resultType='Normal')[source]

Compute the bank line of each reach. They can come from Normal computation, 1D

Parameters

param : dict resultType : string

origin of bank position

Returns

None.

reachBackWater(WS2, paramH)[source]

Compute the water surface for each section of the reach

Parameters

WS2float

downstream boundary condition

paramHdict

hydraulic computation parameter

Returns

None.

reachImposedWaterDepth(paramH)[source]

Compute the water surface for each section of the reach with a constant water depth

Parameters

WS2float

downstream boundary condition

paramHdict

hydraulic computation parameter

Returns

None.

reachNormalAndCriticalDepth(paramH)[source]

Compute the normal and critical depth for each section of the reach

Parameters

paramHdict

hydraulic computation parameter

Returns

None.