Computes the Critical Depth in a Hydraulic channel of arbitrary shape, Rect., Tri., Parabolic. Irregularly shaped etc.
软件应用简介

Computes the Critical Depth in a Hydraulic channel of arbitrary shape, Rect., Tri., Parabolic. Irregularly shaped etc.
% where alpha: momentum correction factor (usually assumed to be 1);
% Q: flow rate;
% g: acceleration due to gravity;
% slope: slope of the channel represented as a vector [z,x]; where z is the vertical distance and x is the horizontal distance. Mathematically connecting the equation and program input, tan(theta)=z/x;
% cc and sf are matrices (or vectors) defining the shape of channel. Check 3.3.1.1-Explanatory notes on cc and sf
% For rectanglar channels, sf = [1] and cc = [breadth of channel]
% For triangular channels, sf = [2] and cc = [VERTICAL measure for sideslope at LEFT side, HORIZONTAL measure for sideslope at LEFT side, HORIZONTAL measure for sideslope at RIGHT side,VERTICAL measure for sideslope at RIGHT side]
% For trapezoidal channels, sf = [3] and cc = [VERTICAL measure for sideslope at LEFT side, HORIZONTAL measure for sideslope at LEFT side, bottom width, HORIZONTAL measure for sideslope at RIGHT side,VERTICAL measure for sideslope at RIGHT side]
% For channels with polynomial curves (defined by the equation y=cx^n), sf = [4] and cc =[x y n]. Note that the vertex of the curve should be at the origin
% For circular conduits, sf = [5] and cc = [diameter of conduit]
% For irregularly closed channels, sf = [6] and cc = [x1, y1; x2, y2; …xn, yn; x1,y1]; x1, x2, x3, …xn,x1 represent the x-coordinates of the points forming the irregularly shaped conduits y1, y2, y3, …yn, y1 represent the y-coordinates of the points forming the irregular conduit in clockwise or anticlockwise order. Note that the points that begins the matrix x1, y1 must also end it for the channel to be considered as closed
% For irregularly opened channels, sf = [7] and cc = [x1, y1; x2, y2; …xn, yn; x1,y1]; x1, x2, x3, …xn,x1 represent the x-coordinates of the points forming the irregularly shaped conduits y1, y2, y3, …yn, y1 represent the y-coordinates of the points forming the irregular conduit in clockwise or anticlockwise order.
% e: stopping criterion/error/degree of accuracy (for example: 0.1 or 0.01 or 0.001 or 0.000000001 etc.)
界面展示

结果示意

规格 价
0元试用 |
---|
0.0元人民币/月 |
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!