gvfnet: Complex-step Newton solver for steady flow in open-channel networks. Version 1.0.
gvfnet is a Python code for computing steady gradually varied flow in open-channel networks with hydraulic structures. The energy and continuity equations for all channels, together with conditions at junctions, sluice gates, outfall weirs, and lateral weirs, are solved simultaneously using the Newton–Raphson method. All derivatives are computed by complex-step differentiation from the residual equations alone. Column grouping on the sparsity pattern keeps the number of residual evaluations per Jacobian independent of the network size. The same residual code provides the sensitivities of depths and discharges to model parameters (roughness coefficients, gate openings, weir dimensions, and boundary values) and the Jacobian–vector products of a Newton–Krylov variant. This archive contains the code used in the paper "Complex-Step Newton Method for Steady Flow in Open-Channel Networks with Hydraulic Structures" by G. Gurarslan and E. Bahar, submitted to the Journal of Irrigation and Drainage Engineering (ASCE). Contents: gvfnet.py: solver (residual equations, complex-step, forward-difference and analytic Jacobians, sparsity pattern and column grouping, Newton–Raphson, sensitivities, Newton–Krylov) literature.py, examples.py, synthetic.py, cases.py: benchmark networks of Schulte and Chaudhry (1987), Naidu et al.
- Link
- https://zenodo.org/records/24652030
- Found by
- Zenodo
- Authors
- Gurarslan, Gurhan, Bahar, Ersin
- Categories
- benchmark, evaluation
- Published
- 2026-11-29
- Last seen by the radar
- 2026-11-29
- Downloads
- 0
- Views
- 0
- Radar score
- 43.40 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.24652030