Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5709
    arthur.barboza
    Participant

    Hey guys, I’m writing a simple code to iteratively vary downstream WS elevation in order to achieve a upstream EG elevation (already calculated).

    I’ve thought that running a Do-Loop with SteadyFlow_FixedWSBoundary would easily do this, but when I run the code, the WS elev boundary doesn’t change at all.

    Any suggestion about what might be happening? Missing something??

    Thanks,

    #9129
    Chris G.
    Keymaster

    It works for me. Here’s the code I use to set my water surface within the Do-Loop:

    ‘Fix the new water surface elevations to the boundary
    Dim blnDidItCompute As Boolean
    blnDidItCompute = RC.SteadyFlow_FixedWSBoundary _
    (strRiverName(1), strReachName(1), True, _
    sngNewWSElev())

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.