中国农业机械化科学研究院集团有限公司 主管

北京卓众出版有限公司 主办

基于VB的渠道正常水深计算程序编制

Programming of Normal Water Depth Calculation Based on VB

  • 摘要: 在工程实际中,解决水力学问题时,正常水深、临界水深和水面线等高次隐函数通常无解析解,难以直接求解。传统方法是利用查图表、迭代法或试算法求解,但都存在计算烦琐和求解精度不高等问题。利用VB程序语言的迭代计算功能可快捷、精准地解决水力学计算中高次隐函数方程问题。在已知迭代初值、糙率、流量、底宽、底坡和边坡系数的情况下,运用快捷键即可实现多次迭代计算,求出精度高的正常水深值。该文介绍了VB迭代功能在求解高次隐函数中的运用,探索程序语言在简化计算和高精度求解中的运用。

     

    Abstract: In engineering practice,some hydraulic problems such as normal depth,critical depth and water surface profile,which are higher implicit functions.There is no analytical solution,and it is difficult to solve directly.Traditional method is to use chart checking,iteration or trial algorithm to solve the problem,but the calculation is complicated and the precision is not good.The problem of high order implicit function equation in hydraulic calculation can be solved quickly and accurately by using VB programming language.When initial value of iteration,roughness,flow rate,bottom width,bottom slope and slope coefficient are known,shortcut key can be used to realize multiple iteration calculation,and normal water depth value with high precision can be calculated.Application of VB iterative function in solving high order implicit functions were introduced,and application of programming language in simplified calculation and high precision solution were explored.

     

/

返回文章
返回