Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Animales
Animales
Channels
En la hoja " Resumen de canales" se muestra la aplicación de estas funciones, a través de ejemplos
In sheet "1. Resumen de canales" is shwon the application of this function by means of examples
Carlos J. Cruz. Rev. 09/09/2012
Canal circular Canal semicircular
Input Input
Q= 0.5 m3/s Q= 0.5 m3/s
D= 0.6 m D= 0.602 m
N= 0.011 - N= 0.011 -
S= 0.02 m/m S= 0.02 m/m
Output Output
1. Rsumen de canales
2.- Canales circulares. Aplicaciones, chequeo y deducciones
Circular channel. Applications, checking and deduction cjc. Rev. 21.07.2012
Input
Q= 0.5 m3/s
D= 0.6 m
N= 0.011 -
S= 0.02 m/m Checking against Hcanales
Output
Heigth H= Channel_Circular_Height_Q_D_N_S(Q, D, n, S)
H= #VALUE! m
Area A= Channel_Circular_Area_Q_D_N_S(Q, D, n, S)
A= #VALUE! m²
TopWidth T= Channel_Circular_Top_Width_Q_D_N_S(Q; D; n; S)
#VALUE!
Froude Fr = Channel_Circular_Froude_Q_D_N_S(Q, D, n, S)
Fr = #VALUE! -
WettedPerimeter P= Channel_Circular_Wetted_Perimeter_Q_D_N_S(Q;D;n;S)
P= #VALUE!
Energy E= Channel_Circular_Energy_Q_D_N_S(Q, D, n, S)
E= #VALUE! m
Input
Q= 0.5 m3/s
D= 0.602 m
Output
Critical_Heigth Hc = Channel_Circular_Critical_Height_Q_D(Q; D)
Hc = #VALUE!
Critical_Area Ac = Channel_Circular_Critical_Area_Q_D(Q; D)
Ac = #VALUE! m²
Critical_T Tc = Channel_Circular_Critical_Top_Width_Q_D(Q; D)
Tc = #VALUE!
Critical_P Pc = Channel_Circular_Critical_Wetted_Perimeter_Q_D(Q; D)
Pc = #VALUE!
Critical_velocity vc = Channel_Circular_Critical_Velocity_Q_D(Q; D)
vc = #VALUE!
Critical_Energy Ec = Channel_Circular_Critical_Energy_Q_D(Q; D)
Ec = #VALUE!
fc = Channel_Circular_Critical_Angle_fi_Q_D
fc = #VALUE! rad
N= 0.011
Sc = Channe_Circular__Critical_Slope_Q_D_N
Sc = #VALUE! m/m
Sc = #VALUE! %
Input
Q= 0.5 m3/s
D= 0.6 m
Output
C1_Critical_Area Ac = Channel_Circular_Critical_Area_Q_D(Q; D)
Ac = #VALUE! m²
C2_Critical_Energy Ec = Channel_Circular_Critical_Energy_Q_D(Q; D)
Ec = #VALUE!
C4_Critical_Heigth Hc = Channel_Circular_Critical_Height_Q_D(Q; D)
Hc = #VALUE!
C7_Critical_T Tc = Channel_Circular_Critical_Top_Width_Q_D(Q; D)
Tc = #VALUE!
C8_Critical_velocity vc = Channel_Circular_Critical_Velocity_Q_D(Q; D)
vc = #VALUE!
C9_Critical_P Pc = Channel_Circular_Critical_Wetted_Perimeter_Q_D(Q; D)
Pc = #VALUE!
Pendiente crítica
Sc = Channel_Circular_Critical_Slope_Q_D_N
Q= 0.5
D= 0.6
N= 0.011
Sc = #VALUE! -
v y con
Fr=
√(g⋅
A
T ) A=
D
4
2
[ 1
( π −ϕ ) + ⋅seno( 2⋅ϕ )
2 ] Fr 2 =
64 Q 2 sin( ϕ )
⋅ ⋅
g d5
[
π −ϕ +
sin( 2⋅ϕ )
2
3
]
2 v2 2
Fr = Q T
A Fr 2 = ⋅
g⋅
T( ) ( [ d2
4
⋅ π −ϕ+
sin( 2⋅ϕ )
2
3
])
g Fr^2 = (64/g) * (Q^2/d^5) * seno(f) / (pi()-f+(1/2*seno(2*f)))^3
64 [
π−ϕ+
2
⋅
sin(2⋅ϕ ) g
]
3
Como se busca el ángulo crítico, la ecuación se resuelve para el caso "Fr = 1"
Q2 T Q 2
d⋅sin( ϕ) Se parte el cálculo con un valor muy pequeño del ángulo fi y se itera hasta que el flujo
Fr 2 = 3⋅ Fr 2 = ⋅
A g 3 g
d6
64
π−ϕ+
[
sin(2⋅ϕ)
2 ] 3.- Canal circular-critico
2
Fr 2 =
Q T Q2 d⋅sin( ϕ)
⋅ Fr 2 = ⋅ calculado "Qcalc" toma un valor suficientemente cercano al valor de "Q"
A3 g 3 g
d6
64[π−ϕ+
sin(2⋅ϕ)
2 ]
f
Nivel del fluido 2 1
A⋅R h3⋅S 2⋅N
π ϕ P=D⋅( π −ϕ )
A = ⋅D 2 − ⋅D 2 +2⋅( 1/ 2⋅r⋅seno ( ϕ )⋅r⋅cos ( ϕ ) ) Radio hidráulico
4 4
Hydraulic radius
π ϕ D D A
A = ⋅D 2 − ⋅D 2 +( ⋅seno( ϕ )⋅ ⋅cos ( ϕ )) Rh =
4 4 2 2 P
2
[
2
π ϕ D 1 D 1
A = ⋅D 2 − ⋅D 2 + ( ⋅2⋅seno (ϕ )⋅cos (ϕ )) ( π −ϕ ) +
4 4 4 2 4 2
Rh =
2 2 D⋅( π−
D D 1
A = ( π−ϕ )+ ( ⋅seno (2⋅ϕ ))
4 4 2 Rh =
D
4 [
( π−ϕ ) + ⋅
1
2
( π−ϕ
D2
A=
4 [ 1
( π −ϕ ) + ⋅seno( 2⋅ϕ )
2 ] Rh =
D
4 [ 1
( π −ϕ ) + ⋅
2
Q=
D
10
8
3 [( π − ϕ )+
1
2
⋅seno ( 2⋅ϕ )
] ⋅¿
3
N
2
¿
[( π −ϕ ) +
1
2
⋅seno ( 2⋅ϕ ) ⋅¿ ]
¿
2 1
−
2 3 2
¿ 3
( π− ϕ ) ⋅S
Q=
D
10
8
3 [ ( π − ϕ )+
1
2
⋅seno ( 2⋅ϕ ) ]
⋅¿
3
N
2
¿
[( π − ϕ) +
1
2
⋅seno ( 2⋅ϕ ) ]
⋅¿
¿
2 1
−
2 3 2
¿3
( π − ϕ) ⋅S ⋅N − 1
8 −10
Q= D 3
⋅2 3
⋅[ ( π − ϕ) +
1
2
⋅seno ( 2⋅ϕ ) ]
¿
8 −10 5 2 1
[ 1
]
−
3 3 3
Q=D ⋅2 ⋅ ( π −ϕ ) + ⋅seno (2⋅ϕ) ⋅( π −ϕ ) ⋅S 2⋅N −1
3
2
Relación aplicada en el código
Relation applied in the code
Q = (S)^(0.5) * n^(-1) * (D)^(8/3) * (2)^(-10 / 3) * (Pi - fi + Sin(2*fi) / 2)^(5/3) * (Pi - fi)^(-2/3)
2
Determinación del número de
Froude Fr = Fr(Q,D,fi) A=
D
4
1
[
( π −ϕ ) + ⋅seno( 2⋅ϕ )
2 ]
v 2
Fr= Fr 2 =
Q
√ g⋅Lc D2
3
Fr=
Q 1 ( [ 4
1
⋅ ( π −ϕ )+ ⋅seno( 2⋅ϕ )
2 ])
A √ g⋅Lc
T =D⋅seno( ϕ )
2
v
Fr 2 = Q2
g⋅Lc Fr =2
3
⋅
D2
Fr 2 =
Q
A
2
1
2 g⋅Lc
( [ 4
1
⋅ ( π −ϕ )+ ⋅seno( 2⋅ϕ )
2 ])
2
A Q s
Lc = Fr 2 = 3
⋅
D5
T
Fr 2 =
Q T
2 64 [ 1
⋅ ( π −ϕ ) + ⋅seno ( 2⋅ϕ )
2 ]
A 2 g⋅A 2
seno ( ϕ )
64 Q
Q T 2 Fr 2 = ⋅
g D5
Fr 2 =
A3 g [ 1
( π− ϕ )+ ⋅seno( 2⋅ϕ )
2 ]
La programación en este caso consiste en dos etapas:
1.- Determinación del ángulo crítico "fic" para que se produzca flujo crítico, mediante un procedimiento iterativo.
2.- Conocido el ángulo crítico "fic", se calcula en forma directa la pendiente crítica S c.
Q= 0.5
D= 0.602
fc = Channel_Circular_Critical_Angle_fi_Q_D
fc = #VALUE! rad
8 −10 5 2 1
[ 1
]
−
Q=D ⋅2 3 3
⋅ ( π −ϕ ) + ⋅seno ( 2⋅ϕ ) 3⋅( π −ϕ ) 3⋅S 2⋅N −1
2
8 −10 5 2 1
[ 1
]
−
Q=D ⋅2 3 3
⋅ ( π −ϕ ) + ⋅seno ( 2⋅ϕ ) 3⋅( π −ϕ ) 3⋅S 2⋅N −1
2
1
2 Q
S = 8 −10 2
5
[ ]
−
1
D ⋅2 3 3
⋅ ( π− ϕ ) + ⋅seno( 2⋅ϕ ) 3⋅( π −ϕ ) 3⋅N−1
2
2
Q
S= 16 −20 4
10
[ 1
]
−
3 3 3 ⋅( π−ϕ ) 3⋅N −2
D ⋅2 ⋅ ( π−ϕ ) + ⋅seno ( 2⋅ϕ )
2
S= Q^2 / (D^(16/3) * 2^(-20/3) * ((PI - fi) + 0.5 * seno(2*fi))^(10/3)*(Pi - fi)^(-4/3)*N^(-2
Q= 0.5
D= 0.602
Pi = 3.14159265
fc = #VALUE!
N= 0.011
S= #VALUE! Pendiente para el Froude crítico
Slope for critical Froude
Pendiente crítica
Critical slope
Sc = Channel_Circular_Critical_Slope_Q_D_N
Sc = #VALUE! -
Q = A * Rh^(2/3) * S^(1/2) * N^(-1)
Datos de entrada
2 1 Input data
Q= A⋅Rh ⋅S 2⋅N −1
3
Q= 0.5 m3/s Ac =
D= 0.6 m Rh_c =
2 1
A⋅R h3⋅S 2⋅N−1 =Q Pendiente
Slope
1 2 S= Q^2 * A^(-2) * Rh^(-4/3) * N^2
−
2 3 Q= 0.5 m3/s
S =Q⋅A−1⋅R h ⋅N A= #VALUE! m²
4 Rh = #VALUE! m
−
S=Q ⋅A ⋅R h ⋅N 2
2 −2 3 N= 0.011
S= #VALUE! m/m
S= #VALUE! %
Variables calculadas
Perímetro mojado Calculated variables
Wetted perimeter C1_Critical_A Ac = Channel_Circular_Critical_Area_Q_D(Q;
Ac = #VALUE! m²
P=D⋅( π −ϕ )
Radio hidráulico C2_Critical_E Ec = Channel_Circular_Critical_Energy_Q_D(
Hydraulic radius Ec = #VALUE!
Rh =
D
4 [ 1
( π −ϕ ) + ⋅seno( 2⋅ϕ )
2 ] C4_Critical_H Hc =
Hc =
Channel_Circular_Critical_Height_Q_D(Q
#VALUE!
D⋅( π−ϕ )
C5_Critical_H HtoDc = Channel_Circular_Critical_H_to_D_ratio_
Rh =
D
4 [ 1
( π−ϕ ) + ⋅seno ( 2⋅ϕ )
2 ] HtoDc = #VALUE!
C8_Critical_ve vc = Channel_Circular_Critical_Velocity_Q_D
vc = #VALUE!
C9_Critical_P Pc = Channel_Circular_Critical_Wetted_Perim
Pc = #VALUE!
2 1
]
seno (2⋅ϕ ) ⋅( π −ϕ )
−1 3
} ⋅S 2
]
ϕ ) ⋅¿
( 2⋅ϕ )
] ⋅¿
ϕ ) ⋅]
¿
( 2⋅ϕ ) ]
⋅¿
2⋅ϕ ) ]
⋅¿
⋅N − 1
⋅seno ( 2⋅ϕ ) ⋅¿ ]
2 1
3 2
⋅S ⋅N −1
1
+ ⋅seno( 2⋅ϕ )
2 ]
2
Q T
3
⋅
g
1
−ϕ )+ ⋅seno( 2⋅ϕ )
2 ])
Q2 D⋅seno ( ϕ )
3
⋅
g
1
−ϕ )+ ⋅seno( 2⋅ϕ )
2 ])
2
Q seno( ϕ )
3
⋅
g
1
ϕ ) + ⋅seno ( 2⋅ϕ )
2 ]
seno ( ϕ )
3
1
π− ϕ )+ ⋅seno( 2⋅ϕ )
2 ]
rocedimiento iterativo.
f
Nivel del fluido
2 1
−
3 2
⋅S ⋅N −1
1
2
⋅S ⋅N −1
fi))^(10/3)*(Pi - fi)^(-4/3)*N^(-2))
ude crítico
#VALUE! m²
#VALUE!
r_Critical_Area_Q_D(Q; D)
r_Critical_Energy_Q_D(Q; D)
r_Critical_Froude_Q_D(Q; D)
r_Critical_Height_Q_D(Q; D)
r_Critical_H_to_D_ratio_Q_D(Q; D)
r_Critical_Hydraulic_Radius_Q_D(Q; D)
r_Critical_Top_Width_Q_D(Q; D)
r_Critical_Velocity_Q_D(Q; D)
r_Critical_Wetted_Perimeter_Q_D(Q; D)
Semi-circular channel. Applications and deduction cjc. Rev. 21.07.2012
Input
Q= 0.5 m3/s
D= 0.602 m
n= 0.011 -
S= 0.02 m/m
Output
Area A= Channel_SemiCircular_Area_Q_D_N_S(Q; D; n; S)
A= #VALUE! m²
Froude Fr = Channel_SemiCircular_Froude_Q_D_N_S(Q; D; n; S)
FR = #VALUE! -
WettedPerimeter P= Channel_SemiCircular_Wetted_Perimeter_Q_D_N_S
P= #VALUE! m
Velocity v= Channel_SemiCircular_Velocity_Q_D_N_S(Q; D; n; S)
v= #VALUE! m/s
Energy E= Channel_SemiCircular_Energy_Q_D_N_S(Q; D; n; S)
E= #VALUE! m
4- Canal semicircular
5.- Canal semicircular. Aplicaciones y deducción
Semicircular channel, critical conditions cjc. Rev. 21.07.2012
Input
Q= 0.5 m3/s
D= 0.602 m
N 0.011 -
S= 0.02 -
Output
Critical_velocity vc = Channel_SemiCircular_Critical_Velocity_Q_D_N_S H
vc = #VALUE! m/s
Critical_Heigth Hc = Channel_SemiCircular_Critical_Height_Q_D_N_S
Hc = #VALUE! m
Critical_Energy Ec = Channel_SemiCircular_Critical_Energy_Q_D_N_S
Ec = #VALUE! m
v Q2 π
−3
Fr=
√( g⋅
A
T )
Fr =2
g 8 [
⋅ ⋅D 2 + D⋅f ] ⋅D
v
Fr=
√ ( AT )
g⋅
2
Q 1
Fr 2 = ⋅
A2 A
g⋅ ( )
T
2
Q T
2
Fr = 3⋅
A g
2
Q
Fr 2 = ⋅A−3⋅T
g
A= [ π
8
2
⋅D + D⋅f ]
If H > D/2
T =D
Function Channel_SemiCircular_Critical_Velocity_Q_D_N_S(Q, D, N, S)
'Constants 07.01.2011
Pi = 4 * Atn(1)
g = 9.80665
'Control constants
'Difference between calculated and given flow (Qcalc - Q), at which the iteration stops
DFstop = 1 / 10000
'Minimum semiangle to start calculation
aQmin = Pi - 1 / 1000 / 10
'Semiangle at which the flowrate will have its maximum value
aQmax = 0.502534296493009
'Initial increment for the semiangle
Dfi = (aQmin - aQmax) / 4
Qref = (S) ^ (0.5) * N ^ (-1) * (D) ^ (8 / 3) * (2) ^ (-10 / 3) * (Pi - Pi / 2 + Sin(2 * Pi / 2) / 2) ^ (5 / 3) * (Pi - Pi / 2) ^ (-2 / 3)
'|
'_______________________________________________________
'_______________________________________________________
'| Semicircular flow relationships (for H>D/2)
'|
'| 1. Flow area
'| A = (1 / 2) * (Pi() * D ^ 2 / 4) + D * f (D1)
'|
'| 2. Weted perimeter
'| P=pi()*d/2 + 2*f (D2)
'|
'| 3. Hydraulic radius
'| Rh =( pi()*d^2 + 8* d * f) / (4 * pi() * d + 16 * f ) ) (D3)
'|
'| 4. Heigth
'| H = (D / 2) + f (D4)
'|
'| 5. Height to Diameter ratio
'| HtoD_ratio = H / D (D5)
'|
'| 6. Top width
'| T = D (D6)
'|
'| 7. Velocity
'| v = Q / A (D7)
'|
'| 8. Energy
'| E = H + v^2/(2*g) (D8)
'|
'| 9. Froude number
'| Fr = v / (g * (A / T)) ^ 0.5 (D9)
'|
'________________________________________________________
Line0:
If DFvalue < DFstop Then ' Circular flow parameters are calculated
A = (D / 2) ^ 2 * (Pi - fi + (1 / 2) * Sin(2 * fi)) '(1)
P = D * (Pi - fi) '(2)
Rh = A / P '(3)
H = (D / 2) * (1 + Cos(fi)) '(4)
HtoD_ratio = H / D '(5)
T = 2 * (D / 2) * Sin(fi) '(6)
v=Q/A '(7)
E = H + v ^ 2 / (2 * g) '(8)
Fr = v / (g * (A / T)) ^ 0.5 '(9)
Channel_SemiCircular_Critical_Velocity_Q_D_N_S = v
Exit Function
End If
GoTo Line1
'________________________________________________________________
Line2:
''Flowrate iteration for a semicircular channel with hn > D/2
' To calculate the semicircular values, the indepent variable is "f", which is
' f = H - D/2
' For the calculation one starts with a minimal value of "f" and this value is
' incremented until the calculated flow is the same as the given value.
' One defines an initial increment
Df = D / 10
'The initial value of "f" is
f = Df
'
'_____________________________________________________________________________
Line3:
'The corresponding Fvalue will be calculated
'Fr^2 = Fvalue for a semicircular channel
Fvalue = (Q ^ 2 / g) * (D ^ 2 * Pi / 8 + D * f) ^ (-3) * D
'Difference between calcualted and given flows
'DQ0 = Qcalc - Q
DFvalue = Fvalue - 1
'________________________________________________________________________
'
If Abs(DFvalue) < DFstop Then ' Semicircular flow parameters are calculated
A = (1 / 2) * (Pi * D ^ 2 / 4) + D * f
v=Q/A
H = (D / 2) + f
E = H + v ^ 2 / (2 * g)
v=Q/A
T=D
Fr = v / (g * (A / T)) ^ 0.5
Channel_SemiCircular_Critical_Velocity_Q_D_N_S = v
Exit Function
End If
'______________________________________________________________________
Function Channel_SemiCircular_Critical_Height_Q_D_N_S(Q, D, N, S)
'Constants 07.01.2011
Pi = 4 * Atn(1)
g = 9.80665
'Control constants
'Difference between calculated and given flow (Qcalc - Q), at which the iteration stops
DFstop = 1 / 10000
'Minimum semiangle to start calculation
aQmin = Pi - 1 / 1000 / 10
'Semiangle at which the flowrate will have its maximum value
aQmax = 0.502534296493009
'Initial increment for the semiangle
Dfi = (aQmin - aQmax) / 4
Qref = (S) ^ (0.5) * N ^ (-1) * (D) ^ (8 / 3) * (2) ^ (-10 / 3) * (Pi - Pi / 2 + Sin(2 * Pi / 2) / 2) ^ (5 / 3) * (Pi - Pi / 2) ^ (-2 / 3)
'|
'_______________________________________________________
'_______________________________________________________
'| Semicircular flow relationships (for H>D/2)
'|
'| 1. Flow area
'| A = (1 / 2) * (Pi() * D ^ 2 / 4) + D * f (D1)
'|
'| 2. Weted perimeter
'| P=pi()*d/2 + 2*f (D2)
'|
'| 3. Hydraulic radius
'| Rh =( pi()*d^2 + 8* d * f) / (4 * pi() * d + 16 * f ) ) (D3)
'|
'| 4. Heigth
'| H = (D / 2) + f (D4)
'|
'| 5. Height to Diameter ratio
'| HtoD_ratio = H / D (D5)
'|
'| 6. Top width
'| T = D (D6)
'|
'| 7. Velocity
'| v = Q / A (D7)
'|
'| 8. Energy
'| E = H + v^2/(2*g) (D8)
'|
'| 9. Froude number
'| Fr = v / (g * (A / T)) ^ 0.5 (D9)
'|
'________________________________________________________
Line0:
If DFvalue < DFstop Then ' Circular flow parameters are calculated
Channel_SemiCircular_Critical_Height_Q_D_N_S = H
Exit Function
End If
GoTo Line1
'________________________________________________________________
Line2:
''Flowrate iteration for a semicircular channel with hn > D/2
' To calculate the semicircular values, the indepent variable is "f", which is
' f = H - D/2
' For the calculation one starts with a minimal value of "f" and this value is
' incremented until the calculated flow is the same as the given value.
' One defines an initial increment
Df = D / 10
'The initial value of "f" is
f = Df
'
'_____________________________________________________________________________
Line3:
'The corresponding Fvalue will be calculated
'Fr^2 = Fvalue for a circular channel
Fvalue = (Q ^ 2 / g) * (D ^ 2 * Pi / 8 + D * f) ^ (-3) * D
'Difference between calcualted and given flows
'DQ0 = Qcalc - Q
DFvalue = Fvalue - 1
'________________________________________________________________________
'
If Abs(DFvalue) < DFstop Then ' Semicircular flow parameters are calculated
A = (1 / 2) * (Pi * D ^ 2 / 4) + D * f
v=Q/A
H = (D / 2) + f
E = H + v ^ 2 / (2 * g)
v=Q/A
T=D
Fr = v / (g * (A / T)) ^ 0.5
Channel_SemiCircular_Critical_Height_Q_D_N_S = H
Exit Function
End If
'______________________________________________________________________
End Function
E3 Function Channel_SemiCircular_Critical_Energy_Q_D_N_S(Q, D, N, S)
'Constants 07.01.2011
Pi = 4 * Atn(1)
g = 9.80665
'Control constants
'Difference between calculated and given flow (Qcalc - Q), at which the iteration stops
DFstop = 1 / 10000
'Minimum semiangle to start calculation
aQmin = Pi - 1 / 1000 / 10
'Semiangle at which the flowrate will have its maximum value
aQmax = 0.502534296493009
'Initial increment for the semiangle
Dfi = (aQmin - aQmax) / 4
'Cálculo del flujo si la canaleta va con el área semicircular llena ( fi - Pi/2)
'Flujo de acuerdo a Manning
'Q = A * Rh^(2/3) * S^(1/2) * N^(-1)
'Q = (S)^(0.5) * n^(-1) * (D)^(8/3) * (2)^(-10 / 3) * (Pi - fi + Sin(2*fi) / 2)^(5/3) * (Pi - fi)^(-2/3)
Qref = (S) ^ (0.5) * N ^ (-1) * (D) ^ (8 / 3) * (2) ^ (-10 / 3) * (Pi - Pi / 2 + Sin(2 * Pi / 2) / 2) ^ (5 / 3) * (Pi - Pi / 2) ^ (-2 / 3)
'|
'_______________________________________________________
'_______________________________________________________
'| Semicircular flow relationships (for H>D/2)
'|
'| 1. Flow area
'| A = (1 / 2) * (Pi() * D ^ 2 / 4) + D * f (D1)
'|
'| 2. Weted perimeter
'| P=pi()*d/2 + 2*f (D2)
'|
'| 3. Hydraulic radius
'| Rh =( pi()*d^2 + 8* d * f) / (4 * pi() * d + 16 * f ) ) (D3)
'|
'| 4. Heigth
'| H = (D / 2) + f (D4)
'|
'| 5. Height to Diameter ratio
'| HtoD_ratio = H / D (D5)
'|
'| 6. Top width
'| T = D (D6)
'|
'| 7. Velocity
'| v = Q / A (D7)
'|
'| 8. Energy
'| E = H + v^2/(2*g) (D8)
'|
'| 9. Froude number
'| Fr = v / (g * (A / T)) ^ 0.5 (D9)
'|
'________________________________________________________
Line0:
If DFvalue < DFstop Then ' Circular flow parameters are calculated
Channel_SemiCircular_Critical_Energy_Q_D_N_S = E
Exit Function
End If
GoTo Line1
'________________________________________________________________
Line2:
''Flowrate iteration for a semicircular channel with hn > D/2
' To calculate the semicircular values, the indepent variable is "f", which is
' f = H - D/2
' For the calculation one starts with a minimal value of "f" and this value is
' incremented until the calculated flow is the same as the given value.
' One defines an initial increment
Df = D / 10
'The initial value of "f" is
f = Df
'
'_____________________________________________________________________________
Line3:
'The corresponding Fvalue will be calculated
'Fr^2 = Fvalue for a circular channel
Fvalue = (Q ^ 2 / g) * (D ^ 2 * Pi / 8 + D * f) ^ (-3) * D
'Difference between calcualted and given flows
'DQ0 = Qcalc - Q
DFvalue = Fvalue - 1
'________________________________________________________________________
'
If Abs(DFvalue) < DFstop Then ' Semicircular flow parameters are calculated
A = (1 / 2) * (Pi * D ^ 2 / 4) + D * f
v=Q/A
H = (D / 2) + f
E = H + v ^ 2 / (2 * g)
v=Q/A
T=D
Fr = v / (g * (A / T)) ^ 0.5
Channel_SemiCircular_Critical_Energy_Q_D_N_S = E
Exit Function
End If
'______________________________________________________________________
End Function
E4 Function Channel_Semicircular_Critical_Froude_Q_D(Q, D)
Channel_Semicircular_Critical_Froude_Q_D = 1
End Function
E5
Function Channel_SemiCircular_Critical_HtoD_ratio_Q_D_N_S(Q, D, N, S)
'Constants 07.01.2011
Pi = 4 * Atn(1)
g = 9.80665
'Control constants
'Difference between calculated and given flow (Qcalc - Q), at which the iteration stops
DFstop = 1 / 10000
'Minimum semiangle to start calculation
aQmin = Pi - 1 / 1000 / 10
'Semiangle at which the flowrate will have its maximum value
aQmax = 0.502534296493009
'Initial increment for the semiangle
Dfi = (aQmin - aQmax) / 4
Qref = (S) ^ (0.5) * N ^ (-1) * (D) ^ (8 / 3) * (2) ^ (-10 / 3) * (Pi - Pi / 2 + Sin(2 * Pi / 2) / 2) ^ (5 / 3) * (Pi - Pi / 2) ^ (-2 / 3)
'|
'_______________________________________________________
'_______________________________________________________
'| Semicircular flow relationships (for H>D/2)
'|
'| 1. Flow area
'| A = (1 / 2) * (Pi() * D ^ 2 / 4) + D * f (D1)
'|
'| 2. Weted perimeter
'| P=pi()*d/2 + 2*f (D2)
'|
'| 3. Hydraulic radius
'| Rh =( pi()*d^2 + 8* d * f) / (4 * pi() * d + 16 * f ) ) (D3)
'|
'| 4. Heigth
'| H = (D / 2) + f (D4)
'|
'| 5. Height to Diameter ratio
'| HtoD_ratio = H / D (D5)
'|
'| 6. Top width
'| T = D (D6)
'|
'| 7. Velocity
'| v = Q / A (D7)
'|
'| 8. Energy
'| E = H + v^2/(2*g) (D8)
'|
'| 9. Froude number
'| Fr = v / (g * (A / T)) ^ 0.5 (D9)
'|
'________________________________________________________
Line0:
If DFvalue < DFstop Then ' Circular flow parameters are calculated
Channel_SemiCircular_Critical_HtoD_ratio_Q_D_N_S = HtoD_ratio
Exit Function
End If
GoTo Line1
'________________________________________________________________
Line2:
''Flowrate iteration for a semicircular channel with hn > D/2
' To calculate the semicircular values, the indepent variable is "f", which is
' f = H - D/2
' For the calculation one starts with a minimal value of "f" and this value is
' incremented until the calculated flow is the same as the given value.
' One defines an initial increment
Df = D / 10
'The initial value of "f" is
f = Df
'
'_____________________________________________________________________________
Line3:
'The corresponding Fvalue will be calculated
'Fr^2 = Fvalue for a semicircular channel
Fvalue = (Q ^ 2 / g) * (D ^ 2 * Pi / 8 + D * f) ^ (-3) * D
'Difference between calcualted and given flows
'DQ0 = Qcalc - Q
DFvalue = Fvalue - 1
'________________________________________________________________________
'
If Abs(DFvalue) < DFstop Then ' Semicircular flow parameters are calculated
A = (1 / 2) * (Pi * D ^ 2 / 4) + D * f
P = D * (Pi - fi) + 2 * f
Rh = A / P
v=Q/A
H = (D / 2) + f
E = H + v ^ 2 / (2 * g)
v=Q/A
T=D
Fr = v / (g * (A / T)) ^ 0.5
Channel_SemiCircular_Critical_HtoD_ratio_Q_D_N_S = HtoD_ratio
Exit Function
End If
'______________________________________________________________________
End Function
E6
Function Channel_SemiCircular_Critical_HydraulicRadius_Q_D_N_S(Q, D, N, S)
'Constants 07.01.2011
Pi = 4 * Atn(1)
g = 9.80665
'Control constants
'Difference between calculated and given flow (Qcalc - Q), at which the iteration stops
DFstop = 1 / 10000
'Minimum semiangle to start calculation
aQmin = Pi - 1 / 1000 / 10
'Semiangle at which the flowrate will have its maximum value
aQmax = 0.502534296493009
'Initial increment for the semiangle
Dfi = (aQmin - aQmax) / 4
Qref = (S) ^ (0.5) * N ^ (-1) * (D) ^ (8 / 3) * (2) ^ (-10 / 3) * (Pi - Pi / 2 + Sin(2 * Pi / 2) / 2) ^ (5 / 3) * (Pi - Pi / 2) ^ (-2 / 3)
'|
'_______________________________________________________
'_______________________________________________________
'| Semicircular flow relationships (for H>D/2)
'|
'| 1. Flow area
'| A = (1 / 2) * (Pi() * D ^ 2 / 4) + D * f (D1)
'|
'| 2. Weted perimeter
'| P=pi()*d/2 + 2*f (D2)
'|
'| 3. Hydraulic radius
'| Rh =( pi()*d^2 + 8* d * f) / (4 * pi() * d + 16 * f ) ) (D3)
'|
'| 4. Heigth
'| H = (D / 2) + f (D4)
'|
'| 5. Height to Diameter ratio
'| HtoD_ratio = H / D (D5)
'|
'| 6. Top width
'| T = D (D6)
'|
'| 7. Velocity
'| v = Q / A (D7)
'|
'| 8. Energy
'| E = H + v^2/(2*g) (D8)
'|
'| 9. Froude number
'| Fr = v / (g * (A / T)) ^ 0.5 (D9)
'|
'________________________________________________________
Line0:
If DFvalue < DFstop Then ' Circular flow parameters are calculated
Channel_SemiCircular_Critical_HydraulicRadius_Q_D_N_S = Rh
Exit Function
End If
GoTo Line1
'________________________________________________________________
Line2:
''Flowrate iteration for a semicircular channel with hn > D/2
' To calculate the semicircular values, the indepent variable is "f", which is
' f = H - D/2
' For the calculation one starts with a minimal value of "f" and this value is
' incremented until the calculated flow is the same as the given value.
' One defines an initial increment
Df = D / 10
'The initial value of "f" is
f = Df
'
'_____________________________________________________________________________
Line3:
'The corresponding Fvalue will be calculated
'Fr^2 = Fvalue for a semicircular channel
Fvalue = (Q ^ 2 / g) * (D ^ 2 * Pi / 8 + D * f) ^ (-3) * D
'Difference between calcualted and given flows
'DQ0 = Qcalc - Q
DFvalue = Fvalue - 1
'________________________________________________________________________
'
If Abs(DFvalue) < DFstop Then ' Semicircular flow parameters are calculated
A = (1 / 2) * (Pi * D ^ 2 / 4) + D * f
P = D * (Pi - fi) + 2 * f
Rh = A / P
v=Q/A
H = (D / 2) + f
E = H + v ^ 2 / (2 * g)
v=Q/A
T=D
Fr = v / (g * (A / T)) ^ 0.5
Channel_SemiCircular_Critical_HydraulicRadius_Q_D_N_S = Rh
Exit Function
End If
'______________________________________________________________________
End Function
E7
Function Channel_SemiCircular_Critical_Top_Width_Q_D_N_S(Q, D, N, S)
'Constants 07.01.2011
Pi = 4 * Atn(1)
g = 9.80665
'Control constants
'Difference between calculated and given flow (Qcalc - Q), at which the iteration stops
DFstop = 1 / 10000
'Minimum semiangle to start calculation
aQmin = Pi - 1 / 1000 / 10
'Semiangle at which the flowrate will have its maximum value
aQmax = 0.502534296493009
'Initial increment for the semiangle
Dfi = (aQmin - aQmax) / 4
Qref = (S) ^ (0.5) * N ^ (-1) * (D) ^ (8 / 3) * (2) ^ (-10 / 3) * (Pi - Pi / 2 + Sin(2 * Pi / 2) / 2) ^ (5 / 3) * (Pi - Pi / 2) ^ (-2 / 3)
'|
'_______________________________________________________
'_______________________________________________________
'| Semicircular flow relationships (for H>D/2)
'|
'| 1. Flow area
'| A = (1 / 2) * (Pi() * D ^ 2 / 4) + D * f (D1)
'|
'| 2. Weted perimeter
'| P=pi()*d/2 + 2*f (D2)
'|
'| 3. Hydraulic radius
'| Rh =( pi()*d^2 + 8* d * f) / (4 * pi() * d + 16 * f ) ) (D3)
'|
'| 4. Heigth
'| H = (D / 2) + f (D4)
'|
'| 5. Height to Diameter ratio
'| HtoD_ratio = H / D (D5)
'|
'| 6. Top width
'| T = D (D6)
'|
'| 7. Velocity
'| v = Q / A (D7)
'|
'| 8. Energy
'| E = H + v^2/(2*g) (D8)
'|
'| 9. Froude number
'| Fr = v / (g * (A / T)) ^ 0.5 (D9)
'|
'________________________________________________________
Line0:
If DFvalue < DFstop Then ' Circular flow parameters are calculated
Channel_SemiCircular_Critical_Top_Width_Q_D_N_S = T
Exit Function
End If
A = (1 / 2) * (Pi * D ^ 2 / 4) + D * f
P = D * (Pi - fi) + 2 * f
Rh = A / P
v=Q/A
H = (D / 2) + f
E = H + v ^ 2 / (2 * g)
v=Q/A
T=D
Fr = v / (g * (A / T)) ^ 0.5
Channel_SemiCircular_Critical_Top_Width_Q_D_N_S = T
Exit Function
E8
Function Channel_SemiCircular_Critical_Area_Q_D_N_S(Q, D, N, S)
'Constants 07.01.2011
Pi = 4 * Atn(1)
g = 9.80665
'Control constants
'Difference between calculated and given flow (Qcalc - Q), at which the iteration stops
DFstop = 1 / 10000
'Minimum semiangle to start calculation
aQmin = Pi - 1 / 1000 / 10
'Semiangle at which the flowrate will have its maximum value
aQmax = 0.502534296493009
'Initial increment for the semiangle
Dfi = (aQmin - aQmax) / 4
Qref = (S) ^ (0.5) * N ^ (-1) * (D) ^ (8 / 3) * (2) ^ (-10 / 3) * (Pi - Pi / 2 + Sin(2 * Pi / 2) / 2) ^ (5 / 3) * (Pi - Pi / 2) ^ (-2 / 3)
'|
'_______________________________________________________
'_______________________________________________________
'| Semicircular flow relationships (for H>D/2)
'|
'| 1. Flow area
'| A = (1 / 2) * (Pi() * D ^ 2 / 4) + D * f (D1)
'|
'| 2. Weted perimeter
'| P=pi()*d/2 + 2*f (D2)
'|
'| 3. Hydraulic radius
'| Rh =( pi()*d^2 + 8* d * f) / (4 * pi() * d + 16 * f ) ) (D3)
'|
'| 4. Heigth
'| H = (D / 2) + f (D4)
'|
'| 5. Height to Diameter ratio
'| HtoD_ratio = H / D (D5)
'|
'| 6. Top width
'| T = D (D6)
'|
'| 7. Velocity
'| v = Q / A (D7)
'|
'| 8. Energy
'| E = H + v^2/(2*g) (D8)
'|
'| 9. Froude number
'| Fr = v / (g * (A / T)) ^ 0.5 (D9)
'|
'________________________________________________________
Line0:
'beginning of calculation as if it were a circular channel
If DFvalue < DFstop Then ' Circular flow parameters are calculated
Channel_SemiCircular_Critical_Area_Q_D_N_S = A
Exit Function
End If
GoTo Line1
'________________________________________________________________
Line2:
''Flowrate iteration for a semicircular channel with hn > D/2
' To calculate the semicircular values, the indepent variable is "f", which is
' f = H - D/2
' For the calculation one starts with a minimal value of "f" and this value is
' incremented until the calculated flow is the same as the given value.
' One defines an initial increment
Df = D / 10
'The initial value of "f" is
f = Df
'
'_____________________________________________________________________________
Line3:
'The corresponding Fvalue will be calculated
'Fr^2 = Fvalue for a semicircular channel
Fvalue = (Q ^ 2 / g) * (D ^ 2 * Pi / 8 + D * f) ^ (-3) * D
'Difference between calcualted and given flows
'DQ0 = Qcalc - Q
DFvalue = Fvalue - 1
'________________________________________________________________________
'
If Abs(DFvalue) < DFstop Then ' Semicircular flow parameters are calculated
A = (1 / 2) * (Pi * D ^ 2 / 4) + D * f
v=Q/A
H = (D / 2) + f
E = H + v ^ 2 / (2 * g)
v=Q/A
T=D
Fr = v / (g * (A / T)) ^ 0.5
Channel_SemiCircular_Critical_Area_Q_D_N_S = A
Exit Function
End If
'______________________________________________________________________
End Function
E9
Function Channel_SemiCircular_Critical_Wetted_Perimeter_Q_D_N_S(Q, D, N, S)
'Constants 07.01.2011
Pi = 4 * Atn(1)
g = 9.80665
'Control constants
'Difference between calculated and given flow (Qcalc - Q), at which the iteration stops
DFstop = 1 / 10000
'Minimum semiangle to start calculation
aQmin = Pi - 1 / 1000 / 10
'Semiangle at which the flowrate will have its maximum value
aQmax = 0.502534296493009
'Initial increment for the semiangle
Dfi = (aQmin - aQmax) / 4
Qref = (S) ^ (0.5) * N ^ (-1) * (D) ^ (8 / 3) * (2) ^ (-10 / 3) * (Pi - Pi / 2 + Sin(2 * Pi / 2) / 2) ^ (5 / 3) * (Pi - Pi / 2) ^ (-2 / 3)
'|
'_______________________________________________________
'_______________________________________________________
'| Semicircular flow relationships (for H>D/2)
'|
'| 1. Flow area
'| A = (1 / 2) * (Pi() * D ^ 2 / 4) + D * f (D1)
'|
'| 2. Weted perimeter
'| P=pi()*d/2 + 2*f (D2)
'|
'| 3. Hydraulic radius
'| Rh =( pi()*d^2 + 8* d * f) / (4 * pi() * d + 16 * f ) ) (D3)
'|
'| 4. Heigth
'| H = (D / 2) + f (D4)
'|
'| 5. Height to Diameter ratio
'| HtoD_ratio = H / D (D5)
'|
'| 6. Top width
'| T = D (D6)
'|
'| 7. Velocity
'| v = Q / A (D7)
'|
'| 8. Energy
'| E = H + v^2/(2*g) (D8)
'|
'| 9. Froude number
'| Fr = v / (g * (A / T)) ^ 0.5 (D9)
'|
'________________________________________________________
Line0:
If DFvalue < DFstop Then ' Circular flow parameters are calculated
Channel_SemiCircular_Critical_Wetted_Perimeter_Q_D_N_S = P
Exit Function
End If
GoTo Line1
'________________________________________________________________
Line2:
''Flowrate iteration for a semicircular channel with hn > D/2
' To calculate the semicircular values, the indepent variable is "f", which is
' f = H - D/2
' For the calculation one starts with a minimal value of "f" and this value is
' incremented until the calculated flow is the same as the given value.
' One defines an initial increment
Df = D / 10
'The initial value of "f" is
f = Df
'
'_____________________________________________________________________________
Line3:
'The corresponding Fvalue will be calculated
'Fr^2 = Fvalue for a semicircular channel
Fvalue = (Q ^ 2 / g) * (D ^ 2 * Pi / 8 + D * f) ^ (-3) * D
'Difference between calcualted and given flows
'DQ0 = Qcalc - Q
DFvalue = Fvalue - 1
'________________________________________________________________________
'
If Abs(DFvalue) < DFstop Then ' Semicircular flow parameters are calculated
A = (1 / 2) * (Pi * D ^ 2 / 4) + D * f
P = D * (Pi - fi) + 2 * f
Rh = A / P
v=Q/A
H = (D / 2) + f
E = H + v ^ 2 / (2 * g)
v=Q/A
T=D
Fr = v / (g * (A / T)) ^ 0.5
Channel_SemiCircular_Critical_Wetted_Perimeter_Q_D_N_S = P
Exit Function
End If
'______________________________________________________________________
Rev
H f
hn
D/2
D
6.- Canal rectangular. Aplicaciones y chequeo
Rectangular channels. Applications and checking cjc. Rev. 21.07.2012
Input
Q= 0.6 m3/s
B= 1.4 m
N= 0.011 -
S= 0.02 m/m
Output
Heigth H= Channel_Rectangular_Height_Q_b_N_S
H= #VALUE! m
Froude Fr = Channel_Rectangular_Froude_Q_b_n_S
Fr = #VALUE!
Critical_velocity v= Channel_Rectangular_Velocity_Q_b_n_S
v= #VALUE! m/s
Energy E= Channel_Rectangular_Energy_Q_b_n_S
E= #VALUE! m
H
Chequeo con Hcanales
Checking against Hcanales
B
A= b*h
v= Q/A
v= Q / ( b * h)
P= b + 2*h
R= A/P
R= (b*h) / (b+2*h)
Manning
v= (1/n) * R^(2/3) * S^(1/2)
v= (1/n) * ((b*h)/(b+2*h))^(2/3) * S^(1/2)
Input
Q= 0.6 m³/s
B= 1.4 m
Output
Critical_velocity vc = Channel_Rectangular_Critical_Velocity_Q_B
vc = #VALUE! m/s
Critical_Heigth Hc = Channel_Rectangular_Critical_Heigth_Q_B
Hc = #VALUE! m
Critical_Energy Ec = Channel_Rectangular_Critical_Energy_Q_B
Ec = #VALUE! m
Fr = v / (g * H) ^ 0.5
v v=Q/A
Fr= A=B*H
√ g⋅H
v=Q/(B*H)
Q 1
Fr= ⋅
A √ g⋅H Fr = Q/(B*H) / (g * H) ^ 0.5
Fr = (1/g^0.5) * Q / ( B * H^1.5 )
Q 1
Fr= ⋅
B⋅H √ g⋅H Para flujo crítico Fr = 1
Q 1
Fr= ⋅
B⋅H √ g⋅H
1 = (1/g^0.5) * Q / ( B * H^1.5 )
1 Q
Fr= (g^0.5) * ( B * H^1.5 ) = Q
3
√g H^(3/2)= Q/(B*g^0.5)
B⋅H 2
H^3= (Q/B)^2 /g
q=Q/B
Para el caso crítico. H^3= (q)^2 /g
H =((q)^2 /g)^(1/3)
1 Q
1= 3
√g
B⋅H 2
3 1
H c2 =
1 Q
√g B
2
Hc=
q2
g [] 3
[ ]
1 Q q= Q/B
3
Hc= Q= 0.6
√g B B= 1.4
q= 0.429
con
Q
q= Hc = (q^2/g)^(1/3)
B q= 0.429
2
[ ]
g= 9.80665
1 3
Hc= q Hc = 0.266
√g
1
Hc=
q2
g [] 3
1
Hc= [ ]
q2
g
3
Hc = ( q^2 / g)^(1/3)
q= 0.428571429
g= 9.80665
Hc = 0.266
cjc. Rev. 21.07.2012
8.- Angle for maximum flow in a circular channel
a
The flow rate can be expressed as a function
−2 Filling
of the diameter and the angle a as follow C 2= [ π - α ]
3
level
5 h
8
3 1 r
S D [ π - α +( 1/2) *seno ( 2* α ) ]
3
q= Q=C 1⋅C 2
Q= √ ⋅ 10 B
n 2
d
23 ( π - α )3 The derivatives are
8 H=r+h
√ S ⋅D 3 dq dC 1 dC 2
B= 10 = ⋅C 2+ ⋅C 1
dα dα dα
n⋅2 3
2
dC 1 5
5
= [ π - α +( 1/2 )*seno ( 2* α ) ] 3⋅(−1+cos ( 2⋅α ) )
[ π - α +( 1/2 ) *seno ( 2* α )] 3 dα 3
Q=B⋅ 2 −5
( π - α )3 dC 2 2 3
= [π - α ]
dα 3
5
3 dq/da = ( (pi()-a+seno(2*a)/2)^(5/3) ) * ( (2/3) * ( pi()-a )^(-5/3) ) + ( (pi()-a)^(-2/3) ) * ( (5/3)*(pi()-a+seno(2*a)/2)^(2/3) * (-1+cos(2*a)) )
1 [ π - α +( 1/2 )*seno ( 2* α ) ]
Q= 2
B
( π - α )3 To obtain de maximum value, the derivative shall be equal zero
5 −2 Using solver
1 3 dq/da =
Q= [ π - α +( 1/2 )*seno ( 2* α ) ] 3⋅[ π - α ] The dependent variable -9.2229E-07 (must be zero)
B The independent variable a= 0.502539401 rad
5 a= 28.8 º
C 1= [ π - α +( 1/2 ) *seno ( 2* α ) ] 3
8.- Qmax
Módulos de la funcion Channels
Modules of channels functions
Hojas
9.- Modulos