diff options
-rwxr-xr-x | fullswof-utils/makeBoundary | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fullswof-utils/makeBoundary b/fullswof-utils/makeBoundary index 87abf44..65c7792 100755 --- a/fullswof-utils/makeBoundary +++ b/fullswof-utils/makeBoundary @@ -289,7 +289,9 @@ for p in range(num_panels): sortedQ = [Q_i[i] for i in panel] # create cumulative discharge list: total_flow = np.cumsum([item[-1] for item in sortedQ]) -print('total_flow = ', total_flow) + +for i in range(len(total_flow)): + print('total_flow[{0}] (/m^3/s) = {1:.3f}'.format(i, total_flow[i])) # target_flow_west = target_flow - Q_i[-1] - Q_i_east[-1] # calculate velocity: note dependence on hydraulic radius velocity_channel = Q_i[panel[0]][-1]/A_i[panel[0]][-1] |