aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2019-11-08 15:15:37 +0000
committerPaul Garlick <pgarlick@tourbillion-technology.com>2019-11-08 15:15:37 +0000
commit0bc0d69c6057dbc1d04a8a621b4af11c38239231 (patch)
treeb8b66ea77db59a7902d301abef35f7acb0b129f6
parent00a23485a0dcd1d847f1dc1f0fd833561d54d3ee (diff)
downloadfullSWOF-utils-0bc0d69c6057dbc1d04a8a621b4af11c38239231.tar.gz
improve error message.
-rwxr-xr-xmakeBoundary2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeBoundary b/makeBoundary
index 8b6b7e5..a0d3773 100755
--- a/makeBoundary
+++ b/makeBoundary
@@ -294,7 +294,7 @@ velocity_channel = Q_i[panel[0]][-1]/A_i[panel[0]][-1]
if total_flow[-1] > target_flow:
ind_p = bisect.bisect(total_flow, target_flow)
else:
- print('Error: imposed discharge is higher than capacity')
+ print('Error: imposed discharge is higher than total capacity of panels.')
sys.exit()
print('index of part-filled panel:', ind_p)