Documentos de Académico
Documentos de Profesional
Documentos de Cultura
T40.07 B274s
T40.07 B274s
JAIROALEXANDERBARRAGANMENDOZA
ANDRESRICARDOREYESCARRILLO
LUISEDUARDOACOSTAVELASQUEZ
UNIVERSIDADDELASALLE
FACULTADDEINGENIERACIVIL
BOGOTD.C.
2007
SOFTWAREPARAELDISEODECANALESABIERTOS
JAIROALEXANDERBARRAGANMENDOZA
ANDRESRICARDOREYESCARRILLO
LUISEDUARDOACOSTAVELASQUEZ
Trabajodegradopresentadocomorequisitoparcialparaoptaralttulode
IngenieroCivil
Directortemtico
Ing.RobertoVsquezMadero
Asesorametodolgica
Mag.RosaAmparoRuizSaray
UNIVERSIDADDELASALLE
FACULTADDEINGENIERACIVIL
BOGOTD.C.
2007
Notadeaceptacin:
___________________________________________
___________________________________________
___________________________________________
___________________________________________
___________________________________________
___________________________________________
___________________________________________
___________________________________________
___________________________________________
___________________________________________
________________________________
Firmadelpresidentedejurado
________________________________
Firmadeljurado
________________________________
Firmadeljurado
BogotD.C.20defebreroao2007
DEDICATORIA
La carta que denominan dedicatoria, que ha ser breve y sucinta, con propsito y
espacio, llena de verdad y no dilatarse enla memoria de hazaas de quienes le
pertenece, motivo por el cual de la manera mas humilde les presento esta
dedicatoriacomountesoroyunaofrenda.
A mis grandes amigos con quienes crec y me forme la gente del Inner Circle,
Freddy Prieto el mago Oscuro, Nidia Camargo La Tia, Alejandro Mogolln la
gente de la universidad y a todas aquellas personas que de una u otra manera
hicieronunaportepositivoparamiproyectodevida.
AlasfamiliasMendoza,Rubio,Carrillo,Dazquemebrindaronsusinceraamistad.
Amisamigosdelauniversidad,FerleyDaz,JavierRubio,WilsonPatio,Edinson
Carreo,FernandoCastao,HelberthTorresydemsamigosque mebrindaron
suamistad,untesoroincunable.
Amismaestrosquieneshanformadoenmelespritudeunhombre,lamentede
uningenieroyelcorazndeunpatriota.
A Sir Isaac Newton, por demostrar que se logran grandes cosas si te apoyas en
hombrosdegigantes.
A los ingenieros Antoine de Chzy y Robert Manning, por demostrar que los
ingenierostrasciendeneneltiempo.
Alahumanidadparalacualseentreganlosfrutosdeesteprocesopersonal,para
que los conocimientos entregados sean para el bienestar y prosperidad de la
humanidadengeneral.
No pido a quienes les pertenece esta dedicatoria reciban este escrito bajo su
tutela, por que s que si no es buena, aunque lo ponga bajo la custodia de
Cerbero, y al cuidado de Sigfrido, no dejaran las lenguas maldicientes y
murmuradorasdemorderlaylacerarla,singuardarrespetoanadie.Sololespido,
comoquiennodicenada,estaesunaobraquefuelabradapormientendimiento,
presumieran ponerla al lado de las mas pintadas. Tal es, que yo quedo aqu
contentsimoporparecermeenalgoeldeseoquetengodeserviralaHumanidad,
amipasyamiprofesin.
Lapotenciaintelectualdeunhombresemideporladosisdehumorqueescapaz
deutilizarFriedrichNietzsche.
JAIROALEXANDERBARRAGANMENDOZA
DEDICATORIA
Larealizacindeesteproyecto,reflejalosprimerosfrutosdeunarduocaminoque
herecorrido,yqueanfaltaporrecorrer.Convirtindoseesteproyectoenelpunto
departidademividaprofesional.
Amimam,quienconsuesfuerzo,dedicacin,apoyo,confianzaysabidura,supo
guiarmeporelcaminocorrectoyhoylogroconvertirunhijoenunprofesionaldela
ingeniera.Tedoygraciasmamporhabermedadoelregalomsgrandequeme
hayaspodidodaryquenadiemeloquitara,elestudio.
A misabuelos,puessuapoyoincondicional,atencinyamor,fueronimportantes
para la formacin como profesional, adems darles gracias por su compaa en
estosltimosaosquehemosvividoyaesaspequeascomidasqueladierona
conocerenlauniversidad.
AmihermanoMauricio,queesmimotivodeseguiradelanteydejarleuncamino
labradoyconpuertasabiertasparaquesaquesumayorprovecho.
AmihermanaMnica,porsuspalabrasyconfidenciasquedeunauotramanera
hansidounaporteamiproyectodevida.
ANDRSRICARDOREYESCARRILLO
DEDICATORIA
A miPadrequemeguisiempreporelcaminodelbienyestuvoconmigoenlas
buenasylasmalas.
AmiMadrequeaunquenoesteacompandomeencuerposiempreloestuvoen
alma para ella el mas grande de mis agradecimientos donde quiera que este
porquesoloellasabecuantolaextraoytodoloquesoygraciasaella.
AmishermanitasNoraLilianayJuliethMarcelaquelasamocontodomicorazn,
y gracias por todo ese apoyo incondicional que siempre me dieron y que espero
seguirrecibindolo.
AmisamigosycompaerodetesisJairoyRichiquesinellosnadadeestoseria
posible y por supuesto que no se pierdan y esta amistad no quede solo aqu
aprendyquieroseguiraprendiendomuchodeellosypormuchotiempomas.
AmisamigosdelbarrioJuanCarlos,Quito,Lalo,Pachito,Pacheco,Nando,Leo,y
amigranamigoDanielBohrquezquelastimosamentesenosfuedeestemundo
peroparadondeesteesparaelestatesisconmuchoaprecioycariomicerdito,y
como no a mi gran amigo o hermanazo Andrs Villate que gracias a el que es
como mipadrey mihermanoalavezelque meaconsejayacompaaentodas
lascosasdelavidaunseorentodoelsentidodelapalabraperomequedocorto
conpalabrasporesolasdejoaquyselasestardiciendosiemprepersonalmente
hastaquelavidamelopermitayatodasufamiliaespecialmenteadoaMiriammi
segundamadresisepuededecirasporqueaslosientoylaquierocontodomi
corazn y adems que a sido mi gran apoyo desde todos los buenos y
especialmente los malos momentos les podra decir mi segunda familia y como
sacaraJuancascoyaMiqueridoJulioVillatequeestnypertenecenamigran
familia.
A mis amigos dela universidad algunos que aunquelos conoc muy tarde tienen
un gran espacio en mi corazn German Cubillos , Omar Eduardo, el Paisa, caro,
Pinky,germanRomero,Yesid,pacho,Daniela,ytodoslosdemsqueestuvieron
en grandes y chicos momentos conmigo, y como voy a olvidar auna delas mas
importantemividaalejaalamujerqueamocontodomicoraznylaqueespero
seguir amando toda mi vida y claro si dios me lo permite estar con ella
acompandolaelrestodesuvidacomoungrancompaeroporquesiesdedecir
esunadelasquemasmehasoportadotodasmiscagadasplantadasydemaste
amoyteamocontodomicoraznasufamiliaenlacualtambinsentsiempre
ungranapoyosumadreGladisaJuanchoyasushermanosluisitaporsupuesto
consubellahijaMariaJosasuhermanodiegohijoyfamilia.
Graciasdeantemanoatodasesaspersonasquedeprontoestnyestuvieroncon
uno en este u otro momento y no los hay citado en estas letras estas pero de
verdadesquesonmuchosylalistaseriademasiadagrandedetodasmanerasa
ellostambinlasmismasgraciasylosquieromucho.
LUISEDUARDOACOSTAVELASQUEZ
AGRADECIMIENTOS
Losautoresexpresanelreconocimiento:
AlIngenieroHECTORVEGA,porelapoyoyladedicacinqueprestoduranteeste
procesoylaamistadquebrind.
AROSAAMPARORUIZSARAY,porelapoyoyladedicacinqueprestodurante
esteprocesoylaamistadquebrind.
ATuxstoneTechnologies,porsusasesoriasydedicacionenespecialalIngeniero
JuanFajardo.
AC.O.E.C,porladedicacionylasherramientaspuestasanuestroservicio,unade
lasgrandescompaasdeingenieraenColombia.
CONTENIDO
CONTENIDO
14
LISTADECUADROS
20
LISTADEECUACIONES
21
LISTADEFIGURAS
27
LISTADEFIGURAS
27
LISTADEIMGENES
30
LISTADETABLAS
32
GLOSARIO
33
GLOSARIO
33
INTRODUCCIN
46
1. ELPROBLEMA
49
1.1 LNEA
49
1.2 TTULO
49
49
51
1.5 JUSTIFICACIN
51
1.6 OBJETIVOS
52
1.6.1 OBJETIVOGENERAL
52
1.6.2 OBJETIVOSESPECFICOS:
52
2. MARCOREFERENCIAL
54
54
2.1.1 FLUJOENCANALESABIERTOS,
55
2.1.1.1 TIPOSDEFLUJO
56
2.1.1.1.1 FLUJOUNIFORME
57
2.1.1.1.2 FLUJOVARIADO
58
2.1.1.1.3 FLUJOPERMANENTE
59
2.1.1.1.4 FLUJONOPERMANENTE
60
2.1.1.1.5 FLUJOUNIFORMEPERMANENTE
61
2.1.1.1.6 FLUJOUNIFORMENOPERMANENTE
62
2.1.1.1.7 FLUJOVARIADOPERMANENTE
63
2.1.1.1.8 FLUJOVARIADONOPERMANENTEOINESTABLEOFLUJONOPERMANENTE
64
2.1.1.1.9 FLUJOESPACIALMENTEVARIADO
65
2.1.2. INFLUENCIADELAVISCOSIDAD,LADENSIDADYLAGRAVEDADSOBREELFLUJO
65
2.1.2.1 EFECTODELAVISCOSIDADSOBREELFLUJO
66
2.1.2.2 EFECTODELADENSIDADDELLQUIDOSOBREELFLUJO
68
2.1.2.3 EFECTODELAGRAVEDADSOBREELFLUJO
68
2.1.2.3.1 FLUJOSUBCRTICO
69
2.1.2.3.2 FLUJOCRITICO
69
2.1.2.3.3 FLUJOSUPERCRTICO
69
2.1.3 CLASESDECANALESYSUSPROPIEDADES
69
2.1.3.1 CANALESNATURALES
69
2.1.3.2 CANALESARTIFICIALES
70
2.1.4 LASECCINTRANSVERSALENLOSCANALESABIERTOS
74
2.1.4.1 ELEMENTOSGEOMTRICOSDELASECCINDEUNCANAL
76
2.1.4.1.1 PROFUNDIDADDELAGUA
76
2.1.4.1.2 REAMOJADA
78
2.1.4.1.3 PERMETROMOJADO
78
2.1.4.1.4 RADIOHIDRULICO
78
2.1.4.1.5 ANCHOSUPERFICIAL
78
2.1.4.1.6 PROFUNDIDADHIDRULICA
78
2.1.4.1.7 TALUDDELAPAREDLATERALDELCANAL
78
2.1.4.1.8 ANCHODELFONDODELCANAL
78
2.1.4.1.9 FACTORDESECCINPARAELCLCULODELFLUJOCRITICO
79
2.1.4.1.10 FACTORDESECCINPARAELCLCULODEFLUJOUNIFORME
79
2.1.4.1.11 ELEMENTOSGEOMTRICOSDESECCIONESDECANALES
79
2.1.5 CARACTERSTICASDELFLUJOENLASSECCIONESMSUSADAS
80
2.1.5.1 FLUJOENUNCANALDESECCINCIRCULAR,
80
2.1.5.2 FLUJOENCANALESRECTANGULARESMUYANCHOS
80
2.1.6 DISTRIBUCINDELAVELOCIDADENLASECCINDEUNCANAL
81
2.1.6.1 MEDICINDELAVELOCIDADENUNCANALABIERTO
84
2.1.6.1.1 MTODO0.6Y
84
84
2.1.6.1.3 CONDICIONESGENERALESDELOSMTODOSPARAMEDIRLAVELOCIDAD
84
2.1.6.2 COEFICIENTESDEDISTRIBUCINDEVELOCIDAD
86
2.1.6.2.1 COEFICIENTEDEENERGA
86
2.1.6.2.2 COEFICIENTEDEMOMENTUM
87
2.1.7 DISTRIBUCINDEPRESIONESENLASECCINDEUNCANAL
88
2.1.7.1 FLUJOPARALELO
89
2.1.7.2 FLUJOCURVILNEO
89
2.1.7.2.1 FLUJOCONVEXO
89
2.1.7.2.2 FLUJOCNCAVO
89
2.1.7.3 EFECTODELAPENDIENTEDELCANALSOBRELADISTRIBUCINDEPRESIONES
90
2.1.8 ENERGAYMOMENTUM
92
2.1.8.1 ENERGAESPECIFICA
95
2.1.8.1.1 CURVADEENERGAESPECIFICA
98
2.1.8.1.2 CARACTERSTICASDELACURVADEENERGA
98
2.1.8.2 CLASIFICACINDELFLUJO
100
2.1.8.2.1 FLUJOSUBCRTICO
101
2.1.8.2.2 FLUJOCRITICO
101
2.1.8.2.3 FLUJOSUPERCRTICO
102
2.1.8.3 DETERMINACINDELFLUJOCRITICO
104
2.1.8.3.1 PROPIEDADESGENERALESDELFLUJOCRTICO
106
2.1.8.3.2 FLUJOCRTICOENUNASECCINRECTANGULAR
108
2.1.8.4 FENMENOSLOCALES
109
2.1.8.4.1 CADAHIDRULICA
109
2.1.8.4.2 SALTOHIDRULICO
110
2.1.8.4.3 PROFUNDIDADESALTERNAS
112
2.1.8.5 MOMENTUM
113
2.1.8.5.1 VOLUMENDECONTROL
113
2.1.8.5.2 ECUACINDEFUERZAESPECIFICA
115
2.1.8.5.3 FUERZAESPECIFICAENUNCANALDESECCINRECTANGULAR
115
2.1.8.5.4 CURVADEFUERZAESPECIFICA
118
2.1.8.5.5 PROFUNDIDADESSECUENTES
120
2.1.8.6 PRDIDADEENERGAENUNRESALTOHIDRULICO
123
2.1.8.6.1 LALONGITUDDELRESALTO
126
2.1.8.6.2 POTENCIADISIPADA
128
2.1.8.7 FUERZASOBRELAESTRUCTURAENELRESALTO
129
2.1.9 FLUJOUNIFORME
131
2.1.9.1 TIPOSDEFLUJOUNIFORME
132
2.1.9.2 ECUACIONESDEVELOCIDADDEFLUJO
133
2.1.9.3 ECUACINDECHZY
134
2.1.9.4 EXPRESIONESPARAELFACTORDERESISTENCIACENLAECUACINDECHZY
137
137
2.1.9.4.2 FRMULADEKUTTER,
138
2.1.9.4.3 FRMULADEMANNING
138
2.1.9.4.4 FRMULADEBAZIN
145
2.1.9.4.5 FRMULALOGARTMICA
146
148
2.1.9.5 CANALESCONRUGOSIDADESCOMPUESTAS
150
2.1.9.5.1 PRINCIPIODESUPERPOSICIN
150
2.1.9.5.2 DIVIDIRLASECCINTRANSVERSAL
152
2.1.9.6 PRDIDASDEENERGAENUNCANAL
153
2.1.10 DISEODECANALESENFLUJOUNIFORME
154
2.1.10.1 CRITERIOSPARAELDISEODECANALES
154
2.1.10.2 INFORMACINBSICADEDISEO
155
2.1.10.3 PARMETROSDEDISE
156
2.1.10.4 ESTUDIOAMBIENTALYECOLGICO
157
2.1.10.5 CASOSDEDISEO
159
2.1.10.5.1 CANALESREVESTIDOSONOEROSIONABLES
159
2.1.10.5.2 CANALESNOREVESTIDOSOEROSIONABLES
159
2.1.10.6 DISEODECANALESREVESTIDOSONOEROSIONABLES
160
2.1.10.6.1 SECCINHIDRULICAMENTEPTIMA
160
2.1.10.7 DISEODECANALESNOREVESTIDOSOEROSIONABLES
172
2.1.10.7.1 MTODODELAVELOCIDADMXIMAPERMISIBLE
173
2.1.10.7.3 MTODODELASECCINHIDRULICAMENTEESTABLE
193
2.1.10.8 PRDIDASPORINFILTRACINENCANALES
204
2.1.10.9 DISEODETRANSICIONES
207
212
2.2.1 CANAL
212
2.2.2 DISEODECANALES
213
2.2.3 SOFTWARE
213
213
2.3.1 NORMAS
213
2.3.2 NORMASTCNICASCOLOMBIANAS
213
2.3.3 NORMASTCNICASISO
214
3. METODOLOGA
214
215
3.2 OBJETODEESTUDIO
217
3.3 VARIABLES
218
4. TRABAJOINGENIERIL
218
4.1 DESARROLLO
219
4.1.1 IDENTIFICACINDELLENGUAJEDEPROGRAMACIN
219
4.1.2 IDENTIFICACINDELOSPRINCIPIOSFSICOSYDEFINICIONESQUEINTERVIENENENEL
DISEO.
219
4.1.3 IDENTIFICACINDELOSPRINCIPALESMTODOSDEDISEODECANALES
221
4.2 SOFTWARE
222
4.2.1 EJEMPLOPARAELCALCULODELAFUERZAESPECIFICAENUNASECCINRECTANGULAR.
223
4.2.2 EJEMPLOPARAELDESARROLLODEUNAPRACTICADELABORATORIO.
226
232
232
232
5. COSTOSTOTALESDELAINVESTIGACIN
233
233
234
234
235
235
6. CONCLUSIONES
237
7. RECOMENDACIONES
245
BIBLIOGRAFA
247
ANEXOS
250
250
251
344
345
LISTADECUADROS
CUADRO1.ANLISISDELASVARIABLES
218
LISTADEECUACIONES
ECUACIN1DERIVADAPARCIALDELAVELOCIDADRESPECTOALALONGITUD
57
ECUACIN2DERIVADAPARCIALDELAPROFUNDIDADDELFLUJORESPECTOALA
LONGITUD
57
ECUACIN3DERIVADAPARCIALDELCAUDALRESPECTOALALONGITUD
57
ECUACIN4DERIVADAPARCIALDELAVELOCIDADRESPECTOALALONGITUD
58
ECUACIN5DERIVADAPARCIALDELAPROFUNDIDADDELFLUJORESPECTOALA
LONGITUD
ECUACIN6DERIVADAPARCIALDELAVELOCIDADRESPECTOALTIEMPO
58
60
ECUACIN7DERIVADAPARCIALDELAPROFUNDIDADDELFLUJORESPECTOALTIEMPO
60
ECUACIN8DERIVADAPARCIALDELCAUDALRESPECTOALTIEMPO
60
ECUACIN9DERIVADAPARCIALDELAVELOCIDADRESPECTOALTIEMPO.
61
ECUACIN10DERIVADAPARCIALDELAPROFUNDIDADDELFLUJORESPECTOAL
TIEMPO.
61
ECUACIN11DERIVADAPARCIALDELCAUDALRESPECTOALALONGITUD.
65
ECUACIN12NUMERODEREYNOLDS
66
ECUACIN13NUMERODEREYNOLDSPARACANALESABIERTOS
67
ECUACIN14NUMERODEREYNOLDSPARAUNALONGITUDCARACTERSTICADE
CUATROVECESELRADIOHIDRULICO
ECUACIN15NUMERODEFROUDE
67
68
ECUACIN16RELACINENTRELAPROFUNDIDADDELAGUAYELNGULODELA
PENDIENTEDELFONDODELCANAL.
77
ECUACIN17DEFINICINDELRADIOHIDRULICO
78
ECUACIN18DEFINICINDELAPROFUNDIDADHIDRULICA.
78
ECUACIN19DEFINICINDEFACTORDESECCIN
79
ECUACIN20RADIOHIDRULICOPARAUNCANALDESECCINRECTANGULAR.
81
ECUACIN21APROXIMACINDELRADIOHIDRULICOENUNCANALDESECCIN
RECTANGULAR
81
ECUACIN22VELOCIDADMEDIAENUNCAUSEDIVIDIDOPORFRANJAS
85
ECUACIN23COEFICIENTEDEENERGA
87
ECUACIN24COEFICIENTEDEMOMENTUM.
88
ECUACIN25ALTURAPIEZOMTRICAENFUNCINDELAPROFUNDIDADMEDIDA
VERTICALMENTE
90
ECUACIN26ALTURAPIEZOMTRICAENFUNCINDELASPROFUNDIDADMEDIDA
PERPENDICULARMENTE
90
ECUACIN27ENERGATOTALPARAENUNCANALABIERTOCONFLUJOGRADUALMENTE
VARIADO
92
ECUACIN28ENERGATOTALENUNCANAL
93
ECUACIN29ENERGATOTALPARACANALESCONPENDIENTESBAJAS
93
ECUACIN30ENERGATOTALENTREDOSPUNTOSENUNCANAL
94
ECUACIN31ENERGATOTALENTREDOSPUNTOSENUNCANALDEPENDIENTE
PEQUEA
95
ECUACIN32ECUACINDEENERGADEBERNOULLI
95
ECUACIN33ENERGAESPECIFICAENUNCANALABIERTO,ENFUNCINDELAALTURA
PIEZOMTRICA.
95
ECUACIN34ENERGAESPECIFICAENUNCANALABIERTO,ENFUNCINDELA
PROFUNDIDADPERPENDICULARALFONDODELCANALDESDELASUPERFICIEDEL
LIQUIDO
95
ECUACIN35ENERGAESPECIFICAENUNCANALABIERTO,ENFUNCINDELA
PROFUNDIDADVERTICALDELLIQUIDOALFONDODELCANAL.
95
ECUACIN36ENERGAESPECIFICAPARAUNCANALDEBAJAPENDIENTE,ENFUNCIN
DELAPROFUNDIDADVERTICALDELLIQUIDO
95
ECUACIN37ECUACINDECONTINUIDAD
97
ECUACIN38VELOCIDADENFUNCINDELCAUDAL
97
ECUACIN39ECUACINGENERALDEENERGAESPECIFICA
97
ECUACIN40ENERGAESPECIFICAENUNCANALENFUNCINDEUNCAUDALUNITARIO
97
ECUACIN41ECUACINDIFERENCIADELFLUJOCRITICO
104
ECUACIN42ENERGAESPECIFICA
104
ECUACIN43ECUACINGENERALDELFLUJOCRTICO
105
ECUACIN44ESTADOCRTICODEFLUJO
106
ECUACIN45CONDICINGENERALDELFLUJOCRTICO
106
ECUACIN46CAUDALTOTALENUNCANALRECTANGULAR,ENFUNCINDELCAUDAL
UNITARIO.
ECUACIN47PROFUNDIDADCRTICAPARAUNA SECCINRECTANGULAR.
108
108
ECUACIN48ENERGAMNIMAENUNCANALRECTANGULAR,ENFUNCINDELA
PROFUNDIDADCRITICA.
109
ECUACIN49RELACINDEENERGAESPECIFICA,PARADETERMINARLASALTURAS
ALTERNAS
113
ECUACIN50ECUACINPARAELCLCULODELASPROFUNDIDADESALTERNAS
113
ECUACIN51ECUACINDEAPLICACINDELPRINCIPIODEMOMENTUM
114
ECUACIN52ECUACINDEAPLICACINDELPRINCIPIODEMOMENTUMPARACANALES
LISOSYDEBAJAPENDIENTE.
114
ECUACIN53DEFINICINDELAFUERZAHIDROSTTICA.
115
ECUACIN54FUERZAESPECIFICAPORUNIDADDEANCHO.
115
ECUACIN55ECUACINDEFUERZAESPECIFICA.
115
ECUACIN56ECUACINDEFUERZAESPECIFICA
116
ECUACIN57ECUACINDEFUERZAESPECIFICAPARALASSECCIONES(1)Y(2),
FIGURAS32Y33.
117
ECUACIN58ECUACINDEFUERZAESPECFICAPARAUNCANALDESECCIN
RECTANGULAR.
117
ECUACIN59FUERZAESPECIFICAPORUNIDADDEANCHO
118
ECUACIN60PROFUNDIDADCRITICADEFLUJODEUNCANAL,ENFUNCINDELCAUDAL
UNITARIO.
119
ECUACIN61FUERZAESPECIFICAMNIMAPARAELFLUJOENUNCANALABIERTO.
119
ECUACIN62NUMERODEFROUDEENFUNCINDELCAUDALUNITARIO
122
ECUACIN63RELACINENTRELASPROFUNDIDADESSECUENTESOCONJUGADAS 123
ECUACIN64PRDIDASDEENERGAENUNRESALTOHIDRULICO.
124
ECUACIN65RELACIN Lj
y1 PARACANALESPRISMTICOSDECUALQUIERFORMA. 127
ECUACIN66RELACIN Lr
y1 PARACANALESANCHOS
ECUACIN67POTENCIADISIPADAENUNRESALTO
128
129
ECUACIN68ECUACINDEAPLICACINDEMOMENTUMPARADETERMINARLAFUERZA
SOBREUNAESTRUCTURA
130
ECUACIN69ECUACINDEAPLICACINDEMOMENTUMPARADETERMINARLAFUERZA
SOBREUNAESTRUCTURAENUNCANALDEBAJAPENDIENTEYLISO.
130
ECUACIN70ECUACINGENERALPARADETERMINARLAFUERZASOBREUNA
ESTRUCTURA.
131
ECUACIN71FORMAGENERALDELASECUACIONESDEVELOCIDADENFLUJO
UNIFORME.
134
ECUACIN72ECUACINDECHZY
134
ECUACIN73ECUACINDECHZYPARAFLUJOUNIFORME
134
ECUACIN74FUERZATOTALRESISTENTEALFLUJOENUNCANALCONFLUJO
UNIFORME
135
ECUACIN75FRMULADEKUTTERGANGUILLET,PARAUNIDADESDELSISTEMA
INTERNACIONAL
138
ECUACIN76FRMULADEKUTTER,PARAUNIDADESDELSISTEMAINTERNACIONAL 138
ECUACIN77FRMULADEMANNING,PARAUNIDADESDELSISTEMAINTERNACIONAL 139
ECUACIN78ECUACINDEMANNINGPARAFLUJOUNIFORMEENUNIDADESDEL
SISTEMAINTERNACIONAL
139
ECUACIN79ECUACINDEMANNINGPARACAUDALENUNIDADESDELSISTEMA
INTERNACIONAL
139
ECUACIN80ECUACINGENERALDEMANNING
139
ECUACIN81FRMULADEBAZIN,PARAUNIDADESDELSISTEMAINTERNACIONAL.
146
ECUACIN82FRMULALOGARTMICAPARAUNIDADESDELSISTEMAINTERNACIONAL.
147
ECUACIN83FRMULALOGARTMICAGENERALIZADAPARAUNIDADESDELSISTEMA
INTERNACIONAL.
ECUACIN84ESFUERZOCORTANTEENELFONDODELCANAL
147
148
ECUACIN85COEFICIENTEDERESISTENCIAALFLUJO,SEGNLAECUACINDEDARCY
WEISBACH
148
ECUACIN86ECUACINDEDARCYWEISBACH
149
ECUACIN87ECUACINDECOLEBROOKYWHITE
149
ECUACIN88COEFICIENTEDERESISTENCIAALFLUJO,SEGNLAECUACINDEDARCY
WEISBACH
149
ECUACIN89COEFICIENTEDERUGOSIDADEQUIVALENTEPARACANALESDESECCIN
COMPUESTA
151
ECUACIN90COEFICIENTEDERUGOSIDADEQUIVALENTEPARACANALESDESECCIN
COMPUESTA
151
ECUACIN91COEFICIENTEDERUGOSIDADEQUIVALENTEPARACANALESDESECCIN
COMPUESTA
152
ECUACIN92PRDIDASPORFRICCINENCANALES
153
ECUACIN93BORDELIBREPARACANALES
157
ECUACIN94READELASECCINTRAPEZOIDAL
164
ECUACIN95PERMETROMOJADODELASECCINTRAPEZOIDAL
164
ECUACIN96PERMETROMOJADODEUNASECCINTRAPEZOIDALENFUNCINDEL
REAYLAPROFUNDIDADDELFLUJO
165
ECUACIN97READELASECCINTRAPEZOIDALENFUNCINDELAPENDIENTE
LATERALYLAPROFUNDIDADDELFLUJO
165
ECUACIN98ANCHODEFONDODEUNCANALTRAPEZOIDALENFUNCINDELA
PENDIENTELATERALYLAPROFUNDIDADDELFLUJO
165
ECUACIN99PERMETROMOJADODEUNASECCINTRAPEZOIDALENFUNCINDELA
PENDIENTELATERALYLAPROFUNDIDADDELFLUJO
166
ECUACIN100PENDIENTELATERALPARALACUALSEOBTIENEELMNIMOPERMETRO
MOJADOENUNCANALTRAPEZOIDECUALQUIERA
167
ECUACIN101REAENUNASECCINTRAPEZOIDALCONSECCINHIDRULICAPTIMA
167
ECUACIN102PERMETROMOJADOPARAUNASECCINTRAPEZOIDALCONSECCIN
HIDRULICAPTIMA
167
ECUACIN103RADIOHIDRULICOPARAUNASECCINTRAPEZOIDALCONSECCIN
HIDRULICAPTIMA
167
ECUACIN104ANCHOSUPERFICIALPARAUNASECCINTRAPEZOIDALCONSECCIN
HIDRULICAPTIMA
167
ECUACIN105PROFUNDIDADDELFLUJOPARAELDISEODEUNCANALREVESTIDO
CONSECCINHIDRULICAMENTEPTIMA.
169
ECUACIN106ANCHODEFONDODECANAL,ELDISEODEUNCANALREVESTIDOCON
SECCINHIDRULICAMENTEPTIMA
169
ECUACIN107ANCHODEFONDODECANALAMEDIOESPESORELDISEODEUNCANAL
REVESTIDOCONSECCINHIDRULICAMENTEPTIMA
169
ECUACIN108ANCHODEFONDOTOTALDECANAL,ELDISEODEUNCANAL
REVESTIDOCONSECCINHIDRULICAMENTEPTIMA
170
ECUACIN109VOLUMENDEMATERIAAEXCAVARPARAELDISEODEUNCANAL
REVESTIDOCONSECCINHIDRULICAMENTEPTIMA
170
ECUACIN110COSTODELAEXCAVACINPARAELDISEODEUNCANALREVESTIDO
CONSECCINHIDRULICAMENTEPTIMA
171
ECUACIN111COSTODELTRANSPORTEDELMATERIALDELAEXCAVACINPARAEL
DISEODEUNCANALREVESTIDOCONSECCINHIDRULICAMENTEPTIMA
171
ECUACIN112VOLUMENDELMATERIALAUTILIZARCOMOREVESTIMIENTOELDISEO
DEUNCANALREVESTIDOCONSECCINHIDRULICAMENTEPTIMA
172
ECUACIN113COSTODELMATERIALDEREVESTIMIENTOPARAELDISEODEUN
CANALREVESTIDOCONSECCINHIDRULICAMENTEPTIMA
172
ECUACIN114ESFUERZOCORTANTEENELFONDODEUNCANALMUYANCHO
179
ECUACIN115FUERZATRACTIVAUNITARIAENELTALUDDEUNCANAL
182
ECUACIN116FUERZATRACTIVAUNITARIAENELFONDODEUNCANAL
183
ECUACIN117RAZNDELAFUERZATRACTIVA
183
ECUACIN118ESFUERZOTRACTIVOCRITICO
196
ECUACIN119ESFUERZOTRACTIVOCRITICOSOBRELOSTALUDESDELCANAL.
196
ECUACIN120ESFUERZOTRACTIVOENELCENTRODELCANALCONPROFUNDIDADYN
196
ECUACIN121PROFUNDIDADDELFLUJOENFUNCINDELAPROFUNDIDADNORMAL,
DELNGULODELTALUDYDELNGULODELAPARTCULADEREPOSO.
197
ECUACIN122ECUACINDIFERENCIALDELASECCINTRANSVERSALDEUNCANAL
CONSECCINHIDRULICAMENTEESTABLE
197
ECUACIN123PROFUNDIDADDELFLUJOENUNCANALCONSECCIN
HIDRULICAMENTEESTABLE,ENFUNCINDELAPROFUNDIDADNORMAL.
198
ECUACIN124PROFUNDIDADDELFLUJOENUNCANALCONSECCIN
HIDRULICAMENTEESTABLE,ENFUNCINDELAPROFUNDIDADNORMAL.
198
ECUACIN125REAMOJADADELASECCINDEMAYOREFICIENCIAHIDRULICA
198
ECUACIN126PERMETROMOJADODELASECCINDEMAYOREFICIENCIAHIDRULICA
199
ECUACIN127SOLUCINDELAINTEGRALELPTICADESEGUNDOTIPO
199
ECUACIN128CAUDALPARAUNCANALNOREVESTIDOCONDELASECCINDEMAYOR
EFICIENCIAHIDRULICA
199
ECUACIN129CAUDALPARAUNCANALNOREVESTIDOCONDELASECCIN
HIDRULICAESTABLECUANDO QD >Q
200
ECUACIN130CAUDALPARAUNCANALNOREVESTIDOCONDELASECCIN
HIDRULICAESTABLECUANDO QD < Q.
201
ECUACIN131CAUDALTERICOENLASECCINHIDRULICAMENTEPTIMA,EN
FUNCINDELREAHIDRULICA
202
ECUACIN132CAUDALDEDISEOENLASECCINHIDRULICAMENTEPTIMA,EN
FUNCINDELREAHIDRULICA
202
ECUACIN133DETERMINACINDEL T''PARALASECCINHIDRULICAESTABLE
CUANDOQD < Q.
203
210
ECUACIN135PRDIDASPORTRANSICINENFLUJORETARDADO, V1 <V2
211
LISTADEFIGURAS
FIGURA1FLUJOLIBRE
56
FIGURA2FLUJOUNIFORMEENUNCANALDELABORATORIO
58
FIGURA3FLUJOVARIADO
59
FIGURA4FLUJOPERMANENTE
60
FIGURA5FLUJONOPERMANENTE
61
FIGURA6FLUJOUNIFORMEPERMANENTE
62
FIGURA7FLUJOUNIFORMENOPERMANENTE.
63
FIGURA8FLUJOVARIADO.
64
FIGURA9FLUJOVARIADONOPERMANENTE.
65
FIGURA11FLUJOESPACIALMENTEVARIADO.A)SUMIDEROCONDESCARGACOMPLETA.
65
FIGURA12SECCINTRANSVERSALDEUNCAUSEIRREGULAR
75
FIGURA13SECCINTRANSVERSALDEUNCAUCEPRISMTICODEFORMA
TRAPEZOIDAL.
75
FIGURA14SECCIONESCOMUNESENCANALESPRISMTICOS
76
FIGURA15RELACINENTRELAPROFUNDIDAD(Y)YLAPROFUNDIDAD(D)
77
FIGURA16.DISTRIBUCINDEVELOCIDADESENSECCIONESTRANSVERSALESDE
DIFERENTEFORMA.TOMADODEHIDRULICADE CANALESABIERTOS.CHOW,V.T
2000
82
FIGURA17EFECTODELARUGOSIDADENLADISTRIBUCINDEVELOCIDADESENUN
CANALABIERTO.TOMADODEHIDRULICADECANALESABIERTOSDECHOWV.T.
2000
FIGURA18SECCINTRANSVERSALDEUNCAUCEDIVIDIDOENFRANJAS.
83
85
FIGURA19DISTRIBUCINDEPRESIONESENCANALESRECTOSYCURVOSCON
PENDIENTEPEQUEAUHORIZONTAL.A)FLUJOPARALELO,B)FLUJOCONVEXO,C)
FLUJOCNCAVO.TOMADODEHIDRULICADECANALESABIERTOSDECHOWV.T.
2000CHOW,V.T.2000
89
FIGURA20DISTRIBUCINDEPRESIONESENUNFLUJOPARALELOENCANALESDE
PENDIENTEALTA.TOMADODEHIDRULICADECANALESABIERTOSDECHOWV.T.
2000.
FIGURA21ENERGATOTALPARACANALESABIERTOS
91
93
FIGURA22ENERGADEUNFLUJOGRADUALMENTEVARIADOENCANALESABIERTOS 94
FIGURA23COMPONENTESDELAENERGAESPECIFICA
96
FIGURA24CANALDESECCINRECTANGULAR
97
FIGURA25CURVADEENERGAESPECFICA
100
FIGURA26FLUJOSUBCRTICO
101
FIGURA27FLUJOCRTICO
102
FIGURA28FLUJOSUPERCRTICO
103
FIGURA29ELEMENTODIFERENCIALENLASECCINDEUNCANAL
105
FIGURA30CADAHIDRULICACONSURESPECTIVACURVADEENERGAESPECFICA 110
FIGURA31RESALTOHIDRULICOCONSUSCURVASDEENERGAESPECIFICAYFUERZA
ESPECIFICA.
111
FIGURA32PROFUNDIDADESALTERNASENLACURVADEENERGAESPECFICA.
112
FIGURA33APLICACINDELPRINCIPIODEMOMENTUM
114
FIGURA34CANALDESECCINRECTANGULAR.
116
FIGURA35CURVADEFUERZAESPECFICAPARAFLUJOENCANALESABIERTOS.
120
FIGURA36PROFUNDIDADESSECUENTESOCONJUGADAS,REPRESENTADASENLA
CURVADEFUERZAESPECIFICA.
121
FIGURA37A)PRDIDADEENERGAENUNRESALTO.B)LONGITUDDELRESALTO
HIDRULICO.
FIGURA38FUERZASOBRELAESTRUCTURAENUNRESALTOHIDRULICO.
125
129
FIGURA39DEMOSTRACINDELAECUACINDECHZYPARAUNCANALCONFLUJO
UNIFORME.
136
FIGURA40CANALCONRUGOSIDADCOMPUESTA
150
FIGURA41SECCIONESTRANSVERSALESDECAUDALMXIMO
162
FIGURA42PROPIEDADESDEGEOMTRICASDELASPRINCIPALESSECCIONES
162
FIGURA43COMPONENTESDEUNCANALREVESTIDO.
169
FIGURA44DISTRIBUCINTPICADEFUERZATRACTIVAENUNCANALTRAPEZOIDAL.
TOMADODEHIDRULICADECANALESABIERTOSDECHOWV.T.2000.
180
FIGURA45ANLISISDEFUERZASACTUANTESENUNAPARTCULAQUEESTA
SUSPENDIDAENELFONDODEUNCANAL
182
FIGURA46ESFUERZOSTRACTIVOSESFUERZOCORTANTETRACTIVOMXIMOENFUNCIN
DE g
y So .A)PARALOSTALUDESYB)PARAELFONDODELCANAL.TOMADODE
HIDRULICADECANALESABIERTOSDEFRENCH.R.H.1988.
184
FIGURA47NGULOSDEREPOSOPARAMATERIALESNOCOHESIVOS.TOMADODE
HIDRULICADECANALESABIERTOSDEFRENCH.R.H.1988
186
FIGURA48ESFUERZOSTRACTIVOSPERMISIBLESRECOMENDADOSPARACANALES
CONSTRUIDOSENMATERIALNOCOHESIVO,LANE(1955).TOMADODEHIDRULICA
DECANALESABIERTOSDEFRENCH.R.H1988
188
FIGURA49ESFUERZOSTRACTIVOSPERMISIBLESRECOMENDADOSPARACANALES
CONSTRUIDOSENMATERIALCOHESIVO,CHOW(1959).TOMADODEHIDRULICADE
CANALESABIERTOSDEFRENCH.R.H1988
189
FIGURA50SECCINHIDRULICAESTABLEPARAQ<QD
196
FIGURA51SECCINHIDRULICAESTABLECUANDO QD >Q
201
FIGURA52SECCINHIDRULICAESTABLECUANDO QD <Q
202
FIGURA53MXIMONGULOPTIMOENTREELEJEDEUNCANALYLASECCIN
CORRESPONDIENTEAUNATRANSICIN
209
LISTADEIMGENES
IMAGEN1.CANALNATURAL,ROATRTOALAALTURADELMUNICIPIODEQUIBDO
70
IMAGEN2.CANALIZACINQUEBRADALACHIGUAZA,LOCALIDADDETUNJUELITO,
BOGOT
72
IMAGEN3CANALARTIFICIALREVESTIDO,CANALDETRANSPORTEACUEDUCTODE
IBAGU
73
IMAGEN4CANALARTIFICIAL,MODELOHIDRULICOPARAEXPERIMENTACIN,
LABORATORIODEHIDRULICA,UNIVERSIDADDELASALLE,BOGOTA.
74
IMAGEN5SALTOHIDRULICOCOMOMEZCLADORHIDRULICO.PLANTADE
TRATAMIENTOIBAGU,TOLIMA.
111
IMAGEN6CLCULODELAFUERZAESPECIFICAPARAUNASECCINRECTANGULAREN
ELSOFTWAREOPENFLOWUNISALLE.
223
IMAGEN7CLCULODELAFUERZAESPECIFICAPARAUNASECCINRECTANGULAREN
ELSOFTWAREOPENFLOWUNISALLE,DATOSDEENTRADA.
224
IMAGEN8CLCULODELAFUERZAESPECIFICAPARAUNASECCINRECTANGULAREN
ELSOFTWAREOPENFLOWUNISALLE,DATOSDESALIDA.
225
IMAGEN9APLICACINPARAELLABORATORIODEHIDRULICADECANALES,PRACTICA
GEOMETRADELASECCIN,CURVADEENERGAYFUERZAESPECIFICAENEL
SOFTWAREOPENFLOWUNISALLE,PRELIMINARES.
226
IMAGEN10APLICACINPARAELLABORATORIODEHIDRULICADECANALES,PRACTICA
GEOMETRADELASECCIN,CURVADEENERGAYFUERZAESPECIFICAENEL
SOFTWAREOPENFLOWUNISALLE,DATOSDEENTRADA.
227
IMAGEN11APLICACINPARAELLABORATORIODEHIDRULICADECANALES,PRACTICA
GEOMETRADELASECCIN,CURVADEENERGAYFUERZAESPECIFICAENEL
SOFTWAREOPENFLOWUNISALLE,DATOSDESALIDA1.
227
IMAGEN12APLICACINPARAELLABORATORIODEHIDRULICADECANALES,PRACTICA
GEOMETRADELASECCIN,CURVADEENERGAYFUERZAESPECIFICAENEL
SOFTWAREOPENFLOWUNISALLE,DATOSDESALIDA2.
229
IMAGEN13APLICACINPARAELLABORATORIODEHIDRULICADECANALES,PRACTICA
GEOMETRADELASECCIN,CURVADEENERGAYFUERZAESPECIFICAENEL
SOFTWAREOPENFLOWUNISALLE,DATOSDESALIDA3.
230
IMAGEN14APLICACINPARAELLABORATORIODEHIDRULICADECANALES,PRACTICA
GEOMETRADELASECCIN,CURVADEENERGAYFUERZAESPECIFICAENEL
SOFTWAREOPENFLOWUNISALLE,GRFICOS1.
231
IMAGEN15APLICACINPARAELLABORATORIODEHIDRULICADECANALES,PRACTICA
GEOMETRADELASECCIN,CURVADEENERGAYFUERZAESPECIFICAENEL
SOFTWAREOPENFLOWUNISALLE,GRFICOS2.
231
LISTADETABLAS
TABLA1RELACINESGEOMTRICASPARALASSECCIONESTRANSVERSALESEN
CANALESMSUSADOS.
TABLA2FACTORESDEFORMAPARALAECUACIN65
80
127
TABLA3VALORESDELCOEFICIENTEDERUGOSIDADNDEMANNING.TOMADOSDE
HIDRULICADECANALESABIERTOSDECHOWV.T.2000
141
TABLA4VALORESPROPUESTOSPARAELMDEBAZIN.TOMADOSDEHIDRULICADE
CANALESABIERTOSDECHOWV.T.2000
146
168
TABLA7ESPESORRECOMENDADOPARACANALESENCONCRETOSIMPLE,ENFUNCIN
DELCAUDALATRANSPORTAR
170
TABLA8ESPESORRECOMENDADOPARACANALESENCONCRETOREFORZADO,EN
FUNCINDELCAUDALATRANSPORTAR
171
TABLA9VELOCIDADESMXIMASPERMISIBLESRECOMENDADASPORFORTIERY
SCOBEYPARACANALESRECTOSCONPENDIENTESPEQUEAS
174
TABLA10FACTORESDECORRECCINPARALASFUERZASTRACTIVASMXIMASPARA
CANALESCONDIVERSOS GRADOSDESINUOSIDAD.TOMADODEHIDRULICADE
CANALESABIERTOSDEFRENCH.R.H.1988.
191
TABLA11PRDIDASPORINFILTRACINENCANALESENDIVERSOSMATERIALES,SIN
TENERENCUENTAELNIVELFRETICO.TOMADODEHIDRULICADECANALES
ABIERTOSDECHOW.V.T2000YDEHIDRULICADECANALESABIERTOSDEFRENCH
.R.H1998.
206
TABLA12COEFICIENTESDEPRDIDAPORTRANSICIN.TOMADODEHIDRULICADE
CANALESABIERTOSDECHOW.V.T2000YDEHIDRULICADECANALESABIERTOS
DEFRENCH.R.H1998
211
TABLA13RECURSOSMATERIALES.
233
TABLA14RECURSOSINSTITUCIONALES.
234
TABLA15RECURSOSTECNOLGICOS.
234
TABLA16RECURSOSHUMANOS
235
TABLA17RECURSOSFINANCIEROS
235
GLOSARIO
Lasdefinicionespresentadasenestedocumentohansidogeneradasatravsde
dos vas distintas, una es a saber definiciones hechas por el grupo investigador
teniendo en cuenta la documentacin y material que se encontr, y otra es,
definiciones tomadas de la normatividad existente caso que se aplica el RAS
2000.
AFLUJO:elevacindelniveldelaguaporencimadelnivelnormal(esdecir,nivel
natural de la creciente) en el lado aguas arriba de una alcantarilla o una
obstruccinenuncanal.
ANCHOSUPERFICIAL:elanchosuperficialdeuncanaleselanchodelaseccin
delcanalenlasuperficielibredelagua.
REAMOJADA:encanalesabiertoseltrminodereamojadaserefierealrea
superficialencontactoconellquidoquefluye.
ASPERSION:pequeasgotasdeaguaquevuelanocaenatravsdelaire.
ATAGUIA:estructuratemporalquecontienetodaopartedelreadeconstruccin
de tal manera que la construccin pueda proceder en condiciones secas .una
ataguadedesviacindesvaunacorrientehaciaunatuberaouncanal.
BASALTO:Rocavolcnica,porlocomndecolornegrooverdoso,degranofino,
muydura,compuestaprincipalmentedefeldespatoypiroxenaoaugita,yaveces
deestructuraprismtica.
CADAHIDRULICA:cadaabruptadeaguasobreunprecipiciocaracterizadopor
unanapadeaguaencadalibre.
CANALESPRISMTICOS:uncanalprismticoeselquetieneconstantestantola
formatransversalcomolapendientedelfondo.Loscanalesquenoentraneneste
criteriosonllamadosnoprismticos
CAUDAL:volumendeaguacorrientequediscurreporuncauce.
CAUDALUNITARIO:uncaudalunitariosepuededefinir.
CAVITACION:formacindeburbujasdevaporypaquetesdevapordentrodeun
lquido homogneo causado por el esfuerzo excesivo (Franc et al. 1995). La
cavitacion modifica las caractersticas hidrulicas de un sistema y esta
caracterizada por erosin daina, ruido adicional, vibraciones y disipacin de
energa.
COEFICIENTEDEBOUSSINESQ:coeficientededecorreccindemomentumen
honoraJ.VBoussinesqquienlopropusoporprimeravez(1877).
COMPUERTAS:vlvulaosistemaparacontrolarelpasodeunfluido.Encanales
abiertos, los dos tipos mas comunes de compuerta son la compuerta de flujo
interioryladerebose.
CRIBA: marco de alambres o vigas que se llena con piedras, cantos rodados o
materialderellenoysehundecomocimentacinomuroderetencin.
CHEZY:AntonieChezy(17171798),IngenierofrancsymiembrodelCuerpode
Puentes y Caminos, quien diseo canales para el suministro de aguas de la
ciudad de Paris. En 1768 propuso una formula para la resistencia al flujo en
canales abiertos conocida como la ecuacin de Chezy. En 1798, se convirti en
director de la Escuela Nacional Superior de Puentes y Caminos despus de
ensearallpormuchosaos.
DIAMETROHIDRAULICO:sedefinecomoeldimetroequivalentedetubera:es
decir, cuatro veces el rea de la seccin transversal dividida por el permetro
mojado. Este concepto fue expresado por primera vez por el francs P.L.G.Du
Buat(Buat,1779).
EROSION:Desgasteodestruccinproducidosenlasuperficiedeuncuerpoporla
friccin contina o violenta de otro o Desgaste de la superficie terrestre por
agentesexternos,comoelaguaoelviento.
FUERZATRACTIVA:cuandoelaguafluyeenuncanal,sedesarrollaunafuerza
que acta sobre ellechode este enla direccin del flujo. Esta fuerza,la cual es
simplemente el empuje del agua sobre el rea mojada, se conoce como fuerza
tractiva. Tambin conocida como fuerza cortante, fuerza de arrastre o fuerza
tangencial.
FLUJONOPERMANENTE:laspropiedadesdelflujocambianconeltiempo.
FLUJOPERMANENTE:sedicequeelflujoenuncanalabiertoespermanentesi
la profundidad de flujo no cambia o puede suponerse constante durante el
intervalodetiempoenconsideracin.
FLUJOTURBULENTO:enflujosturbulentos,laspartculasdefluidosemuevenen
trayectorias muy irregulares, causando un intercambio de momentum de una
porcin del fluido a la otra. Los flujos turbulentos tienen un gran potencial de
FLUJOTRANSICIN:unflujodetransicinesaquelclasificadonicomolaminarni
turbulentonumerodereynolds(500<=R<=12500)
FLUJOCRTICO:elestadocrticodelflujoasidodefinidocomolacondicinpara
lacualelnumerodeFroudeesigualalaunidadotambinsepodradecirquees
el estado de flujo para el cual la energa especifica es mnima para un caudal
determinado.
FLUJOSUBCRTICO:encanalesabiertos,elflujosedefinecomosubcrticosisu
profundidadesmayorquelaprofundidaddelflujocritico.Enlaprctica,losflujos
subcriticossecontrolanporlascondicionesdeflujoaguasabajo.
FUERZATRACTIVA:Cuandoelaguafluyeenuncanal,sedesarrollaunafuerza
que acta sobre ellechode este enla direccin del flujo. Esta fuerza,la cual es
simplemente el empuje del agua sobre el rea mojada, se conoce como fuerza
tractiva.
tanques de remolque. Fue ayudado por su hijo Robert Edmund Fraude quien,
despusdelamuertedesupadre,continoconalgunosdesustrabajos.En1868,
utilizolaleydesimilituddeReechparaestudiarlaresistenciaenmodelosnavales.
GEOMORFOLOGA:Estudiodelascaractersticaspropiasdelacortezaterrestre.
INFILTRACION:movimientointersticialdeaguaquepuedeocurriratravsdeuna
presa,sucimentacinosusestribos.
LACADAHIDRULICA:lacadaessimilaralarpidaqueesuncanalquetiene
altaspendientes,peroelcambioenelevacinseefectaenunadistanciacorta.
LINEADEENERGIA:eslarepresentacingraficadelaenergatotalquehayen
unflujoentredospuntos.
masico. Esto debido a las fuerzas aplicadas, entonces se dice que sinnimo de
momentun es la fuerza en un liquido, estas fuerzas se miden o calculan en una
regin del espacio definida llamada volumen de control. Tambin se puede
determinarcomolaecuacinquesirveparadeterminarlasprdidasdebidasalas
fuerzasexternasejercidasporelaguasobrelasparedesdelcanal.
NUMERODE REYNOLDS:numeroadimensionalproporcionalalarelacinentre
lasfuerzasinercialesyfuerzasviscosas.
PERDIDASDEENERGA:fenmenoaerodinmicocausadoporunadisrupcin(es
decir, separacin) del flujo alrededor de una ala asociado con la perdida de
elevacin.
PENDIENTE lado de una colina cara inclinada de un canal (por ejemplo canal
trapezoidal)inclinacinconrespectoalahorizontaldelfondodelcanal.
PROFUNDIDADESSECUENTESOCONJUGADAS:enflujoencanalesabiertos,
lasolucindelaecuacindemomentumenunatransicinentreflujosupercrtico
subcrtico da dos profundidades de flujo (profundidades de flujo aguas arriba y
aguasabajo),lascualesseconocencomoprofundidadessecuentes.
RADIO HIDRULICO: el radio hidrulica es la relacin del rea hidrulica y el
permetromojado.
SEDIMENTO:cualquiermaterialmovidoensuspensinporelflujoocomocarga
delechoquepuedeasentarseenelfondoenausenciademovimientodelfluido.
SOCAVACION: remocin de material del lecho causado por el poder erosivo del
flujo.
TIRANTEHIDRAULICO:eltirantehidrulicoeslarelacindelreahidrulicacon
elanchosuperficial.
VISCOSIDAD:propiedaddelosfluidosquecaracterizalaresistenciadelfluidoal
esfuerzocortante:esdecir,resistenciaauncambioenformaoenmovimientode
losalrededores.
VERTEDEROS: presa pequea en un ri utilizada para elevar el nivel de agua
aguas arriba. Vertederos de medicin se construyen a lo largo de las corrientes
conelpropsitodemedirelflujo.
VOLUMENDECONTROL:elvolumendecontrolesunazona,regindelespacio
ovolumenrepresentativodondesetieneencuentalasfuerzas.
TALUD:Inclinacindelparamentodeunmuroodeunterreno.
ZONAPERMEABLE:partedelaseccintransversaldeunterraplnquecontiene
materiadealtapermeabilidad.
INTRODUCCIN
En la gnesis de la ingeniera no se contaba con los recursos tcnicos ni
tecnolgicosconlosquecuentalaingenieraenlaactualidadhubopocasenla
historia de la ingeniera para las cuales el desarrollo de un calculo matemtico
conunnivelconsiderableoelcalculoydiseodealgunaestructurainvolucrabael
gasto de varias horas para su ejecucin, en aquellos das era comn el uso de
tablasynomogramasenloscualesseresumainformacinrelevante.
En este orden de ideas este trabajo busco crear un software que permite el
diseodecanalesyquetienecomovaloragregadolaposibilidaddeserutilizado
como herramienta pedaggica y didctica para el aprendizaje de la hidrulica de
canales, y as mejorar el nivel acadmico del estudiante, optimiza el tiempo del
ingeniero y permite al docente manejar una herramienta para el desarrollo de su
ctedra.
Enelpresentedocumentoescritosedesarrollanlostemasbsicosdelahidrulica
de canales, con un enfoque terico y practico. En el enfoque terico se hace
mencin de los temas que deben ser conocidos por cualquier ingeniero civil, se
tratan estos temas con la seriedad del caso y no se escatiman esfuerzos por
realizarlasdemostracionesqueseandeintersparaellector.
Enelenfoqueprcticosedesarrollaelsoftwareparaeldiseoyelaprendizajede
la hidrulica de canales abiertos, complementado por un escrito donde se hace
nfasis en las principales metodologas de diseo de canales abiertos, con su
respectivadescripcinyanlisisdecadamtodo.
1. ELPROBLEMA
1.1 LNEA
1.2 TTULO
Softwareconherramientashidrulicasparaeldiseodecanales.
1.3 DESCRPCINDELPROBLEMA
Otrofactorpreponderanteeneldiseodecanalesesunrecursoqueenelmbito
profesional es de suma importancia, se hace referencia al tiempo. Como fue
mencionado anteriormente en el diseo de canales hay procesos que son
iterativos,repetidosloscualesconsistenenclculosmatemticosquesebasanen
correlaciones o ecuaciones definidas por la comunidad educativa, gremial, legal,
enlascualessudominiosonvariablesconocidasdeantemanoporeldiseador.
Segnloanteriorelpapeldeldiseadorenalgnmomentodelprocesodediseo
pasaraaunsegundoplanoypreponderaralapartematemticaenproderealizar
clculos siendo este proceso muy tedioso pues genera en el diseador fatiga, y
cansancio esta perdida de tiempo y energa se traduce en un detrimento de
recursos y en un proyecto puede marcar la diferencia a la hora de ser
competitivos.
Actualmente se cuenta con hojas de clculo las cuales son de gran ayuda pero
como su nombre lo indica son simples hojas ya que no cuentan con ninguna
interfazgraficaquemuestrecomoseriaelcomportamientodeldiseoatratar,no
correlacionan resultados en forma eficiente, no puede generar ningn tipo de
sugerenciarespectoaldiseoesdecirayudanenelprocesoiterativoperoaunse
quedaconlalimitantedelacorrelacindedatosyenlavaloracinqueseladaa
losresultadosloscualesparafinesprcticosesmejorvisualizarlos.
1.4 FORMULACINDELPROBLEMA
Cmo optimizar los procesos de clculo, anlisis y diseo en la concepcin de
canalesabiertosatravsdeunsoftwareconherramientashidrulicas?
1.5 JUSTIFICACIN
Alhacerreferenciarespectoaldiseodecanalessedebedemencionareltipode
canal, nombrar si es o no erosionable la seccin transversal, la geometra, el
revestimiento y la pendiente. Conocer variables como el caudal, las velocidades
mximasymnimaspermisibles,elcoeficientederugosidad,lalongituddelcanal.
Estosdatos,ecuacionesytablassonprogramadas,almacenadosycargadasen
basesdedatosloscualessonlaesenciadelsoftwareparaeldiseodecanales,
como herramienta didctica en la ctedra y en el laboratorio de hidrulica de
canales.
Conelplenofuncionamientodelsoftwareparaeldiseodecanales,steserun
producto de alta calidad generado porla Universidad De La Salle y por el grupo
1.6 OBJETIVOS
1.6.1 Objetivogeneral
Disearunsoftwareconherramientashidrulicasparaeldiseodecanales.
1.6.2 ObjetivosEspecficos:
Generargrficosdondesemuestrelosfactoresincidenteseneldiseode
uncanal.
Generarbasesdedatosreferentesalahidrulica.
Demostrarlasecuacionesbsicasdelahidrulicadecanales.
2. MARCOREFERENCIAL
2.1MARCOTEORICO
Loscanalesabiertoshanestadopresentesenlasgrandesculturasycivilizaciones
alolargodelahistoriamismadelahumanidad,elxitoofracasodeunacultura
estaengranmediadadeterminadoporelmanejo,usoyposesindelosrecursos
hdricos.
Las primeras presas fueron construidas enla regin comprendida entre Egipto e
Irakalrededordelao3000a.C.yconellaslosprimerossistemasdedistribucin
de agua por medio de canales abiertos, las culturas que se desarrollaron y
prosperaronenestaregintenanconocimientoseningeniera,puesdesarrollaron
infraestructuraparaeltransportedelaguaparalairrigacindetierrascultivables,
ascomoparaelcontroldenivelesderos,comoelcasodelNilo.
SegnlosrelatosbblicosrecopiladosynarradosenellibrodelGnesis,hubouna
granhambrunaenEgiptoenpocasdeJos,estassedebieronalaroturaytoma
de lapresa(Ha Uar) porpartedel Rey del bajo Egipto, esta presa regulabael
sistemadeirrigacinenelaltoEgipto,lahambrunaterminocuandolapresafue
recuperadaysegnlatradicinjudeocristiana,Josalrededordelao1730a.C.
trabajoenlareconstruccindelcanalylaspresas.
Comosepuedeapreciarelmanejodelahidrulicadecanalesesengranmedida
un ndice de prosperidad para una regin, una cultura todauna civilizacin. Es
por este motivo que es necesario hacer un recuento terico de los conceptos
primordiales de la hidrulica de canales, para luego realizar el objeto de este
proyecto, un software, el cual es una herramienta para el anlisis y diseo de
canalesabiertos.
2.1.1 Flujo en canales abiertos, el flujo a superficie libre o flujo libre se presenta
cuandoloslquidosfluyenporlaaccindelagravedadysoloestnparcialmente
contenidosporuncontornoslido.
El conducto por el cual circula un lquido con flujo libre se llama canal, el que
puedesercerradooabierto.Lascaractersticasgeneralesdelflujolibreoflujoen
canalesson:
Lasuperficielibrecoincideconlalneapiezomtrica.
Esdecirelflujolibreincluyetodosloscasosdeflujoenloscualeslasuperficiedel
liquido esta abierta a la atmsfera y cumple con las caractersticas ya
mencionadasestascaractersticasseaprecianenlafigura1.
Figura1Flujolibre
PIEZOMETRO
LINEADEENERGIA
SUPERFICIEDELAGUA
L.P
CANAL
FONDODELCANAL
DATUMONIVELDEREFERENCIA
2.1.1.1Tiposdeflujo, elflujoasuperficielibresepuedeclasificarenmuchostipos
y clasificarse de distintas formas cada una teniendo en cuenta distintas
valoraciones,enelpresentedocumentoseclasificarateniendocomoparmetros
=0
L
Ecuacin2Derivadaparcialdelaprofundidaddelflujorespectoalalongitud
y
=0
L
Ecuacin3Derivadaparcialdelcaudalrespectoalalongitud
=0
L
Elflujodelquidosencanalesdeseccinconstanteygranlongitudseconsidera
uniforme.
Figura2Flujouniformeenuncanaldelaboratorio
2.1.1.1.2Flujovariado, enelflujovariadosetienecomocriterioparaconsiderarlo
comoflujovariadoeselespacio.
Para que sepresente flujo variadolos parmetros hidrulicos de flujo (velocidad,
profundidad) varan a lo largo del conducto, es decir el flujo es variado si la
profundidaddeflujocambiaalolargodelaconduccinocanal.
Ecuacin4Derivadaparcialdelavelocidadrespectoalalongitud
0
L
Ecuacin5Derivadaparcialdelaprofundidaddelflujorespectoalalongitud
0
L
Unejemplodelflujovariadosepresentaencontrolesenloscanalescomosonlas
compuertas,presasycambiosdependiente.
Figura3Flujovariado
Paraconsiderarunflujoenuncanalcomoflujopermanentesedebecumplirque
los parmetros hidrulicos del flujo (velocidad, profundidad) permanecen
constanteseneltiempoesdecirquelavelocidaddelaspartculasqueocupanun
puntodadoeslamismaencadainstante.
Dichodeotramaneraelflujopermanentesepresentarasilaprofundidaddelflujo
no cambia o puede suponerse constante durante el intervalo de tiempo a
consideracin.
Ecuacin6Derivadaparcialdelavelocidadrespectoaltiempo
=0
t
Ecuacin7Derivadaparcialdelaprofundidaddelflujorespectoaltiempo
=0
t
Ecuacin8Derivadaparcialdelcaudalrespectoaltiempo
=0
t
Figura4Flujopermanente
Ecuacin9Derivadaparcialdelavelocidadrespectoaltiempo.
0
t
Ecuacin10Derivadaparcialdelaprofundidaddelflujorespectoaltiempo.
0
t
Figura5Flujonopermanente
Elflujouniformenopermanentesepresentacuandolosparmetroshidrulicosde
flujo(velocidad,profundidad)permanecenconstantesenelespacioyeltiempo,es
decir la profundidad del flujo no cambia durante el intervalo de tiempo bajo
consideracin.
Figura6Flujouniformepermanente
Eseltipodeflujomasimportanteenlahidrulicadecanalesabiertos,puesesel
tipoflujofundamentalqueseestudiaenhidrulicadecanales.
2.1.1.1.6 Flujo uniforme no permanente, en el flujo uniforme no permanente el
criterio que se toma para considerarlo como flujo uniforme no permanente es el
espacio.
Sedicequesepresentaunflujouniformenopermanentecuandolosparmetros
hidrulicos del flujo (velocidad, profundidad) se mantienen constantes en el
espacio pero no en el tiempo. Para que se presente flujo uniforme y no
permanentesenecesitaquelasuperficiedellquidoestecambiandoofluctuando
detiempoentiempomientraspermaneceparalelaalfondodelcanal.
Estecomportamientoespocoprobableencontrarloenlanaturaleza,estosedebe
aqueestoscambioseneltiempotendranquesucederalolargodelcanalparaa
suvezpermanecerconstanteslaprofundidadylavelocidaddelflujo.
Figura7Flujouniformenopermanente.
2.1.1.1.7Flujovariadopermanente,enelflujovariadopermanente,elcriterioque
setomaparaconsiderarlocomoflujovariadopermanenteeselespacio.
En este tipo de flujo los parmetros hidrulicos del flujo (velocidad, profundidad)
varan en el espacio pero no en el tiempo, es decir se presentara flujo variado
permanentesilaprofundidaddelflujocambiaalolargodelcanal.
Elflujovariadopermanentesepuedeclasificarasuvezcomoflujogradualmente
variadoycomoflujorpidamentevariado.
Figura8Flujovariado.
R.V.F=rapidvariedflow=FRV=flujorpidamentevariado.
G.V.F.=gradualvariedflow=FGV=flujogradualmentevariado.
Figura9Flujovariadonopermanente.
0
L
Figura10Flujoespacialmentevariado.a)Sumiderocondescargacompleta.
b)Sumiderocondescargaparcial.
En el rgimen de flujo turbulento, las fuerzas inerciales son tan grandes que las
fuerzasdeviscosidadnopuedenamortiguarlasperturbacionesylaspartculasdel
fluidosemuevensiguiendotrayectoriasaleatorias.
Ecuacin12NumerodeReynolds
NR=
V* L
u
Segnlaecuacin12setieneque:
NR=NmerodeReynolds
V=Velocidaddelflujo
L=Longitudcaracterstica
=Viscosidadcinemtica
Alreemplazarenalecuacin12alradiohidrulico(R)comolongitudcaracterstica
se obtiene una expresin para el nmero de Reynolds en canales abiertos
(ecuacin13).
Ecuacin13NumerodeReynoldsparacanalesabiertos
NR=
V* RH
u
FlujolaminarNR<500
FlujoturbulentoNR>12500*
Flujotransicin500<NR<12500
*Ellmitesuperiornoestdefinido.
Sisetomacomolongitudcaracterstica(ecuacin12)unvalordecuatrovecesel
radiohidrulico,(L=4RH)laecuacin12tomalasiguienteforma:
Ecuacin 14 Numero de Reynolds para una longitud caracterstica de cuatro veces el radio
hidrulico
NR=
4VR
Enlaecuacin14tienecomolimitesparaclasificarelflujolossiguientesvalores:
FlujolaminarNR<2000
FlujoturbulentoNR>4000
Flujotransicin2000<NR<4000
Elrgimendeflujoencanalesesgeneralmentedetipoturbulento.
2.1.2.2Efectodeladensidaddellquidosobreelflujo,elcambioenladensidadde
loslquidoshacequeelflujoseaclasificadocomohomogneooestratificado.
La falta de un gradiente de densidad en la mayora de los flujos de los canales
abiertosenestadonaturaldemuestrademanerasignificativaquelavelocidaddel
flujoeslosuficientementebuenaparamezclarcompletamenteoensutotalidadel
fluido respecto a su densidad o que los fenmenos que tienden a introducir el
gradientededensidadnosonimportantes,motivoporelcuallosflujosencanales
oflujoslibresseconsiderancomohomogneosenlamayoradeloscasos.
2.1.2.3Efectodelagravedadsobreelflujo,segnsealamagnituddelasfuerzas
degravedadeinercia,unflujoesclasificadocomosubcrtico,crticoysupercrtico
elparmetroadimensionalsobreelcualesejercidaestaclasificacineselnmero
de Froude (NF). Se puede concluir que el efecto dela gravedad sobre el estado
delflujoeselresultadodelarelacinentrelaaccindelasfuerzasinercialesylas
fuerzasgravitacionales.
Ecuacin15NumerodeFroude
NF =
ma
V
A
v
\ NF = c= gyh ,yh = \ NF =
mg
c
B
gyh
Segnlaecuacin15setieneque:
yh=Profundidadhidrulica
c=Velocidaddelaondadegravedad
A=readelaseccintransversal
B=Anchodelasuperficielibredelflujo
2.1.2.3.1 Flujo subcrtico, el flujo subcrtico o flujo lento es aquel en el cual la
velocidad del flujo es menor que la velocidad de la onda de gravedad, el
parmetroadimensionalNF<1.
2.1.2.3.2Flujocritico,elflujocriticosepresentacuandolavelocidaddelflujoes
igualquelavelocidaddelaondadegravedad,elparmetroadimensionalNF=1.
2.1.2.3.3Flujosupercrtico,elflujosupercrticooflujorpidoesaquelenelcualla
velocidaddelflujoesmayorquelavelocidaddelaondadegravedad,elparmetro
adimensionalNF>1.
2.1.3 Clases de canales y sus propiedades, se define a un canal como la
conduccin o conducto en el cual fluye unlquido, con una superficielibre o con
contactoconlaatmsfera.
Lascorrientessubterrneasquetransportanaguaconunasuperficielibretambin
seconsiderancomocanalesabiertosdeorigennatural.
Las caractersticashidrulicas en un canalnatural son por lo generalirregulares,
motivo por el cual para su estudio se suelen hacer sus pociones empricas
razonables y consistentes con las observaciones y experiencias reales, de este
modo las condiciones de flujo en estas conducciones o canales se vuelven
manejablesmedianteunestudioyuntratamientoanalticodelahidrulicaterica.
Imagen1.Canalnatural,roAtrtoalaalturadelmunicipiodeQuibdo
Lasteorashidrulicasseaplicanenlaconcepcinydiseodecanalesartificiales
produciendoresultadosconunaltogradodesimilitudconlarealidad.
Loscanalesartificialesseclasificancomonorevestidosyrevestidos.
Losnorevestidosocanalesartificialeserosionablessonutilizadosprincipalmente
en cultivos paratransporte deagua, estos son excavados en el terreno natural y
seusanprincipalmenteconseccintransversaltrapezoidalsupendientedepende
en gran medida del tipo de terreno en el cual se realice debido a su uso no se
revistenynosetienenencuentalasprdidasporinfiltracinocasionadas.
Imagen2.CanalizacinquebradalaChiguaza,localidaddeTunjuelito,Bogot
Imagen3Canalartificialrevestido,canaldetransporteacueductodeIbagu
2.1.4Laseccintransversalenloscanalesabiertos,laseccintransversaloforma
deuncanalpuedeserirregular,prismticaonoprismtica.Paraqueuncanalsea
considerado como prismtico debe poseer una seccin transversal invariable y
unapendientedefondoconstanteencasocontrarioseruncanalnoprismtico
es decir es aquel en el cual la geometra o la pendiente de fondo cambiara, un
ejemplotpicodecanalnoprismticoesunvertederoconunanchovariableyun
alineamientocurvo.
Figura11Seccintransversaldeuncauseirregular
Figura12Seccintransversaldeuncauceprismticodeformatrapezoidal.
Lasseccionestransversalesmsutilizadasenloscanalesabiertosson:
Rectangulares
Triangulares
Trapezoidales
Circulares
Parablicos.
Laseccintrapezoidaleslaformamscomnencanalesconbancasentierrasin
recubrimiento, esto debido a que poseen las pendientes necesarias para la
estabilidad.
Laseccintriangularyrectangularsoncasospartcularesdeltrapeciolaseccin
rectangulartieneladosverticalesesdecireltaludescero,porlogeneralseutiliza
En los canales que poseen pendientes altas, se usa la profundidad del agua o
tirante del flujo medido de forma perpendicular con el fondo del canal (d). Existe
unarelacinentre(y)y(d)estaes:
Ecuacin16Relacinentrelaprofundidaddelaguayelngulodelapendientedelfondodelcanal.
y=
d
cosq
Figura14Relacinentrelaprofundidad(y)ylaprofundidad(d)
Segnlafigura14setieneque:
=Angulodelapendientedelfondodelcanalconunalneahorizontal.
Siespequeo y @ d .
" = Nivel del agua es la elevacin dela superficie libre del agua respecto a un
2.1.4.1.2 rea mojada, el rea mojada o rea hidrulica (A), de una seccin es
aquella rea correspondiente a una seccintransversal del flujo, la cual se tomo
normalmentealadireccindelflujo.
2.1.4.1.3 Permetro mojado, se define al permetro mojado (P), como la longitud
deunalneaquelimitaelreatransversaldeflujo,menoselanchodelasuperficie
libre.
2.1.4.1.4Radiohidrulico,elradiohidrulico(R),sedefinecomolarelacinentre
elreamojadaconrespectoasupermetromojado.
Ecuacin17Definicindelradiohidrulico
R=
A
P
2.1.4.1.5Anchosuperficial,elanchosuperficial(T),delaseccindelcanalesla
longituddelalneacorrespondientealasuperficielibredeagua.
2.1.4.1.6Profundidadhidrulica,laprofundidadhidrulica(D),deunaseccinde
uncanaleslarelacinentreelreamojadayelanchosuperficial.
Ecuacin18Definicindelaprofundidadhidrulica.
D=
A
T
2.1.4.1.7Taluddelaparedlateraldelcanal,eltaluddelaparedlateraldelcanal
(z),tomalossiguientesvaloressegnelcanal:
Encanalesrectangularesz=0.
Encanalestrapezoidalesotriangularessimtricos,z1=z2=z
2.1.4.1.8Anchodelfondodelcanal,comosunombreloindicaelanchodelfondo
delcanal(b),eslalongituddelalneacorrespondientealanchoinferiordela
seccintransversal.
b=0encanalestriangulares
2.1.4.1.9 Factor de seccin para el clculo del flujo critico, el factor de seccin
paraelclculodelflujocrtico(Z),sedefinecomoelproductodelreamojadayla
razcuadradadelaprofundidadhidrulica.
Ecuacin19Definicindefactordeseccin
Z = A D = A
A
T
2.1.4.1.10Factordeseccinparaelclculodeflujouniforme,elfactordeseccin
2
para el clculo del flujo uniforme (AR 3), se define como el producto del rea
mojadayelradiohidrulicoelevadoalapotencia 2 .
3
Tabla1Relacinesgeomtricasparalasseccionestransversalesencanalesmsusados.
2.1.5Caractersticasdelflujoenlasseccionesmsusadas
2.1.5.1 Flujo en un canal de seccin circular, si se tiene un canal circular de
dimetro do, la descarga mxima ocurre aproximadamente para una profundidad
deflujoigualay=0.938do,ylavelocidadmximaestaubicadaaunaprofundidad
deflujoigualy=0.81do.
2.1.5.2 Flujo en canales rectangulares muy anchos, en un canal rectangular el
radiohidrulicoestadadoporlasiguienteecuacin.
Ecuacin20Radiohidrulicoparauncanaldeseccinrectangular.
R=
by
b+ 2 y
Sielcanalesmuyancho,elfactor(2y)presenteeneldenominadorsehacecasi
despreciableencomparacinconelancho(b),motivoporelcualelradio
hidrulico(R)sepuedeaproximaraalprofundidaddelflujo.
Ecuacin21Aproximacindelradiohidrulicoenuncanaldeseccinrectangular
R @ y@ yh
Esta aproximacin es valida generalmente para canales rectangulares donde el
anchodelcanalesmayora10veceslaprofundidaddelflujo,puesestacondicin
hacequeelcanalseaconsideradocomoancho.
2.1.6 Distribucin de la velocidad en la seccin de un canal, en los canales la
presencia de una superficie libre y el hecho de estar contenido el flujo en un
conductoenelcualsepresentafriccinentreelflujoylasparedesdelcanalestas
condicioneshacenquelavelocidadenuncanalnoseauniformeenelconducto,
presentando zonas de distintas velocidades siendo recurrente que la velocidad
mximamedidaencanalescomunes,generalmenteocurredebajodelasuperficie
libredelaguaaunadistanciaquevariaentrelos0.05a0.25delaprofundidad y .
Figura15.Distribucindevelocidadesenseccionestransversalesdediferenteforma.Tomadode
hidrulicadecanalesabiertos.Chow,V.T2000
Existe una relacin entrela profundidad del canal yla localizacin dela mxima
velocidad de flujo en el canal, dicha relacin muestra que cuando la conduccin
sea ancha, baja y rpida o de paredes lisas, la mxima velocidad se localizara
Elescurrimientoparauncanalprismticoestridimensional,estesemanifiestacon
un movimiento que sigue una trayectoria enespiral, la componente de velocidad
en la seccin transversal del canal es pequea en comparacin con las
componentes de velocidad longitudinales. Se idealiza la distribucin de
2.1.6.1.2Mtodo0.2y0.8y,estemtodoconsisteenmedirlavelocidadauna
profundidadde(0.2y)yde(0.8y)desdelasuperficiedelflujo,lavelocidadmedia
delflujoenlaverticalserelpromedioaritmticodeambasvelocidades.
2.1.6.1.3 Condiciones generales de los mtodos para medir la velocidad, para
desarrollar la metodologa del U.S. Geological Survey, se deben cumplir con
algunascondicionesreferentesalaformadetomaryprocesarlainformacin.
Lasverticalesdeberncumplirconlassiguientescaractersticas:
Elanchodecadaverticalnodebersuperarunrangocomprendidoentre
1/15a1/20delanchototaldelaseccin.
ElcaudalquepasaporcadaelementodereadeinfluenciaAi,nopodr
superarel10%delcaudaltotal.
Ladiferenciaentrelavelocidaddelasverticalesnodebersobrepasarel
20%.
ParaobtenerelcaudaldecadafranjaoelementodereadeinfluenciaAi,sedebe
obtener el promedio de las velocidades medias de dos verticales consecutivas o
adyacentes este promedio de velocidades ser multiplicado por el rea que se
encuentraentrelasdosverticalesesdecirelelementodereadeinfluenciaAi.
El caudal total de la seccin transversal corresponder a la sumatoria de los
caudalesdecadaunadelasfranjas,lavelocidadmediaenlaseccintransversal
del canal corresponder a la relacin entre el caudal total y el rea total de la
seccin.
Figura17Seccintransversaldeuncaucedivididoenfranjas.
Q=1 Qi
Qi = AiVi
N
A= 1 Ai
Entonceslavelocidadmediasercalculadautilizandolaecuacin22.
Ecuacin22Velocidadmediaenuncausedivididoporfranjas
V=
Q
A
Segnelanterioranlisis,setieneque:
V=Velocidadmedia
Q=Caudaltotaldelaseccintransversal
A=reatotal
Qi =Caudaldecadafranja
Ai =readecadafranja
Vi =Velocidadmediadecadafranja
N=Numerodefranjas
2.1.6.2 Coeficientes de distribucin de velocidad, la distribucin no uniforme de
velocidadessobrelaseccindeuncanalafectalaalturavelocidaddelflujo,yel
clculo del momentum es por este motivo que la altura velocidad del flujo y el
momentum de un fluido en un canal sean corregidos mediante unos coeficientes
deenergaydemomentum.
Es por este motivo que la altura de velocidad del flujo es corregida mediante un
coeficiente de energa o coeficiente de Coriolis, este coeficiente para un flujo
librevariaentre1.1y2.0,datosexperimentaleshablandevaloresquesemueven
entre1.03y1.36paracanalesprismticoscasirectos,engeneralelvaloresalto
paracanalespequeosybajoparacorrientesgrandesconprofundidadconstante.
Aguas arriba de vertederos, cerca de obstrucciones o cerca de irregularidades
pronunciadasenelalineamientosehanobservadovaloresde>2.
DA=ElementodiferencialdereaenelreamojadatotalA.(1)
g
=Pesounitariodellquido.(2)
gDAv=Pesodelliquidoquepasaatravsde DAporunidaddetiempocon
unavelocidadv,resultademultiplicar(1)y(2).(3)
v2/2g=Laalturadevelocidaddelflujo.(4)
gDAv3/2g=Energacinticadelliquidoquepasaatravsde DAporunidadde
tiempo,resultademultiplicar(3)y(4).(5)
SgDAv3/2g=Energacinticatotalparaelreamojadacompleta,resultadehacer
lasumatoriaacadaelectodiferencialdeenergaencadaelemento
fundamentalderea.(6)
A=reacompleta.(7)
V=Velocidadmedia.(8)
aV2/2g=Laalturadevelocidaddelflujocorregidaparaelreacompleta.(9)
agDAV3/2g=EnergacinticatotaldelliquidoquepasaatravsdeAporunidad
detiempo.(10)
Ecuacin23Coeficientedeenerga
3
v dA v DA
a=
V2A
V3A
2.1.6.2.2CoeficientedeMomentum,elcoeficientedemomentumocoeficientede
Boussinesq,esuncoeficientequecorrigeelclculodelmomentumocantidadde
movimiento esta magnitud se calcula con la expresin
bgQV
donde b es el
g
coeficientedemomentum, g eselpesounitariodellquido,QeselcaudalyVesla
velocidadmediadelflujoenlaseccintransversal.
Este coeficiente toma valores que van desde 1.01 hasta 1.12 en canales
prismticosaproximadamenterectos,enflujolibreelcoeficientevariaentre1.03y
1.33.
DA=ElementodiferencialdereaenelreamojadatotalA.(a)
v=Velocidadmediadelflujo(b)
gDAv/g=Masadelliquidoquepasaatravsde DAporunidaddetiempocon
unavelocidadv.(c)
gDAv2/g=Momentumdelliquidoquepasaatravsde DAporunidaddetiempo,
eselproductodelamasaylavelocidad.(d)
SgDAv2/g=ElMomentumtotaldelliquido.(e)
bgAV2/g=MomentumcorregidoparaelreatotalA.(f)
Al igualar las expresiones (e) y (f), y reducir se obtiene una expresin para el
coeficientedemomentum.
Ecuacin24Coeficientedemomentum.
2
v dA v DA
b=
V2A
V2A
del flujo es tan rpido y abrupto que las lneas de corriente poseen curvaturas y
divergencias.
Elflujoseclasificasegnelcomportamientodelaslneasdecorrientedeflujoeste
puedeserflujoparaleloyflujocurvilneo.
2.1.7.1 Flujo paralelo, la aplicacin de la ley hidrosttica en un canal abierto es
valida siempre que los filamentos del flujo no tengan componentes se la
aceleracinenelplanodelaseccintransversal.Estetipodeflujosedenomina
flujo paralelo, ya que este las lneas de corriente de flujo no presentan una
curvaturarepresentativanidivergente.
2.1.7.2Flujocurvilneo,elflujocurvilneosepresentasiemprequelacurvaturade
laslneasdecorrientedeflujoseapronunciada,lacurvaturaejerceunefectoque
produce componentes representativas de aceleracin o de fuerza centrifuga que
sonnormalesaladireccindelflujoenesecasoladistribucindepresionesno
seriahidrostticaniprismtica.Elflujocurvilneoseclasificaenflujoconvexoyen
flujocncavo.
2.1.7.2.1 Flujo convexo, el flujo convexo se presenta en un canal cuando las
fuerzascentrifugasactanensentidoopuestoalalneadeaccindelagravedad,
motivoporelcuallapresinresultantetiendeasermenorqueenelflujoparalelo.
Paralafigura18,setieneque:
h=Alturapiezomtrica
hs =Alturahidrosttica
c=Correccindealturadepresindebidoalacurvatura
AB=Distribucinrectadepresinenflujoparalelo
AB=Distribucinnolinealdepresinenflujocurvilneo
2.1.7.3Efectodelapendientedelcanalsobreladistribucindepresiones,enun
canal inclinado recto de ancho unitario y ngulo de pendiente , tal como se
observaenlafigura19,elpesodeunelementodeaguadelongitud dL esiguala
h=y cos 2q
Ecuacin26Alturapiezomtricaenfuncindelasprofundidadmedidaperpendicularmente
h= d cosq
Paralasecuaciones25y26,setieneque:
h=alturapiezomtrica
y=profundidadmedidaverticalmente
d=profundidadmedidaperpendicularmentedesdelasuperficiedelagua
Sisepresentauncanaldondelapendientedelfondoseapequea,menorqueel
10%, el factor de correccin de presin por efecto de la pendiente, se puede
despreciar. Entonces en canales de baja pendiente la presin hidrosttica se
puedemedirconlaverticaldelaguaolaprofundidadnormalalfondodelcanal.
Enlagranmayoradeloscasosdeflujolibre,lapendienteesmenorqueel10%,y
la correccin de presin por efecto de la pendiente se puede suprimir es decir
h @ y@ d.
2.1.8Energaymomentum,delosconceptosbsicosdehidrulica,sesabequela
energa total del liquido esta expresada en metrosnewton por newton para
cualquier lnea de corriente que pasa por una seccin de canal, esta se puede
escribircomolaalturatotalenmetrosdeliquidoyqueesigualalasumatoriadela
elevacin por encima del nivel de referencia, la altura de presin y la altura de
velocidad.
Se tiene un canal como el de la figura 20, con respecto al nivel de referencia,la
alturatotalHdelaseccinqueseestaanalizandopuedeescribirsecomo:
Ecuacin27Energatotalparaenuncanalabiertoconflujogradualmentevariado
H = z+ d cosq +
V2
2g
Enlaecuacin27,yenlafigura20setieneque:
z = Eslaelevacindelpuntodondeseestaanalizando.
d = Es la profundidad del punto donde se esta analizando por debajo de la
superficiedelaguamedidaalolargodelaseccindelcanal.
q=
Eselngulodelapendientedelfondodelcanal.
V2
= Eslaalturadevelocidaddelflujo.
2g
En un canal la distribucin de velocidades es no uniforme razn por la cual la
velocidad en cada lnea de corriente del flujo ser diferente, en un flujo paralelo
idealconunadistribucinuniformedevelocidadlaalturadevelocidadserigual
entodoslospuntosdelaseccintransversal.
orden deideas la energa total parala seccin del canal que se esta analizando
ser:
Ecuacin28Energatotalenuncanal
H = z+ d cosq + a
V2
2g
H = z+ d+ a
V2
2g
Figura20Energatotalparacanalesabiertos
Enlafigura21semuestrauncanalprismticoconunapendientealta,lalneaque
representala elevacin de la altura total deflujo es lalnea de energa dondela
pendientedeestalneasedenominagradientedeenerga,simbolizadapor Sf .
Lapendientedelasuperficiedelliquidoqueparaelaguaserepresentapor Sw yla
pendiente del fondo del canal se representa por So = senq , por lo general la
pendientesedefinecomo tanq,peroporelrangodevaloresquesemanejanlos
cualessonpequeossedefinecomo Senq .
Paraelflujouniformesecumpleque Sf = Sw = So = senq .
Figura21Energadeunflujogradualmentevariadoencanalesabiertos
Teniendoencuentaelprincipiodeconservacindelaenerga,laalturadeenerga
total ubicada en la seccin 1 aguas arriba debe ser igual a la de energa total
ubicadaenlaseccin2aguasabajo,mslasprdidasdeenerga hf entrelasdos
secciones.
Ecuacin30Energatotalentredospuntosenuncanal
V12
V22
z1 +d1 cosq + a1 = z2 + d2 cosq + a 2
+ hf
2g
2g
La ecuacin 30 se aplica para flujos paralelos o gradualmente variados, en un
canalcuyapendienteseapequealaecuacin30tomalasiguienteforma:
Ecuacin31Energatotalentredospuntosenuncanaldependientepequea
z1 +y1 + a1
V12
V 2
= z2 + y2 + a 2 2 + hf
2g
2g
hf =0 y a1 = a 2 = 0laecuacin31seconvierteen:
Ecuacin32EcuacindeenergadeBernoulli
z1 + y1 +
V12
V 2
= z2 + y2 + 2 = const.
2g
2g
2.1.8.1Energaespecifica,sedefineenergaespecficacomoaquellaenerga,en
la cual ha sido tomado como nivel de referencia el fondo del canal, es decir es
aquella energa por unidad de peso del lquido en movimiento con relacin al
fondodelcanal.
Ecuacin33Energaespecificaenuncanalabierto,enfuncindelaalturapiezomtrica.
E= h+ a
V2
2g
Ecuacin34Energaespecificaenuncanalabierto,enfuncindelaprofundidad
perpendicularalfondodelcanaldesdelasuperficiedelliquido
E= dcosq + a
V2
2g
Ecuacin35Energaespecificaenuncanalabierto,enfuncindelaprofundidad
verticaldelliquidoalfondodelcanal.
E= y cos2 q + a
V2
2g
Sisetieneuncanaldependientebajalaecuacin35tomalasiguienteforma:
Ecuacin 36 Energa especifica para un canal de baja pendiente, en funcin de la profundidad
verticaldelliquido
E= y+ a
V2
2g
Segnlasecuacionesanteriores,setieneque:
E = Energaespecifica
h= Alturapiezomtrica
d = Profundidadmedidaperpendicularmentealfondodelcanaldesdelasuperficie
delagua
y= Profundidaddelminadeaguadellquidomedidaverticalmente
q = Pendientedelfondodelcanal
a = CoeficientedevelocidadoCoriollis
V = Velocidadmediadelflujo
g = Aceleracindebidaalagravedad
Paraunflujolibre a puedevariarentre1.1y2.0,enlamayoradelosclculosse
toma a como1.0loquenointroduceerroressignificativosenlosresultados,pues
la cabeza de velocidad representa generalmente un pequeo porcentaje de la
energatotal.
Figura22Componentesdelaenergaespecifica
Laenergatotalentredosseccionesconsecutivasenuncanaltiendeadisminuir
estoesdebidoalasprdidasquesepresentan,perolaenergaespecficapuede
aumentarodisminuirdependiendodevariosfactorescomolaresistenciaalflujo,
laseccintransversal,etc.
Ecuacin37Ecuacindecontinuidad
Q = V A
Ecuacin38Velocidadenfuncindelcaudal
V=
Q
A
Ecuacin39Ecuacingeneraldeenergaespecifica
E = y+
Q2
2 A2 g
Paracanalesdeseccinrectangular,comoelquesemuestraenlafigura23,se
puedeutilizaruncaudalunitarioocaudalporunidaddeancho q =
Q
,laecuacin
b
39setransformayquedaraas:
Ecuacin40Energaespecificaenuncanalenfuncindeuncaudalunitario
E = y+
q2
2 g y2
Figura23Canaldeseccinrectangular
T
y
Siemprequeelcaudalseaconstanteyelcanaltengacomoseccintransversalla
rectngula, su energa especifica ser funcin nicamente de la profundidad del
flujoo y .
Laecuacin40esunaecuacincbicayposeetresracesovaloresposiblesde
y para un caudal constante, los tres valores posibles solo hay dos que tienen
sentido y validez desde el punto de vista hidrulico. De esta ecuacin se puede
observarelsiguientecomportamiento:
Si, y0,E
Si, y,E
Lapartesuperiordelacurvarepresentaelflujosubcrticoporqueelnmero
deFroudeesmenorquelaunidad,NF <1 ylaprofundidadnormalesmayor
quelaprofundidadcrtica yN > yC .
Laparteinferiordelacurvacorrespondealestadosupercrticodelflujo,es
decir que el nmero de Froude es mayor que la unidad,NF >1 y la
profundidadnormalesmenorquelaprofundidadcritica yN < yC .
Engenerallarectaposeedosramales,unoasintticoalejedelasabscisas
yotro,asintticoaunalneaqueformaunngulode45conrelacinala
horizontal.
Figura24Curvadeenergaespecfica
Se puede concluir, que para una energa especfica dada, es posible tener dos
profundidades,unaconelflujosubcrticoyotraconelflujosupercrticoestasdos
profundidadesseconocenconelnombredeprofundidadessecuentesoalternas.
2.1.8.2.1Flujosubcrtico,elflujosubcrticooflujolentoesaquelquesepresenta
cuandolavelocidaddelflujoes menorquelavelocidaddelaondadegravedad,
esdecirelnmerodeFroudeesmenorquelaunidad NF <1 .
Secumpleconlassiguientescondiciones:
y > yC
V < VC
NF < 1
SO < SC
ComoelnmerodeFroudeesmenorqueunosecumpleque:
NF =
V
< 1
g y
V < c
c= g y
Figura25Flujosubcrtico
2.1.8.2.2Flujocritico,elflujocriticoesaquelquesepresentacuandolavelocidad
delflujoesigualquelavelocidaddelaondadegravedad,esdecirelnmerode
Froudeesigualquelaunidad NF =1 .
Secumpleconlassiguientescondiciones:
y = yC
V = VC
NF = 1
SO = SC
ComoelnmerodeFroudeesigualqueunosecumpleque:
NF =
V
= 1
g y
V = c
c= g y
Figura26Flujocrtico
Secumpleconlassiguientescondiciones:
y < yC
V > VC
NF > 1
SO > SC
ComoelnmerodeFroudeesmayorqueunosecumpleque:
NF =
V
>1
g y
V > c
c= g y
Figura27Flujosupercrtico
Paralasanterioresfigurasyecuacionesquecaracterizanelflujosegnlarelacin
conlaprofundidadcritica,setieneque:
NF = NumerodeFroude
y= yN = Profundidadnormaldelflujouniforme
yC =
Profundidadcrtica
V =
Velocidadmediadelflujo
Vo =
Velocidadcrtica
c=
Velocidaddelaondadegravedad
SO = Pendientedelfondodelcanal
SC = Pendientecrtica
2.1.8.3 Determinacin del flujo critico, para que se presente un estado de flujo
crtico,sehadecumplirlacondicinenlacualennmerodeFroudeseaiguala
uno,bajoesteestadodeflujosetienequelaenergaespecificaesmnimaparaun
caudal determinado adems de esto se presenta que la corriente es inestable y
estasujetaafluctuacionesenlaprofundidaddelliquido.
Esporestemotivoquenosedebedisearcanalesconflujocriticosinoconflujo
subcrticoosupercrtico,estoenfuncindelapendientequesetengaenelcanal,
en el diseo se deben buscar profundidades en un rango de 1.1yc < y< 0.9yc con
y yC .
En la curva de energa especfica se observa que la profundidad crtica se
presentacuandolaenergaespecficaesmnima,esdecirquelaecuacingeneral
deflujocrticoseobtienealderivarlaecuacindeenergaespecficaconrespecto
alaprofundidaddelflujoeigualarlaacero.
Ecuacin41Ecuacindiferenciadelflujocritico
dE
=0
dy
Ecuacin42Energaespecifica
E = y+
Q2
2 g A2
E = y+
Q2 A-2
2 g
dE
Q2
dA
=1+
(-2A3)
= 0
dy
2 g
dy
1-
Q2 dA
= 0
g A3 dy
Sisetieneunelementodiferencialdereamojadacercadelasuperficielibrede
agua,comodeveenlafigura27,setieneque dA = Tdy.
Figura28Elementodiferencialenlaseccindeuncanal
Entonceslaecuacindeflujocrticoser:
Ecuacin43Ecuacingeneraldelflujocrtico
Q2
T = 1
gA3
Con la ecuacin 43, dejando el caudal en trminos de la velocidad se puede
determinar el estado del flujo, esto es determinado como se muestra a
continuacin:
Q2
Q
T = 1 V =
3
gA
A
V 2
A
T = 1 T =
gA
D
V2
= 1
g D
V2
= 1
g D
V
=1
g D
Donde se concluye que, el estado critico de flujo esta descrito por la siguiente
ecuacin:
Ecuacin44Estadocrticodeflujo
V
=1
g D
Si en la ecuacin 43 separamos las variables geomtricas de la que no son
geomtricas,sellegaalacondicingeneraldelflujocrtico.
Ecuacin45Condicingeneraldelflujocrtico
Q2 A3
=
2.1.8.3.1 Propiedades generales del flujo crtico, el flujo crtico presenta las
siguientespropiedadesocaractersticaslascualespermitencomprenderelestado
delflujocrtico,estaspropiedadesson:
Parauncaudalconstantelaenergaespecficaserlamnima.
crtica,
VC
1
A
= yH donde yH = ,eslaprofundidadcrtica.
2g 2
B
Lavelocidadcrticaesiguala g yH .
ElnmerodeFroude,elcualeslarelacinentrelavelocidaddelflujoyla
velocidadcrtica VC ,esigualalaunidad NF =
V
= 1.
g yH
Sisetienequelaenergaespecficaesconstante,enlacondicindeflujo
criticosucaudalsermximo.Estosedemuestraderivandoelcaudalcon
respectoa y eigualandoacero,talcomosemuestraacontinuacin
E = y+
Q2
2 g A2
Q 2 = 2 g A3(E- y)
Lacondicindecaudalmximosedaracuando
dQ
=0 ,entoncesigualandoacero
dy
yderivandoelcaudalrespectoalaprofundidad.
dQ
dA
= 4 g A (E- y)- 2 g A2 = 0
dy
dy
2Q
4g A
dA
(E- y)- 2 g A2 = 0
dy
A =Tdy
2T
(E-y)= A
E = y +
1 A
2 T
E = y+
1
yH
2
VC2 1
Porlocualsecumplelacondicindeflujocritico
= yH
2g 2
Las ecuaciones anteriores muestran que el caudal para una energa especfica
constante es funcin de la profundidad y que el caudal es mximo para la
profundidaddeflujocritica,esteestadodeflujoesdegranutilidadeneldiseode
secciones con descarga mxima como son los vertederos, salidas de depsitos
entreotros.
2.1.8.3.2Flujocrticoenunaseccinrectangular,enuncanalrectangularsetiene
queelfondodelcanalesigualqueelanchosuperficial,esdecir b = T .Estecanal
sepuedeverenlasiguientefigura23.
Setieneademsuncaudalunitarioelcualsedefinecomoelcaudalporunidadde
L3
ancho con unidades de T , no se deben eliminar las unidades por que es un
L
caudalunitariosediceentoncesqueelcaudalunitarioes q =
Q
.
b
Ecuacin46Caudaltotalenuncanalrectangular,enfuncindelcaudalunitario.
Q = q b
Laecuacin45nosmostrabalacondicingeneraldelflujocritico,entoncespara
uncanalrectangulardeanchoinfinitoseutilizaraelcaudalunitario,ascomose
muestra:
Q2 A3
=
g T
q2 b2 b3yC3
=
g
b
q 2
= yC3
g
yC = 3
q2
g
Ademsenuncanalrectangularlaenergamnimaesiguala
3
delaprofundidad
2
critica yC ,estosedemuestraacontinuacin:
Q2
E = y+
2 g A2
Emin = yC +
q2 b2
2 g b2 yC2
yC3
Emin = yc +
2 yC2
E min = yC +
yC
2
Ecuacin48Energamnimaenuncanalrectangular,enfuncindelaprofundidad
critica.
Emin =
3
yC
2
2.1.8.4Fenmenoslocales,unfenmenolocalesaquelfenmenohidrulicoque
sepresentacuandolaprofundidaddelflujo,variaocambiadeunvaloraltoabajo,
o viceversa, se presenta un fenmeno hidrulico en un sitio especifico de hay el
nombredefenmenolocal.
Figura29Cadahidrulicaconsurespectivacurvadeenergaespecfica
2.1.8.4.2Saltohidrulico,sepresentaelsaltohidrulicocuando,laprofundidadde
flujo cambia o varia de un valor bajo a un valor alto, entonces se presenta una
turbulenciaoremolinodenominadosaltooresaltohidrulico.
Enelsaltooresaltohidrulicosepresentaunaprdidadeenerga,sedicequela
energa es igual pero hay un cambio en la cabeza de velocidad y en la
profundidad.
Ecuacin49Relacindeenergaespecifica,paradeterminarlasalturasalternas
E 0 = E1
E = y+
Q2
2 g A2
E1 = y+
q2 b2
2
2 g b2 y1
E1 = y+
q2
2
2 g y1
E1 -
q2
= y
2
2 g y1
Ecuacin50Ecuacinparaelclculodelasprofundidadesalternas
q2
yai =
2 g (E- yai+1)
La ecuacin 50 es una ecuacin iterativa, se debe nivelar la ecuacin y as se
obtienenlosvaloresdelasprofundidadesalternas.
2.1.8.5Momentum,sedefinealmomentumcomolafuerzaqueejerceunfluidoy
quegenerauncambiomasicoesdecirenlamasa,dacomoresultadouncambio
masico esto debido a las fuerzas aplicadas entonces se dice que sinnimo de
momentun es la fuerza en un liquido, estas fuerzas se miden o calculan en una
regin del espacio definida llamada volumen de control. Para el clculo del
momentumocantidaddemovimientoseutilizalaexpresin
bgQV
donde b esel
g
coeficientedemomentum, g eselpesounitariodellquido,QeselcaudalyVesla
velocidadmediadelflujoenlaseccintransversal.
2.1.8.5.1 Volumen de control, el volumen de control es una zona, regin del
espacioovolumenrepresentativodondesetieneencuentalasfuerzas.
Laecuacindemomentunquedaradefinidaenunvolumendecontrol,laecuacin
tomalasiguienteformasegnlafigura32:
Ecuacin51Ecuacindeaplicacindelprincipiodemomentum
F1 + FW - FF - F2 = rQV1 - rQV2
Dondesetieneque:
FW = W Senq
Figura32Aplicacindelprincipiodemomentum
Sisetieneuncanalconlapendientedelfondodelcanalbajayconlasuperficie
casilisa,entonceslaecuacin51quedaradelasiguienteforma:
Ecuacin52Ecuacindeaplicacindelprincipiodemomentumparacanaleslisos
ydebajapendiente.
F1 - F2 = rQV1 - rQV2
F1 - F2 = rQV1 - rQV2
Ecuacin53Definicindelafuerzahidrosttica.
F = g h A
Q = A V V =
Q
A
Q
Q
= g h A2 + r Q
A1
A2
Ecuacin54Fuerzaespecificaporunidaddeancho.
fe1 = fe2
Ecuacin55Ecuacindefuerzaespecifica.
F = g h A1 + r Q
Q
A1
2.1.8.5.3Fuerzaespecificaenuncanaldeseccinrectangular,paraelcanalque
semuestraenlasiguientefiguraelanlisisdefuerzaespecficaeselsiguiente:
Figura33Canaldeseccinrectangular.
Reemplazandoenlaecuacin54,dejandoelreayelcentroideentrminosdela
profundidadydelanchodelfondodelcanalsetiene:
Ecuacin56Ecuacindefuerzaespecifica
F = g h A1 + r Q
Q
A1
A =b y Q= q b y=
g = r *g\ r =
y
2
g
g
y
g q2 b2
F =g b y+
2
g b y
F1 =
g b y1 g q2 b
+
2
y1
F2 =
g b y2 g q2 b
+
2
y2
g b y1 g q2 b g b y2 g q2 b
+
=
+
2
y1
2
y2
2
y1 q2 y2 q2
+ =
+
2 y1
2 y2
fe1 = fe2
F1 - F2 = r QV2 - r QV1
F1 = g h A1
F2 = g h A2
g h A1 - g h A2 =
g
g
Q V2 - Q V1
g
g
Ecuacin57Ecuacindefuerzaespecificaparalassecciones(1)y(2),figuras32
y33.
h A1 +
Q2
Q2
= h A2 +
g A1
g A2
Q2
Fe =h A+
g A
Utilizando el concepto de fuerza por unidad de ancho, lo cual es la fuerza
especifica que hay por unidad de seccin, esto se hace con el cociente de la
fuerzaespecficayelanchodelfondodelcanal.
Fe =h A+
Q2
g A
y
q2 b2
Fe = b y+
2
g b y
y2 q2
Fe =b ( +
)
2 g y
Fe
y2 q2
= ( +
)
b
2 g y
Ecuacin59Fuerzaespecificaporunidaddeancho
y2
q2
fe = +
2 g y
2.1.8.5.4 Curva de fuerza especifica, la curva de fuerza especfica es la
representacingraficadelavariacindelafuerzaespecficaalolargodelcanal.
Para un valor dado de fuerza especfica, la profundidad crtica da el mximo
caudalo,viceversaparauncaudaldado,laenergaespecficaesmnimaparala
profundidad crtica. Segn lo anterior la condicin de caudal mximo sedara
cuando
dfe
=0 , entonces con la ecuacin de fuerza especfica por unidad de
dy
ancho,parauncanaldeanchoinfinito,laecuacindefuerzaespecficaseiguala
aceroysederivarespectoalaprofundidad.
fe =
y2
2
q2
g y
dfe 2yC q2
1
=
+ (- 2 )= 0
dy
2
g
yC
yC -
q2
= 0
g yC2
yC =
q2
g yC2
q2
y C =
g
3
y
q2
f emin = C +
2 g yC
2
femin =
femin =
yC
2
yC3
yC
yC2 2
+ yC
2
Ecuacin61Fuerzaespecificamnimaparaelflujoenuncanalabierto.
3
femin = yC
2
Figura34Curvadefuerzaespecficaparaflujoencanalesabiertos.
2.1.8.5.5Profundidadessecuentes,lasprofundidadessecuentesoconjugadasse
presentan si estas tienen el mismo valor de fuerza especifica, para que esto
sucedaenelflujonodebeinterponerseningunaotrafuerzamasqueladelaguao
hidrostticaoespecifica.
Paradeterminarestasprofundidades,sedebedetenerencuentaqueestastienen
la misma energa especifica entonces la ecuacin a utilizar es la de la energa
especifica entre dos secciones o puntos a travs de un canal, se igualan sus
fuerzas especificas adems se debe tener expresado el nmero de Froude en
funcindelcaudalunitario.Elprocedimientoeselsiguiente:
NmerodeFroudeenfuncindelcaudalunitario:
NF =
V
g D
(NF )2 =
NF =
q2
y2 g
A
T
Q
A g D
( NF )2 =
NF =
b y g
q2
y2 g
q b
b y
b
A
T
Ecuacin62NumerodeFroudeenfuncindelcaudalunitario
(NF )2 =
q2
y3 g
F1 =F2
y12 q2
y22 q2
+
=
+
2 gy1
2
y2
2
y1 y2
q2
q2
-
=
2
2 g y2 g y1
2
y1
y2
y2
y1
q2 y1 - y2
(
)
g y1 y2
q2 y1 - y2
(
)
g y1 y2
2 q2
g y1
y1 y2 + y22 -
2 q2
= 0
g y1
2 q2
y 2 + y1 y2 = 0
g y1
2
- y1
y2 =
- 2 q2
g y1
y12 - 41
2 1
2 y2 = - y1 + y12 +
8 q2
g y1
2y2 = - y1 + y12 +
8 q2 2
y1
g y31
Hacermezclasqumicasenplantasdetratamiento.
Aireacindelagua.
Destruirlamayoradelaenergacinticadelflujo.
Manejodenivelesdeaguaencanalesabiertosparapropsitosdedistribucin
deagua,canalizacinendistritoderiego,presasycentraleshidroelctricas.
Laprdidadeenergaenunresaltosedeterminamediantelasiguienteexpresin:
Ecuacin64Prdidasdeenergaenunresaltohidrulico.
(y - y )3
DE = 2 1
4 y1 y2
Esta expresin se deduce al aplicar la ecuacin de energa especfica entre dos
puntosyteniendoencuentalasprdidasdeenerga,DE segnlasiguientefigura,
setieneuncanalysepresentaunresaltotalcomoseilustraentonceslarelacin
deenergaeslasiguiente:
Figura36a)Prdidadeenergaenunresalto.b)Longituddelresaltohidrulico.
a)Prdidadeenergaenunresalto.
b)Longituddelresaltohidrulico.
E1 =E2 + DE
Q2
Q2
y1 +
= y2 +
+ DE1-2
2
2
2 g A1
2 g A2
q2b2
q2b2
y1 +
= y2 +
+ DE1- 2
2
2
2 g b2 y1
2 g b2 y2
q2
q2
y1 +
= y2 +
+ DE1-2
2
2
2 g y1
2 g y2
y1 - y2 +
q2
q2
= DE1- 2
2
2
2 g y1 2 g y2
y1 -y2 +
q2 1 1
= DE1-2
2 g y12 y22
DE1-2 = y1 - y2 +
q2 y22 - y12
2 g y12 y22
q2 y22 - y12
DE1-2 = y1 - y2 +
2 g y12 y22
q 2
y (y + y1)
= 2 2
Perosetieneque
2 g
4
DE =
(y2 - y1)3
4 y1 y2
DE = E1 - E2
Laeficienciadelsaltohidrulico,serelcocientedelasenergasencagapunto.
h=
E2
E1
Estalongitudsesuelesimbolizarpor Lj ,estalongitudsepuedeobservarconsus
componentesenlafigura36b,enlacualsetieneque Lr eslalongituddelaola,
V1 eslavelocidadmediaparalaprofundidad y1 y Q eselcaudal.
Para la determinacin de la longitud del resalto hidrulico, se utilizan los
resultados de las investigaciones que se han realizado, estas investigaciones
determinan quela relacin LJ Y es una funcinque depende delas condiciones
1
del flujo aguas arriba en especial del numero Froude supercrtico, este aporte
tericofuedesarrolladoporSilvestre,Renelaode1964.Suestudioseresume
enlasiguienteecuacin:
Ecuacin65Relacin Lj y1 paracanalesprismticosdecualquierforma.
Lj
G
=s ( NF1 - 1)
y1
La cual describe la longitud de un resalto hidrulico en un canal prismtico de
cualquierforma,enestaecuacin s y G ,sonfactoresdeforma.Lasiguientetabla
resumelosvaloresdelosfactoresdeformaparalaecuacindeSilvestre.
Tabla2Factoresdeformaparalaecuacin65
s
Seccin
Rectangular
9.75
1.01
Triangular
4.26
0.695
Parablico
11.7
0.832
Lr
Y1 esunafuncinquedependedelascondicionesdelflujo
aguas arriba en especial del numero Froude supercrtico, para un canal ancho
estaecuacines:
Ecuacin66Relacin Lr y1 paracanalesanchos
Lr
NF
=160 Tanh
- 12
y1
20
Existen otras correlaciones para determinar la longitud del salto hidrulico como
son Lj = 6.9 ( y2 - y1) o Lj = 2.5 (1.9 y2 - y1), y para determinar la altura del salto
sesueleutilizarlasiguienteecuacin ys = y2 - y1.
2.1.8.6.2 Potencia disipada, La potencia hidrulica esta definida por la siguiente
expresin P = g Q HB,donde:
P =Potencia (wattio )
N
g = Pesoespecfico ( 3 )
m
m3
Q=Caudal ( )
s
m N
HB =Alturadelacabezadelquidoquesehadisipado (
)
N
Paraunresaltolapotenciaestaenfuncindelasalturassecuentesesdecir,dela
prdida de energa que es la magnitud que cae la lnea de energa del flujo, la
ecuacineslasiguiente:
Ecuacin67Potenciadisipadaenunresalto
P =g Q DE1-2
2.1.8.7Fuerzasobrelaestructuraenelresalto,paradeterminarlafuerzaquese
debe ejercer sobre una estructura, donde se presente un resalto hidrulico se
utilizaraelprincipiodelmomentumsobreunvolumendecontroltalcomoloilustra
lasiguientefigura.
Figura37Fuerzasobrelaestructuraenunresaltohidrulico.
FW =W Senq Senq = 0 \ FW = 0
Canaldesuperficielibre:
FF =0
La ecuacin 66 toma la siguiente forma, con las anteriores restricciones por
pendientedefondodecanalyporsuperficie.
Ecuacin 69 Ecuacin de aplicacin de momentum para determinar la fuerza
sobreunaestructuraenuncanaldebajapendienteyliso.
- F + F0 - F1 = rQV1 - rQV0
Segn las figuras 33 y 37, y la ecuacin 67 se hace el anlisis de fuerzas en el
volumendecontrol,conelfindedeterminarlafuerzasobrelaestructura.
-F + F0 - F1 = rQV1 - rQV0
Q
Q
- rQ
A1
A0
-F + g h0 A0 - g h1 A1 = rQ
y0
y1
g Q2 g Q2
- F + g A0 - g A1 =
2
2
g b y1 g b y0
y20
y21
g q2 b2 g q2 b2
b- g
b=
2
2
g b y1 g b y0
- F + g
-F + g
F =g
y2 0
2
b- g
y21
2
b-
g q2 b2 g q2 b2
+
= 0
g b y1 g b y0
y20
y21
g q2 b2 g q2 b2
b- g
b+
2
2
g b y1 g b y0
y20 y21
q2
q2
+
2 g b y1 g b y0
2
F =g b
y20
q2
y21
q2
+
- ( +
)
2 g b y1
2 g b y0
F =g b
Ecuacin70Ecuacingeneralparadeterminarlafuerzasobreunaestructura.
F = g b(fe0 - fe )
1
2.1.9 Flujo uniforme, se define como flujo uniforme o flujo normal en canales al
movimiento que se presenta en el flujo cuando las fuerzas de friccin generadas
porlainteraccindellquidoylasuperficieslidaseequilibranporlaaccindela
componentedelpesodelaguaenladireccindelflujo,manteniendolavelocidad
constante.
Esdecirelflujoenuncanalesuniformesilascaractersticashidrulicasdelflujo,
como la profundidad, velocidad yla distribucin de velocidades, no cambian alo
largodelcanalendireccindelflujo.
Elflujolibreyuniformeoflujonormalposeelassiguientescaractersticas:
Laprofundidaddelalminadeaguaserconstantealolargodelcanal.
Las lneas que corresponden al fondo del canal, la superficie libre del
liquido y la altura total es decir la energa son paralelas esto quiere decir
quetienenunamismapendienteoinclinacin.
Elgradientehidrulicoesigualalgradientedeenergayasuvezigualala
pendientedelalneadealturatotal.
G.P=Sf = S0 = Sw
,donde:
G.P=Gradientepiezomtrico
Sf =
Pendientedelalneadeenerga
S0 = Pendientedelfondodelcanal
Sw =Pendientedelasuperficiedellquido,elsubndicewndicaagua
Las prdidas de carga por friccin para un tramo dado son iguales al
cambioovariacinoprdidaellacotadelfondodelcanal,esdecir hf = Dz.
2.1.9.1Tiposdeflujouniforme,elflujouniformeseclasificateniendoencuentalos
criterios,delefectoqueejercensobreelflujodegravedadylaviscosidad.
Teniendoencuentaelefectodelaviscosidadsobreelflujo,elflujoseclasificaen:
Flujolaminar,paraNR<500
Flujoturbulento,paraNR>500
Donde NR eselnmerodeReynoldsyesmostradoenlaecuacin13,esdecir
NR=
V* RH
. En flujos con perturbaciones que son pequeas, el nmero de
u
Siseclasificaelflujoteniendoencuentaelefectoqueejercelagravedadsobreel
flujo,setienenlossiguientestiposdeflujo:
Flujosubcrtico,paraNF<1y y n > yC
Flujosupercrtico,paraNF>1y y n < yC
Donde NF eselnmerodeFroudeyesmostradoenlaecuacin15,esdecir
NF =
v
.
gyn
Flujoestable,sinondasdeFroude
Lavelocidadmedia
Lageometradelcanal
Laseccintransversal
Laprofundidaddelflujo
Elradiohidrulico
Larugosidaddelcanal
Lascurvaspresentesenelcanal
Lasinuosidaddelcanal
Laviscosidaddelfluido
Lasecuacionesofrmulasempricasqueseutilizanparadeterminarlavelocidad
mediadelflujoenelcanal,seexpresanmediantelasiguienteformageneral:
Ecuacin71Formageneraldelasecuacionesdevelocidadenflujouniforme.
V = C Rx Sfy
Delaecuacin71,setieneque:
V =
Velocidadmedia
C =
Factorderesistenciaalflujo
R =
Radiohidrulico
Sf =
Pendientedelalneadeenerga
S0 =
Pendientedelfondodelcanal
Sf = S0 Enflujouniforme
x,y=
Exponentes
Originalmentelaecuacinfuedecarcteremprico,peroposteriormentesepudo
demostrarmediantebasestericas,paraladeduccinanalticadelaecuacinde
Chzysetienenencuentadossuposiciones.
En primera instancia se establece que la fuerza que resiste al flujo por cada
unidaddereadellechodelacorrienteesdirectamenteproporcionalalcuadrado
de la velocidad media, es decir que esta fuerza es igual a KV2 , siendo V la
velocidad media y K una constante de proporcionalidad, esta suposicin fue
propuestaporelingenieroChzy.
Figura38DemostracindelaecuacindeChzyparauncanalconflujouniforme.
Paralasegundasuposicinsehaceusodelprincipiobsicodelflujouniforme,el
cual dice que en un flujo uniforme la componente de la fuerza de gravedad que
causaelflujodebeserigualalafuerzatotalderesistencia,segnlafiguraanterior
la componente de la fuerza de gravedad es paralela al fondo del canal y esta
expresadapor g A L senq = g A L So ,donde g eselpesoespecificodelliquido,
g A L So = K V2 P L ,dondeelradiohidrulicoes R =
al hacer la siguiente sustitucinC =
g
, al reemplazar y despejar la velocidad
K
mediasellegaalaecuacindeChzy.
g A L So = K V2 P L
A
yelfactor C segenera
P
A
So = K V2
P
g R So = K V2
g
R So = V2
K
g
R So = V
K
V = C R So
2.1.9.4 Expresiones para el factor de resistencia C en la ecuacin de Chzy, el
coeficiente C de resistencia al flujo en la ecuacin de Chzy, ha tenido un gran
nmero de aproximaciones o soluciones que han contado con el trabajo de
notables investigadores de la hidrulica, de los cuales resaltan los trabajos de
Manning,KutterGanguillet,Kutter,Bazin,Darcy Weisbach.
2.1.9.4.1 Frmula de Kutter Ganguillet, esta frmula fue desarrollada por los
ingenieros suizos Kutter y Ganguillet, en el ao de 1869, esta frmula esta
realizada con base en los trabajos realizados por Darcy, Bazin y en sus propias
experiencias.
0.00155 n
1+ 23+
S0 R
2.1.9.4.2FrmuladeKutter,estafrmulafuedesarrolladaenelaode1870,esta
expresinsegeneracomounasimplificacindeltrabajodeKutteryGanguillet.Es
validasiemprequelapendientedelfondodelcanalnoseamenorque0.0005,es
decir S0 >0.0005.
Ecuacin77FrmuladeManning,paraunidadesdelsistemainternacional
1
1 6
C = R
V = C R So
EcuacindeChzy
1 16
V = R R So EcuacindeChzysustituyendoel C delafrmuladeManning
n
Ecuacin78EcuacindeManningparaflujouniformeenunidadesdelsistema
internacional
2
1 3 12
V = R S0
Q=
A 3 12
R S0
n
S0
Rugosidaddelasuperficie
Vegetacinpresente
Irregularidadesenelcause
Alineamientodelcanal
Depsitosenelcanal
Socavacionesenelcanal
Obstruccionesenelcanal
Seccindelcanal
Tamaoyformadelcanal
Profundidaddelflujo
Caudalquetransportaelcanal
Transicionesenelcanal
Materialsuspendido
Transportedefondo
1. Sedebendecomprenderlosfactoresqueafectanparacadacasoen
particular el valorde n y as tener el conocimiento bsico, general
del problema para luego reducir las suposiciones, es un mtodo
n pormediodeprocedimientosanalticosteniendocomoprincipiola
distribucintericadevelocidadesenlaseccintransversaluncanal
y apoyarse sobre datos de medidas de velocidad o de rugosidad
paraestablecercorrelacionesentrelosdatosrecopiladosyelmodelo
analticoobtenido.
5. Hacer uso de ecuaciones de origen emprico, que han sido
desarrolladas para casos similares o con caractersticas afines,
algunas de estas ecuaciones estn recopiladas en manuales
tcnicosyeninformacinparticulardediseadores.
Tabla3ValoresdelcoeficientederugosidadndeManning.Tomadosdehidrulica
decanalesabiertosdeChowV.T.2000
VALORESDECOEFICIENTEDEnPARAUSOENLAECUACIONDEMANNING
TIPODECANALYDESCRIPCION
CONDUCTOSCERRADOSQUEFLUYENPARCIALMENTELLENOS
METALES
latn,liso
acero
estriadoysoldado
ribeteadoyeespiral
hierrofundido
recubierto
norecubierto
hierroforjado
negro
galvanizado
metalcorrugado
subdrenaje
drenajedeaguaslluvias
NOMETAL
lucita
vidrio
cemento
superficiepulida
mortero
concreto
alcantarilla,rectaylibredebasuras
alcantarillaconcurvas,conexionesyalgodebasuras
bienterminado
alcantarilladodeaguasresiduales,conpozosdeinspeccinetc.
0.009
0.010
0.010
0.010
0.013
0.012
0.016
0.014
0.017
0.010
0.011
0.013
0.014
0.014
0.016
0.012
0.013
0.014
0.016
0.015
0.017
0.017
0.021
0.019
0.024
0.021
0.030
0.008
0.009
0.009
0.010
0.010
0.013
0.010
0.011
0.011
0.013
0.013
0.015
0.010
0.011
0.011
0.013
0.011
0.013
0.012
0.015
0.013
0.014
0.014
0.017
sinpulir,formaletaoencofradometlico
sinpulir,formaletaoencofradoenmaderalisa
sinpulir,formaletaoencofradoenmaderarugosa
madera
machihembrada
laminada,tratada
arcilla
canaletacomndebaldosa
alcantarillavitrificada
alcantarillavitrificadaconpozasdeinspeccin,entradaetc.
0.012
0.012
0.015
0.013
0.014
0.017
0.014
0.016
0.020
0.010
0.015
0.012
0.017
0.014
0.020
0.011
0.011
0.013
0.013
0.014
0.015
0.017
0.017
0.017
subdrenajevitrificadoconjuntasabiertas
mamposteraenladrillo
barnizadaolacada
revestidaconmorterodecemento
0.014
0.016
0.018
0.011
0.012
0.013
0.015
0.015
0.017
alcantarilladossanitariosrecubiertosconlimosybabasdeaguas
residualesconcurvasyconexiones
0.012
0.013
0.016
alcantarilladoconbateapavimentada,fondoliso
mamposteradepiedra,cementada
CANALESREVESTIDOSODESARMABLES
METALES
superficielisadeacero
sinpintar
pintada
corrugado
NOMETAL
cemento
superficiepulida
mortero
madera
cepilladasintratar
cepillada,creosotada
sincepillar
laminasconlistones
forradaconpapelimpermeabilizante
concreto
terminadoconllanametlica
terminadoconllanademadera
pulido,congravasenelfondo
sinpulir
lanzado,seccinbuena
lanzado,seccinondulada
sobrerocabienexcavada
sobrerocairregularmenteexcavada
fondodeconcretoterminadoconllanademaderayconladosde:
piedralabradaenmortero
piedrasinseccionar,sobremortero
mamposteradepiedracementada,recubierta
mamposteradepiedracementada
piedrasuelta
fondodegravasconladosde:
concretoencofrado
piedrasinseleccionar,sobremortero
piedrasuelta
ladrillo
barnizadoolacado
enmorterodecemento
mampostera
piedrapartidacementada
piedrasuelta
0.016
0.018
0.019
0.025
0.020
0.030
0.011
0.012
0.021
0.012
0.013
0.025
0.014
0.017
0.030
0.010
0.011
0.011
0.013
0.013
0.015
0.010
0.011
0.011
0.012
0.010
0.012
0.012
0.013
0.015
0.014
0.014
0.015
0.015
0.018
0.017
0.011
0.013
0.015
0.014
0.016
0.018
0.017
0.022
0.013
0.015
0.017
0.017
0.019
0.022
0.020
0.027
0.015
0.016
0.020
0.020
0.023
0.025
0.015
0.017
0.016
0.020
0.020
0.017
0.020
0.020
0.025
0.030
0.020
0.024
0.024
0.030
0.035
0.017
0.020
0.023
0.020
0.023
0.033
0.025
0.026
0.036
0.011
0.012
0.013
0.015
0.015
0.018
0.017
0.023
0.025
0.032
0.030
0.035
bloquesdepiedralabrados
asfalto
liso
rugoso
revestimientovegetal
EXCAVADOODRAGADO
entierra,rectoyuniforme
limpio,recientementeterminado
limpio,despusdeexposicinalaintemperie
congravas,seccinuniformelimpio
conpastoscortos,algunasmalezas
entierraserpenteanteylento
sinvegetacin
conpastoscortos,algunasmalezas
malezasdensasoplantasacuticasencanalesprof.
fondoentierraconparedesenpiedra
fondopedregosoybancasconmalezas
fondoencantosrodadosyladoslimpios
excavadoconpalaodragado
sinvegetacin
matorralesligerosenlasbancas
cortesenroca
lisosyuniformes
afiladoseirregulares
canalessinmantenimiento,malezasymatorralessincortar
malezasdensastanaltascomolaprof.delflujo
fondolimpio,matorralesenloslados
igual,nivelmximodeflujo
Matorralesdensos,altonivel.
CORRIENTESNATURALES
CORRIENTESMENORES
corrientesenplanicies
limpias,rectas,mximonivel,sin montculosnipozosprofundos
0.013
0.015
0.017
0.013
0.016
0.030
0.013
0.016
..
0.500
0.016
0.018
0.022
0.022
0.018
0.022
0.025
0.027
0.020
0.025
0.030
0.033
0.023
0.025
0.030
0.028
0.025
0.030
0.025
0.030
0.035
0.030
0.035
0.040
0.030
0.033
0.040
0.035
0.040
0.050
0.025
0.035
0.028
0.050
0.033
0.060
0.025
0.035
0.035
0.040
0.040
0.050
0.050
0.040
0.045
0.080
0.080
0.050
0.070
0.100
0.120
0.080
0.110
0.140
0.025
0.030
0.033
Igualqueelanteriorperoconmaspiedras.
Limpio,serpenteante,algunospozasybancosdearena.
Igualqueelanteriorperoconunosmatorralesypiedras
Igualalanterior,nivelesbajos,pendienteyseccionesms
ineficientes.
0.030
0.033
0.035
0.040
0.035
0.040
0.045
0.048
0.040
0.045
0.050
0.055
Igualalanteriorperoconmaspiedras
Tramoslentos,conmalezasypozasprofundos.
Tramosconmuchamaleza,pozosprofundosocanalesde
crecientesconmuchosrbolesconmatorralesbajos.
0.045
0.050
0.075
0.050
0.070
0.100
0.060
0.080
0.150
Corrientesmontaosas,sinvegetacinnelcanal,bancasusualmente
empinadas,rbolesymatorralesalolargodelasbancassumergidas
ennivelesaltos.
Fondo:gravas,cantosrodadosyalgunasrocas.
Fondo:cantosrodadosconrocasgrandes.
PLANICIESDEINUNDACION
pastizales,sinmatorrales
pastocorto
pastoalto
reascultivadas
sincultivos
cultivosenlneamaduros
camposdecultivosmaduro
matorrales
matorralesdispersos,muchamaleza
pocomatorralesyrboles,eninvierno
pocomatorralesyrboles,enverano
matorralesmediosadensos,eninvierno
matorralesmediosadensos,enverano
rboles
saucesdensos,rectosyenverano
Terrenolimpiocontroncosinretoo.
Igualqueelanteriorperoconunagrancantidadderetoos.
0.030
0.040
0.040
0.050
0.050
0.070
0.025
0.030
0.030
0.035
0.035
0.050
0.020
0.025
0.030
0.030
0.035
0.040
0.040
0.045
0.050
0.035
0.035
0.040
0.045
0.070
0.050
0.050
0.060
0.070
0.100
0.070
0.060
0.080
0.110
0.160
0.110
0.030
0.050
0.150
0.040
0.060
0.200
0.050
0.080
Grancantidadderbolesalgunostroncoscados,conpoco
crecimientodematorrales,nivelaguapordebajodelasramas.
0.080
0.100
0.120
Igualqueelanteriorperoconelnivelporencimadelasramas.
0.100
0.120
0.160
Estafrmulaenunidadesdelsistemainternacionaleslasiguiente:
Ecuacin81FrmuladeBazin,paraunidadesdelsistemainternacional.
87
C =
m
1+
Los valores del coeficiente de rugosidad del canal m propuestos por Bazin se
muestranenlasiguientetabla.
Tabla4ValorespropuestosparaelmdeBazin.Tomadosdehidrulicadecanales
abiertosdeChowV.T.2000
VALORESPROPUESTOSPARAELmDEBAZIN
mdeBazin
DESCRIPCIONDELCANAL
cementomuysuaveconformaletademaderacepillada
0.11
maderasincepillar,concretooladrillo
0.21
mamposteraenbloquedepiedraodepiedrayladrillomalacabado
0.83
canalesentierraenperfectascondiciones
1.54
canalesentierraennormalescondiciones
2.36
canalesentierraencondicionesrugosas
3.17
Suaplicacindaresultadosquesoninferioresencomparacinalasfrmulasde
KutterGanguillet,KutteryManning.
2.1.9.4.5 Frmula logartmica, en esta frmula se tiene en cuenta el
comportamiento hidrulico de la conduccin, sin importar que sea liso o rugoso,
esta configuracin depende de la relacin existente entre las rugosidades
absolutasdellecho e yelespesordelasubcapalaminarviscosa, d 0 .
Ecuacin82FrmulaLogartmicaparaunidadesdelsistemainternacional.
6 R
C=5.75 g Log
a
Ecuacin 83 Frmula Logartmica generalizada para unidades del sistema
internacional.
6 R
C=18 Log
a
El coeficiente a de la frmula logartmica, representa la relacin entre las
rugosidades absolutas del lecho e y el espesor de la subcapa laminar viscosa,
Sielconductoeshidrulicamenteliso(CHL)elcoeficiente a delafrmula
logartmicaser a=d 0 7.
SIexistencondicionesdetransicinesdecirsepresentaunainfluenciapor
parte de la viscosidad del liquido y de la rugosidad de la conduccin o
canal,elcoeficiente a delafrmulalogartmicaser a=e 2+ d 0 7.
Dondesetienelasiguientenomenclatura:
=Eslarelacinentrelasrugosidadesabsolutasdellecho
d 0 =Eselespesordelasubcapalaminarviscosa
g R Sf
11.6u
t
d0=
VCortante =
t = g R Sf \VCortante =
VCortante
r
r
Ecuacin84Esfuerzocortanteenelfondodelcanal
t = g R Sf
d0 =
11.6u
g R Sf
=Eslaviscosidadcinemtica
R =Eselradiohidrulico
Sf =Eslapendientedelneadeenerga
g =Eslaaceleracindebidaalagravedad
a=e 2 .
Estafrmulasemuestraacontinuacin:
C =
8 g
C
1
=
8 g
f
Ecuacin86EcuacindeDarcyWeisbach
hf = f
L V2
D0 2 g
Ecuacin87EcuacindeColebrookYWhite
e
1
1.97
=- 2 log D +
3.7 NR f
f
C .
Ecuacin 88 Coeficiente de resistencia al flujo, segn la ecuacin de Darcy
Weisbach
k
C
1
2.5
=
= - 2 log s +
8g
f
12 R NR f
Donde ks es la rugosidad equivalente, R el radio hidrulico, NR el nmero de
Reynoldsy f eselcoeficientedefriccin.
Elfactorquemultiplicaalradiohidrulicovaraconelcambioenlaprofundidaddel
lquido, pues el radio hidrulico es funcin de la profundidad, el factor se puede
2
3
1.5
2
1.5
1.5
1.5 3
(Pn nN )
(
)
P
n
+
P
n
+
+
P
n
2 2
N N
= 1 1
n= 1
2
P
P3
2. Segnlafuerzaresistentealflujoenestemtodoelreamojadasedivideen
N partes cada una de las cuales tienen un rea A1,A2,A3,.....,AN con sus
respectivos n1 ,n2,n3,.....,nN coeficientesderugosidad.Sesuponequelafuerza
total resistente al flujo, la cual se muestra en la figura 38 y se calcula con la
expresin K V2 P L (ecuacin 72), es el resultado de la sumatoria de cada
unadelasfuerzasderesistenciaalflujoquesepresentanencadaunodelos
elementosdereao A1,A2,A3,.....,AN .Estasuposicinfuedesarrolladoporlos
trabajos de por de N. N. Pavlovski en 1931, L. Mhlhofer en1933, H. A.
Einstein y R.B Banks en 1950. De acuerdo a lo anterior, el coeficiente de
rugosidadequivalenteparauncanalconrugosidadcompuestasecalculacon
lasiguienteecuacin:
1
2
N
2
1
P
n
(
)
N
N
n=
=
1
1
P2
P2
3. Segnelcaudaldelflujoenestemtodoelreamojadadelcanalsedivideen
N partesparacadaunadelascualessedeterminasurea A1,A2,A3,.....,AN ,
radio hidrulico R1,R2,R3,.....,RN , permetro mojado P1,P2,P3,.....,PN y sus
respectivoscoeficientesderugosidad n1 ,n2,n3,.....,nN .Entoncessesuponeque
elcaudaltotaldelflujoesigualalasumatoriadecadaunodeloscaudalesde
loselementosdereao A1,A2,A3,.....,AN .Estasuposicinfuedesarrolladopor
el trabajo de G. K. Lotter en 1933. Segn esto, el coeficiente de rugosidad
equivalente para un canal con rugosidad compuesta se calcula con la
siguienteecuacin:
Ecuacin 91 Coeficiente de rugosidad equivalente para canales de seccin
compuesta
1
2
N
2
1
P
n
(
)
N
N
n=
=
1
1
P2
P2
(y2 - y1)3
,determinalasprdidasenun
4 y1 y2
fenmenolocal.
Lasprdidasporrozamientoseoriginandebidoalosesfuerzoscortantes,quese
producen en los alrededores del canal es decir en el permetro mojado, la
superficiepuedeserdetipolisaorugosa.
2.1.10Diseodecanalesenflujouniforme,eldiseodeuncanalconsisteen
elegirlaformaylasdimensionesdelaseccintransversaldetalmaneraque
cumplanconrequisitoshidrulicosyeconmicos.
Duranteeldiseodeuncanalabiertolaseccintransversaldelcanal,larugosidad
ylapendientedelfondodelcanalsonconocidas,elobjetivoprimordialdeldiseo
es determinar la magnitud de la velocidad media del flujo, la profundidad y el
caudalseaconocidocualquieradeellos.
2.1.10.1Criteriosparaeldiseodecanales,eneldiseodecanalessedebetener
encuenta,algunosdelossiguientescriterios,talescomo:
ELcanalsediseaportramosconflujouniforme
Encanalesdetransporteseprefierenzonasdebajapendiente
Lavelocidaddebeserlosuficientementebajaconlocualsedebeimpedir
laerosindelasparedesyelfondodelcanal.
4. Estudiosdelademanda,definenelcaudaldediseoparalasnecesidadesdel
proyecto canales para riego, centrales hidroelctricas, drenaje, recreacin,
transporte.
5. Estudiosambientales,definenelriesgoparaelambienteusosdelagua,riesgo
paraseresvivos,calidaddelagua.
2.1.10.3 Parmetros de dise, los parmetros de diseo son aquellas
caractersticas que el canal debe de cumplir para que este sea estable e
hidrulicamenteptimo,algunosdeestosparmetrosson:
1. Formadelaseccintransversal:seescogeenfuncindeltipodesuelo,si
elcanalesrevestidoono,delmtodoconstructivo,delusodelcanal,dela
normatividadambiental,delaspectofinancieroylaeconoma.Porejemplo,
enlarocaoconelconcretosepuedenconstruirseccionestransversalesde
cualquierforma,mientrasqueloscanalesensuelosarcillosos,finosuotros
materialestienenformageneralmentetrapezoidal.Loscanalessedebende
cubrir en algunas ocasiones, por diferentes razones, bien sea, para evitar
contaminacindelagua,parapermitirelpasodeunladoaotro,etc.
2. Taludeslaterales:estnenfuncindelsuelodeexcavacin.Elnguloque
forma el talud lateral del canal con la horizontal debe ser menor que el
ngulodefriccininternadelmaterial.
3. Coeficiente de rugosidad: depende del tipo de material y del acabado del
revestimientodelcanal.
4. Coeficientedepermeabilidad:sedeterminaparaelsuelonaturalenquese
excavaelcanalhaciendopruebas"insitu"oenlaboratorio.
5. Velocidadadmisibledelflujo:estlimitadaporlaerosinylasedimentacin
en el canal. En un diseo conla velocidadmxima no erosionable que se
logran diseos mas econmicos y se garantiza la estabilidad de la
estructura. Esta velocidad mxima no erosionable es la velocidad media
ms grande que no causa erosin al cuerpo del canal. Los canales
revestidosenconcretoadmitenvelocidadesmsaltasdependiendodesiel
funcionamiento es permanente (canales de conduccin de agua) o
espordico (canales para evacuacin de aguas de exceso), casos en que
las velocidades mximas estn del orden de 4.0 m/s y de 15 m/s,
respectivamente.
Velocidadmnima:0.75m/sparaprevenirelcrecimientodelavegetacin.
6. Borde libre: es la distancia vertical medida desde el nivel de diseo del
aguahastalapartesuperiordelaestructura.Sedebeconsiderarelefecto
de inexactitudes en la informacin disponible, imprecisiones en el diseo,
cambiosdelniveldelagua.Sepuededeterminarconlasiguienteexpresin,
donde se tiene que F , es el borde libre y esta en funcin de C un
coeficiente de correccin y de profundidad y . El coeficiente C , esta en
funcindelcaudal,losvalorestpicosdelcoeficiente C se muestranenla
tabla5.
Ecuacin93Bordelibreparacanales
F = C y
Tabla5Valoresparaelcoeficiente C ,paradeterminarelbordelibre F .
3
C coeficiente
Q m
s
( )
1.5
0.57
2.5
85
a)Impactosobrelatenenciadetierra
Uncanalocupaunespacioyserequiereelpagodearriendosencasodequesu
alineamientoatraviesepropiedadesprivadasadems,laconstruccindeuncanal
tiene el efecto de partir la tierra lo cual no siempre resulta conveniente si los
propietarios de un determinado terreno no se benefician del proyecto de
construccin del canal y consideran al canal como una barrera para su
desplazamiento.
b)Impactosobrelavidasalvaje
Aunqueloscanalesnocausanprdidasignificativadelafaunaspuedenseruna
atraccinparalosanimalesmigratoriososedientosamenosquealgunasmedidas
decontrolsetomen.Elproblemasepresentacuandolosanimalestratandebeber
aguaocruzarelcanalquehainterrumpidounarutamigratoriadiariaoestacional.
Unanimalpuedequedaratrapadoyenelpeordeloscasospuedeahogarseenel
canal. Para reducir el alcancede este problema, se pueden construir cercas alo
largodeloscanales,einclusopuedencubrirseenreasdealtouso,tambinse
pueden construir puentes para permitir el paso cada cierta distancia. En zonas
donde no sea posible construirlas cercas ocubrir el canal, se debe aumentarla
rugosidaddelosladosparaqueestaszonaspermitanelescapedeanimales.
c)Impactosobrelavegetacin
Los herbicidas y plaguicidas que se usan en ocasiones para esterilizar el suelo,
controlarla vegetacin enlos canales y disminuirla poblacin de plagas afectan
las cosechas mismas, la fauna y la vegetacin a lo largo de las estructuras del
canal. La apertura de una canal ocasiona la elevacin del nivel fretico lo que
puede cambiar las condiciones del terreno circundante. Una solucin para evitar
problemasdefiltracinesusarcanalesrevestidos.
2.1.10.6Diseodecanalesrevestidosonoerosionables
2.1.10.6.1Seccinhidrulicamenteptima,eneldiseodecanalesseinvolucrala
seleccindelaformadelcanalylapendientedelfondoparatransportaruncaudal
dadoconunaprofundidaddeflujodada.
Setieneuncaudal,unapendienteyunarugosidad,eneldiseosedebetratarde
minimizar el rea de la seccin transversal A para as reducir los costos de
construccin.
Laconductividadotransitodeagua k enuncanal,dependeengranmedidadela
relacin existente entre al rea mojada y el permetro mojado en un canal. Se
definealaseccinhidrulicaptima(S.H.O)comoaquellaseccinqueocupael
menorpermetromojadoparaunreadeterminada.
Los canales revestidos son los que utiliza seccin hidrulica estable, los cuales
son revestidos de forma que se puedan adoptar unas dimensiones tales que se
logrelamayoreficienciahidrulica.
Algunasdelascaractersticasdelaseccinhidrulicamenteptimason:
Elpermetromojadoeselmnimoparauncaudaldado.
Elreadetodalaexcavacinnoesnecesariamentemenorconrelacina
uncanaldiseadoconotroscriterios.
Elcostodelrevestimientopuedesergrandeycomparablealdeunamayor
excavacinnecesariasielcanalsediseaporotrosmtodos.
Elcostodelaexcavacindependenosolamentedelacantidaddematerial
aremover,sinotambindelasfuentesdemateriaderecubrimiento,acceso
ytransportealsitiodetrabajoydelcostodelosescombros.
Disearloscanalesconseccinhidrulicamenteenalgunoscasosnoesla
mejor opcin. Por ejemplo, si la pendiente necesaria calculada por la
seccin hidrulicamente ptima, es menor que la pendiente natural del
terreno, se deben cambiar las dimensiones del canal para evitar
velocidadesmuyaltaslocualselograproyectandoseccionesmsanchas.
Encasocontrario,lapendientenecesariaesmayorqueladisponibleenel
terreno, se cambian las dimensiones de la seccin transversal se pueden
adoptarseccionesmsprofundasyestrechasparaaumentarlavelocidad.
Figura40Seccionestransversalesdecaudalmximo
Setienenenlasiguientefigura,lasprincipalesseccionestransversalesdecanales
prismticos,cadaunoconlasdimensionesquesemuestran,sedemostraraquela
seccincirculareslamaseficiente.
Figura41Propiedadesdegeomtricasdelasprincipalessecciones
Seccin
Rectangular
Triangular
Trapezoidal
Circular
1 a
A = a 3
2
a 3
A=
4
4
a=
A
3
p
A = D2
A =l2
l = A
P= 4 l
P= 4 A
a= 1.52 A
P= 3 a
P= 3 (1.52 A)
P= 4.56 A
3
2
2 A
b=
3 3
A = b2 3
b= 0.62 A
P= 6 b
P= 6 (0.62 A)
P= 3.72 A
D =
4
4 A
A
p
P= p D
D = 2
A
p
P= 2 p A
P= 2 p
P= 3.54 A
Laconstruccindeestaseccinpuesserequieredeunaformaletaespecial
paracadacasoenparticular.
Eltransportedelmaterialpararealizarla.
Laseccinhidrulicamenteptimaquelesiguealacircular,segnelanlisisde
la relacin del permetro con el rea, es la seccin hexagonal pues tiene un
permetro de P =3.72 A, esto nos conlleva a que la seccin hidrulicamente
ptimaeslatrapezoidal(mediohexgono)yademsqueesunaseccinqueen
trminosconstructivosnopresentamayorescomplicaciones.
y =Profundidaddelflujo
b =Anchodefondodelcanal
z =Pendientelateraldelcanal
Ecuacin94readelaseccintrapezoidal
A =(b+ z y) y
Ecuacin95Permetromojadodelaseccintrapezoidal
P =b+ 2 y 1+ z2
P =Eselpermetromojadodelaseccin,ladenominaremoscomoecuacin(ii)
Delaecuacin(94)setieneque, b =
A- z y2 A
= - z y
y
y
Delaecuacin(95)setieneque, P =
A y-1 - z y+ 2 y 1+ z2
Ecuacin96Permetromojadodeunaseccintrapezoidalenfuncindelreayla
profundidaddelflujo
P = A y-1 - z y+ 2 y 1+ z2
Si se considera que el rea de la seccin A y la pendiente del canal z, son
constantes, la ecuacin que define el permetro P = A y-1 - z y+ 2 y 1+ z2 , se
derivaconrespectoalaprofundidaddellquido,yasencontrarunmnimo.
dP
= - A y-2 - z +2 y 1+ z2
dy
Elpermetromojadomnimoser
dP
=0 ,entoncessetieneque:
dy
dP
= - A y-2 - z +2 y 1+ z2 =0
dy
Ecuacin97readelaseccintrapezoidalenfuncindelapendientelateralyla
profundidaddelflujo
A = 2 y2 1+ z2 - z y2
Sustituyendolaecuacin(96)enlaecuacin(95).
Ecuacin 98 Ancho de fondo de un canal trapezoidal en funcin de la pendiente
lateralylaprofundidaddelflujo
b =2 y 1+ z2 - 2 z y
La ecuacin anterior o ecuacin (97), muestra la base del canal en funcin del
talud o pendiente lateral y de la profundidad del flujo. El permetro modado en
funcin exclusivamente de la pendiente lateral y de la profundidad del flujo ser
iguala,sustituirenlaecuacin(93)laanteriorexpresin,ecuacin(97).
P =b+ 2 y 1+ z2
P = 2 y 1+ z2 - 2 z y+ 2 y 1+ z2
Ecuacin 99 Permetro mojado de una seccin trapezoidal en funcin de la
pendientelateralylaprofundidaddelflujo
P =4 y 1+ z2 - 2 z y
3
, esta pendiente corresponde a un ngulo de una seccin
3
P =4 y 1+ z2 - 2 z y
dP
z
=4 y
- 2 y= 0
dz
1+ z2
2
z
1+ z2
= 1
2z = 1+ z2
4z 2 = 1+ z2
z =
1
3
A = 3 y2
Ecuacin 102 Permetro mojado para una seccin trapezoidal con seccin
hidrulicaptima
P =2 3 y
Ecuacin 103 Radio hidrulico para una seccin trapezoidal con seccin
hidrulicaptima
y
R=
2
Ecuacin 104 Ancho superficial para una seccin trapezoidal con seccin
hidrulicaptima
4 3
T =
y
3
Para el diseo de canales revestidos basados en el principio de la seccin
hidrulicamenteptimasepuedeseguirelsiguienteprocedimiento:
1. Tenerclaralafuncindelcanal,quetipodeserviciovaaprestar,conesto
sepuedepredimensionarelcanal.
2. Determinarlapendientedelcanaldelainformacintopogrfica,esdecirde
lainformacinbsicaquesedispone.
3. Determinar n para el material de revestimiento a utilizar en el canal a
disear.
4. Determinarelcaudaldediseo,enbasealasnecesidadesdelproyecto.
5. En base a las condiciones de uso, topogrficas y legales, determinar una
velocidaddediseo.
6. Determinareltaludapropiadoparaelcanal,teniendoencuentaloscriterios
econmicos,condicionesdelsueloydeestabilidad.Sepuedeutilizarcomo
parmetro los valores que se encuentran en la siguiente tabla, elaborada
porCHOW,V.Ten1959.
Tabla6Taludesrecomendadosparacanalesconstruidosendiferentestiposde
material.TomadosdehidrulicadecanalesabiertosdeChowV.T.2000yde
HidrulicadecanalesabiertosdeFRENCH.R.H.
Material
Roca
Talud
1 : 1
4
Suelosorgnicos,estircolysuelosdeturba
Arcilla dura o tierra con revestimiento en
1 : 1 a 1:1
2
1:1
concreto
Tierra con recubrimiento de piedra o tierra en
grandescanales
112: 1
Tierraarenosasuelta
2:1
Limosarenososoarcillaporosa
3:1
Figura42Componentesdeuncanalrevestido.
F
L
H
y
b
z
e/2
b'
b''
y=
A
- z+ 2 1+ z2
11. Determinar el ancho de la base del canal, ancho efectivo, se utiliza la
ecuacin94:
b=
A
- z y
y
.-1 1
Tan z
b''= b+ 2eTan
2
Ecuacin108Anchodefondototaldecanal,eldiseodeuncanalrevestidocon
seccinhidrulicamenteptima
b''+b
b'=
2
13. Determinarelbordelibre F ,adecuadosegnseaelcasosepuedeutilizar
Tabla7Espesorrecomendadoparacanalesenconcretosimple,enfuncindel
caudalatransportar
3
Q(m s)
e( pulg)
e(cm)
e(m)
0 5.7
2.0
5.1
0.051
5.7 14.2
2.5
6.4
0.064
14.2 42.6
3.0
7.6
0.076
42.6 99.3
3.5
8.9
0.089
>99.3
4.0
10.2
0.102
Tabla8Espesorrecomendadoparacanalesenconcretoreforzado,enfuncindel
caudalatransportar
3
Q(m s)
e( pulg)
e(cm)
e(m)
14.2
3.5
8.9
0.089
14.2 56.7
4.0
10.2
0.102
>56.7
4.5
11.4
0.114
16. Determinarelcostodelaexcavacin,enfuncindelvolumenaexcavarel
rendimiento de la maquinaria disponible, del factor de expansin de cada
tipodematerialydelcosto.Secalculaconlasiguienteexpresin:
Ecuacin 110 Costo de la excavacin para el diseo de un canal revestido con
seccinhidrulicamenteptima
$
CostoExc = " Exc m3 CostoUnidad 3 Longmaterial(m) Rendimiento
m
( )
17. Determinarelcostodeltransporte,expresndolocomolarazndelcostoy
delvolumen $ 3 .Paradeterminarloseutilizalasiguienteexpresin:
m
Ecuacin111Costodeltransportedelmaterialdelaexcavacinparaeldiseode
uncanalrevestidoconseccinhidrulicamenteptima
$
Costo
viaje
Trans =
m3
Capacidad
viaje
( )
20. Resumirlosresultadosobtenidosenungrafico.
2.1.10.7Diseodecanalesnorevestidosoerosionables,eneldiseodecanales
no revestidos o erosionables se considerara que los canales depositan
sedimentos,elcomportamientodelflujoenuncanalerosionableestdeterminado
por muchas variables como son los factores fsicos y condiciones de campo tan
complejaseinciertas,esporestaraznqueeldiseodecanalesnorevestidosse
hacemasdifcilquesielcanalestuvierarevestido.
Existen varios mtodos de diseo, de los cuales sobresalen por ser los mas
utilizadosyportenerbuenosresultadoslossiguientesmtodos:
Mtododelavelocidadmximapermitida
Mtododelafuerzatractiva
Mtododelaseccinhidrulicamenteestable
A mediadosdeladcadade1920,secomprendiquedebaexistirunarelacin
entre cada una de las variables que se encuentran fluctuando en un canal
erosionable de las cuales el caudal o la velocidad media, las propiedades
mecnicas del material de fondo y los taludes, la cantidad y tipo de material
arrastradoporelflujo,ylaestabilidaddelaseccindelcanal.
Paraesapocaserealizounestudioconlaparticipacindevariosingenieroscon
larga experiencia, la hiptesis de este estudio es el hecho que s haba una
relacinentrelavelocidadmediadelflujo,elmaterialdelpermetrodelcanal,yla
estabilidaddeste.
velocidadmximapermisible.LosprincipalesresultadosdelinformedeS.Fortiery
F.C.Scobey(1926)seencuentranresumidosenlatabla9.
Tabla9VelocidadesmximaspermisiblesrecomendadasporFortieryScobey
paracanalesrectosconpendientespequeas
Agualimpia
MATERIAL
Arenafinacoloidal
Aguaquetransportalimos
coloidales
0.020
V = m s
t 0 = N / m2
V = m s
t 0 = N / m2
0.457
1.290
0.762
3.590
Margaarenosano
coloidal
0.020
0.533
1.770
0.762
3.590
margalimosano
coloidal
0.020
0.610
2.300
0.914
5.270
Limosaluvialesno
coloidales
0.020
0.610
2.300
1.070
7.180
Cenizavolcnica
0.020
0.762
3.590
1.070
7.180
Arcillargidamuy
coloidal
0.025
1.140
12.400
1.520
22.000
Limosaluviales
coloidales
0.025
1.140
12.400
1.520
22.000
Esquistos,pizarray
subsuelosdearcilla
dura
0.025
1.830
32.100
1.830
32.100
Gravafina
0.020
0.762
3.590
1.520
15.300
0.030
1.140
18.200
1.520
31.600
0.030
1.220
206.000
1.680
38.300
Gravagruesano
coloidal
0.025
1.220
14.400
1.830
32.100
Cantosrodados,
piedritasyripiosde
cantera
0.035
1.220
43.600
1.680
52.700
Tierranegra
graduadaa
piedritascuandono
escoloidal
Limosgradadosa
cantosrodados,
piedritascuandoes
coloidal
Elmanejo de esta tabla tiene los siguientes parmetros de uso, esto con el nimo de realizar el
diseocon lamenorincertidumbreyerror,lassiguientesonunconjuntodesugerenciasoreglas
de buena ingeniera, estas han sido ampliadas como lo hace Emory w. Lane en 1955 con la
proposicin de coeficientes de reduccin. La interpretacin de estas sugerencias ha sido
interpretadaparaelcasodelaingenieranacionalaunquesemantendrnlasunidadesoriginales
deestasreglas.
Las cifras dadas son para canales con tangentes largas recomendndose
unareduccindel25%enlavelocidadmximapermisibleparacanalescon
unalineamientosinuoso.
Lavelocidaddeflujoencanalesquetransportanabrasivos,comopedazos
debasalto,debereducirseen0.5ft/s(0.15m/s).
EltrabajodeS.FortieryF.C.Scobey(1926)haservidocomobasedediseode
canales por muchos aos aunque, esta es una metodologa emprica pues esta
basada primordialmente en observaciones y experiencia de muchos ingenieros,
msqueenprincipiosfsicos.
METODOLOGADEDISEO
Usando la velocidad mxima permitida como criterio, el procedimiento de diseo
paralaseccindeuncanal,suponiendoqueseatrapezoidalquelamscomn,
consistedelossiguientespasos:
Q n
= A R3 .
S0
6. Calcularelpermetromojadoo P = AR.
7. Con las ecuaciones que se plantean para P y A , resolver el sistema de
ecuaciones,sedeterminara b y y .
La erosin perimetral del canal ocurre cuando las partculas del permetro son
sometidas a fuerzas de magnitud considerable paraproducir el movimiento dela
partcula.
Cuando una partcula descansa en el fondo del canal, la fuerza actuante que
causa su movimiento es el resultado del flujo de agua sobre la partcula. Sobre
una partcula que descansa sobre el talud del canal no solo acta la fuerza
generadaporelflujo,sinotambinlacomponentedegravedadquetiendeahacer
quelapartcularuedeodesliceporeltalud.
Si la resultante de estas dos fuerzas es mayor que las fuerzas que resisten el
movimiento, friccin y cohesin, entonces se presenta la erosin perimetral del
canal.
Siemprequefluyeunlquidoatravsdeuncanal,segeneraunafuerzaqueacta
en la direccin del flujo sobre el fondo del canal. Esta fuerza, la cual es
simplementeeljalardelaguasobreelreaconagua,esconocidacomolafuerza
tractiva.Sedefinegeneralmentelafuerzatractivao(fuerzacortanteodearrastre
o tangencial), como fuerza que acta sobre las partculas que componen el
permetrodelcanalyesproducidaporelflujodelaguasobreestaspartculas.En
laprctica,lafuerzatractivanoeslafuerzasobreunapartculaindividual,sinola
fuerzaejercidasobreunreaperimetraldelcanal.
SecreequeesteconceptofueplanteadoporprimeravezporP.duBoysen1879y
replanteadoporE.W.Laneen1955.Enunflujouniformeenuncanalcomoelde
la figura 39 la fuerza tractiva es igual a la componente efectiva de la fuerza de
gravedadactuandosobreelcuerpodeliquido,paralelaalfondodelcanaleiguala
g A L S0 .
Elvalormediodelafuerzatractivaporunidaddereamojada,olallamadafuerza
tractivaunitaria,esiguala:
g A L S0
= g R S0
PL
Dondesetieneque, P eselpermetromojadoy R eselradiohidrulicoesdecir:
t = g A L S0
t = g R S0
Las cuales son las ecuaciones para el esfuerzo cortante en el fondo de canal, o
ecuacin84.Sisetieneuncanalmuyanchoesdecir b > 10 y,elradiohidrulico
R esigualalaprofundidaddelflujo y ,segnestolaanteriorecuacinser:
Ecuacin114Esfuerzocortanteenelfondodeuncanalmuyancho
t = g y S0
La distribucin de fuerza tractiva unitaria es uniforme a lo largo del permetro
mojadoenloscanalesanchos b > 10 y,mientrasqueencanalescondimensiones
b 10 y ladistribucinesnouniforme.
Unadistribucintpicadefuerzatractivaparauncanaltrapezoidalsemuestraen
lasiguientefigura,figura43,lasecciontrapezoidaleslaseccinlamscomnen
canales no revestidos, el esfuerzo tractivo se presenta en el fondo con una
magnitudaproximadade g A S0 yenlostaludescon 0.75 g A S0 .
Figura43Distribucintpicadefuerzatractivaenuncanaltrapezoidal.Tomadode
hidrulicadecanalesabiertosdeChowV.T.2000.
La fuerza tractiva mxima que se permite, es aquella fuerza tractiva unitaria que
no genere erosin del material que constituye el fondo del canal sobre una
superficieanivel.
Lafuerzatractivacriticaesaquellafuerzatractivaunitariaqueesdeterminadaen
ensayosypracticacontroladasenlaboratorios.
En condiciones reales los canales presentan valores altos de resistencia a la
accin de la fuerza tractiva critica, esto se explica por la accin conjunta de
materialorgnico,coloidesyfitoplantasqueproporcionanunafuerzadeligadura,
entrelaspartculasqueconstituyenelfondodelcanal.
Eltamaodelapartculaparamaterialnocohesivo
Larelacindevacosparaelmaterialcohesivo.
Elndicedeplasticidad
Laaccinqumica
Una partcula cualquiera en el fondo nivelado del canal est sujeta a la fuerza
tractiva a t L ,donde t L eselesfuerzotractivosobrelasuperficieniveladay a es
el rea efectiva. El movimiento es resistido por la fuerza gravitacional WS
multiplicada por un factor o coeficiente de friccin que se aproxima por tana ,
donde WS eselpesodelapartculasumergiday a eselngulodereposodela
partcula.
Cuandoelmovimientoestapuntodeiniciarse,setiene:
atL = WS tan a
tL =
WS tan a
a
Una partcula que se encuentra en el talud del canal est sujeta a una fuerza
tractiva a t S y a una componente hacia abajo del talud WS Senf donde t S es
cortante del talud y f
WCos
f
s
at
Ws
sS
S
e
at
s
en
f
Figura44Anlisisdefuerzasactuantesenunapartculaqueestasuspendidaen
elfondodeuncanal
at
2 2
WSen
f +a ts
s
2
WSen
f +a t
s
W2S
Ecuacin115Fuerzatractivaunitariaeneltaluddeuncanal
tS =
WS
Tan2f
Cosf Tana 1a
Tan2a
Lafuerzatractivasobreunasuperficieplana t L ,eslaresponsabledelmovimiento
sobre una superficie plana, se describe con la ecuacin 104, que es igual a la
ecuacinanteriorcon f = 0 .
Ecuacin116Fuerzatractivaunitariaenelfondodeuncanal
W
tL = S Tana
a
Larazndelafuerzatractiva,eselcocienteentre,lafuerzatractivaunitariaenel
talud del canal y la fuerza tractiva unitaria en el fondo del canal, esta es una
relacinquesedebetenerencuentaduranteeldiseodecanales.Dicharelacin
seescribedelasiguientemanera,talcomosemuestraenlaecuacin105.
Ecuacin117Razndelafuerzatractiva
WS
Tan2f
Cosf Tana 1t
Tan2f
Sen2f
a
Tan2a
K = S =
= Cosf 1=
1
WS
t L
Tan2a
Sen2a
Tana
a
Larazndefuerzatractivaestenfuncindelngulodeltalud f ydelngulode
reposodelmaterialperimetral a .Paraelcasodelosmaterialescohesivosofinos
no cohesivos, el ngulo de reposo es muy pequeo por lo que se puede tomar
comocero.
g y So .a)Paralostaludesyb)paraelfondodelcanal.TomadodeHidrulicade
canalesabiertosdeFrench.R.H.1988.
Nosellevoacabounnmerosuficientedeexperimentosestoprodujouna
grandispersindelosdatos.
Losngulosdereposoestnlimitadospor41paramaterialangularypor
39paramaterialmuyredondeadodebidoaladispersindelosdatosenel
materialmsgrande.
Figura46ngulosdereposoparamaterialesnocohesivos.TomadodeHidrulica
decanalesabiertosdeFrench.R.H.1988
Paramaterialgrueso,nocohesivo,losdatosdelaboratoriodeEmoryW.Lane(1955)indicanque
elesfuerzotractivopermisiblemximoenlibrasporft2esde0.4vecesel25%deldimetrodelas
partculasenpulgadas.
Los canales en situaciones reales o no controladas pueden soportar fuerzas tractivas con
magnitudes mayores que las calculadas o proyectadas por los experimentos, Emory W. Lane
(1955)durantesuinvestigacinrecolectinformacinsobrecanalesreales,estosdatosdecampo
seencontrabanenlaformadevelocidadesmximaspermisiblesytuvieronquesertransformados
LosresultadosdelosdatosdecampodeLaneseresumenenlafigura47lacual
estaparaelmaterialfinonocohesivo,unejemplodeestossonmaterialescuyos
dimetrosmediossonmenoresde5mm.(0.254in),eltamaoespecificadoesel
dimetromedianodeunapartculadelacual50%fuemayorenpeso.
Para canales construidos con material cohesivo, los datos acerca de el esfuerzo
tractivo permisible fueron elaborados por V.T.Chow en 1959 estos datos se
encuentranconsignadosyresumidosenlafigura48.
Para el uso de estas figuras se debe detener en cuenta que sus resultados son
conservadoresparaeldiseo,puestraenincorporadosunfactordeseguridadque
deejercenunefectodesobreestimacinlafuerzatractivaparaeldiseo.
Figura47Esfuerzostractivospermisiblesrecomendadosparacanalesconstruidos
en materialno cohesivo,Lane (1955). Tomado de Hidrulica de canales abiertos
deFrench.R.H1988
Figura48Esfuerzostractivospermisiblesrecomendadosparacanalesconstruidos
enmaterialcohesivo,Chow(1959).TomadodeHidrulicadecanalesabiertosde
French.R.H1988
Loscanalesrectos,tienenalineacionesrectasoligeramentecurvasyporlo
comnsoncanalesconstruidosenplanicieshorizontales.
Loscanalesmuysinuosostienenungradodecurvaturatpicodecanalesal
piedecerrosoenmontaas.
Segnestasdefinicionessedesarrollaronunosfactoresdecorreccinenfuncin
de la sinuosidad, estos factores de correccin se encuentran consignados en la
siguientetabla.
Tabla10 Factoresdecorreccinparalasfuerzastractivasmximasparacanales
condiversosgradosdesinuosidad.TomadodeHidrulicadecanalesabiertosde
French.R.H.1988.
GRADOSDESINUOSIDAD
Canalesrectos
Canalespocosinuosos
Canalesmoderadamentesinuosos
Canalesmuysinuosos
FUERZATRACTIVALIMITANTERELATIVA
1.00
0.90
0.75
0.60
METODOLOGIADEDISEO
1. Definirunaseccinaproximadadelcanal,bienseaporlaexperienciaode
los cuadros de diseo que tienen entidadescomo el USBR (United States
BureauofReclamation).
3. Eldiseadorinvestigaydeterminara,laseccinparaaplicarelanlisisdela
fuerza tractiva a cierta probable estabilidad por tramos y determinar la
seccinmnimaqueaparezcaestable.
5. Encanalesenmaterialcohesivoelefectodelmovimientodelaspartculas
esdespreciable,yelefectodeladistribucindelafuerzatractivasolaesun
criteriosuficienteparaeldiseo.
6. Determinarlapendientedelcanaldelainformacintopogrfica,esdecirde
lainformacinbsicaquesedispone.
7. DeterminarnoCparaelmaterialperimetraldado.
8. condicinde Q = QD paralograresteobjetivoseretrocedealpaso10,seDeterminarel
ngulodereposoparaelmaterialperimetralconlafigura46.
10. Supngaseunvalordelparaeltalud(ngulodelostaludes)yelanchodel
fondo/profundidaddeagua.
11. Supngasequelostaludessonloquelimitaelanchodelcanal.
12. Calcularlafuerzatractivamximapermisibleenlostaludesenfuncindel
esfuerzocortante.SedebeutilizarelfactordecorreccindelaFigura45.a
yelfactordecorreccinpor0sinuosidaddelcanal,delpaso9.
13. Determinarlarazndefuerzastractivas, K conlaecuacin105.
16. Determneseelanchodelfondoconlosresultadosdelospasos10y15.
b
.
y
18. Secomparanlasmagnitudesdelafuerzatractivapermisibleenelfondo
(paso12)conlaactuantecalculadapor g y SO ,sedebecorregirpor
formaconlafigura45.adelpaso10.
19. Sechequea:a)Lavelocidadmnimapermisibleparaaguaquellevefinosy
paravegetacin.b)ElnmerodeFroude.
20. Determinarelbordelibrerequerido.
21. Realizarungraficodondesevisualicenlosresultados.
Paraeldesarrollodeestemtododediseo,setuboencuentaquelosmtodos
de diseo existentes, mtodos basados en la fuerza tractiva, estos mtodos
igualaban la fuerza tractiva al valor permitido solo sobre una parte del permetro
mojadototal,especficamentedondelasfuerzasestncercadelosvalorescrticos
esdeciralmximo,loscualesgeneralmentesepresentanenlostaludesdelcanal.
Esto quiere decir, que la inestabilidad que mantiene la suspensin ocurre solo
sobreunapequeapartedelpermetromojado.
Entoncesunaseccinhidrulicamenteestablecon mximaeficienciasatisfacela
condicin de que el movimiento que mantiene la suspensin prevalecer en
cualquierlugarsobreelfondoolechodelcanal.
Las expresiones matemticas que definen esta seccin fueron desarrolladas por
una entidad gubernamental delos EstadosUnidos de Amrica, el USBR(United
States Bureau of Reclamation) por los investigadores Glover y Florey en 1951,
estasexpresionessedesarrollaronparacanalesconlasiguientecaracterstica:
5. Enlaregincomprendidaentreelcentroylasmrgenesdelcanalse
presentaquelaspartculasdellechodelcanalsonmantenidasenun
estado de movimiento incipiente por la resultante dela componente
delagravedaddelpesosumergidodelapartculaactuandosobrela
pendientelateralylafuerzatractivadelaguafluyendo.
6. La fuerza tractiva que acta sobre un rea del lecho del canal es
igualalacomponentedelpesodelaguadirectamentesobreelrea
actuandoenladireccindelflujo.Estacomponentedelpesoesigual
al peso por la pendiente longitudinal del canal. Segn esto no hay
transferencialateraldefuerzatractiva.
T
dx
f
x
y
B
Seconcluyedelasuposicin6,elesfuerzotractivocriticoqueseestaejerciendo
sobreelrea AB ,porunidaddelongituddelcanalestaexpresadaporlasiguiente
ecuacin.
Ecuacin118Esfuerzotractivocritico
g y S dx
ts =
= g y S Cosa
(dx)2 + (dy)2
Elesfuerzotractivocrticoqueestaactuandosobrelostaludesdelcanalser:
Ecuacin119Esfuerzotractivocriticosobrelostaludesdelcanal.
ts = K t b = g y S Cosa 1-
Tan2a
Tan2f
Ecuacin120EsfuerzotractivoenelcentrodelcanalconprofundidadyN
t s =g y S a
y =
yN
Tan2f
- Tan2a
Tanf
dy
dx = Tana
y
dy
y= N Tan2f -
Tanf
dx
y2N
dy
y =
Tan2f -
2
(Tan
f )
dx
y2N
dy
2
y =
Tan f -
(Tan
f)2
dx
2
y2
dy
(Tanf )2 = Tan2f -
2
y N
dx
dy y
(Tanf)2 - Tan2f = 0
+
dx yN
Lascondicionesdefronterason:
1.
x=0 , y = yN entonceslasolucinser
y = yN Cos
yN
2. x =
T
TTanf p
T Tanf
, y=0 estacondicinsecumplesolosi
=
o yN =
,
2
p
2 yN
2
entonceslasolucinser.
Ecuacin 124 Profundidad del flujo en un canal con seccin hidrulicamente
estable,enfuncindelaprofundidadnormal.
p x
y = yN Cos
Conlasecuaciones122y123,sedefinelaseccindeuncanalnorevestidoque
para un rea determinada se obtendr el menor ancho con el mayor radio
hidrulico, esta seccin corresponde al canal de mayor eficiencia hidrulica de
todos los canales no revestidos estables que sean construidos en tierra con
material no cohesivo, con caractersticas definidas como son el coeficiente de
rugosidad n , una pendiente S y que transporte agua que no contenga
sedimentos.
A =2 2 y dx
0
x Tanf
dx
yN
A =2 yN 2Cos
0
Ecuacin125reamojadadelaseccindemayoreficienciahidrulica
2 T yN
A =
p
P=2
dy
1+ dx
dx
Ecuacin126Permetromojadodelaseccindemayoreficienciahidrulica
P =
2 yN
Senf
E(Senf )
p 1
1 3 Sen f 1 3 5 Sen f
2
E(Senf) = 1- Sen f -
-
-
2 2
3
5
2 4
2 4 6
1
A
Q = R3 S02
n
2
Q =
0.30 Sen 3 T 3 yN S0
2
n (E(Senf)) 3
Q =
n (E(Senf )) 3
Enelprocesodediseosedebechequearelcaudaldediseo QD ,conrespecto
alcaudal Q elcualsedeterminaconlaecuacin118,sialcompararloscaudales
se tienen diferencias apreciables sea mayor o menor, en cualquier caso se debe
demodificarlaseccintransversaldelcanal.
Q=
A 3 12
R S0
n
2
3
Tanf + T' yN
S
Q=
2
n
2 yN E(Senf ) 3
T'
Figura50Seccinhidrulicaestablecuando QD > Q
T
T
Q=
A 3 12
R S0
n
2
2 yN
S Tan f
Q =
Sen T Tan
2 y - Sen T ''Tan
2 yN
T ''
p
E Sen f , 1
T
2
Tan f
f 3
2 yN
p T''
En esta ecuacin se tiene que E Senf , 1 , es una integral elptica
T
2
incompleta del tercer tipo esta integral se puede determinar suponiendo que la
velocidadmediaenlaseccintericayenlaseccinajustadasoniguales,eneste
orden deideaslos caudales sern proporcionales al rea hidrulica entonces se
tieneque:
Ecuacin131Caudaltericoenlaseccinhidrulicamenteptima,enfuncindel
reahidrulica
2 yN2
Q=
V
Tanf
Q =
2 T2 Tanf
p 2
Ecuacin132Caudaldediseoenlaseccinhidrulicamenteptima,enfuncin
delreahidrulica
2 (T - T'') Tanf
2
QD =
p 2
Figura51Seccinhidrulicaestablecuando QD < Q
Paradeterminarelanchosuperficial,secombinanlasecuaciones130y131,yse
obtieneunaexpresinpara T''.
Q = QD
2 T 2 Tanf
p 2
2 (T - T'') Tanf
2
V =
p 2
T' '=T 1
QD
Q
METODOLOGIADEDISEO
En el mtodo basado en la seccin hidrulicamente estable se puede seguir el
siguienteprocedimiento:
1. Determinarlapendientedelcanaldelainformacintopogrfica,esdecirde
lainformacinbsicaquesedispone.
2. Determinarnparaelmaterialdelcanaladisear.
3. Determinarelngulodereposoparaelmaterialperimetralconlafigura46,
enestafigura a es f delasecuaciones117a132.
5. Determinarelcaudaldediseo,enbasealasnecesidadesdelproyecto.
7. Determinarlaformadelcanalconlaecuacin114,profundidaddelflujoen
uncanalconseccinhidrulicamenteestableenfuncindelaprofundidad
x Tanf
normalo y1 = yN Cos
.
yN
8. Determinarelanchosuperficialconlaecuacin T =
p yN
.
Tanf
9. Determinarelreamojadaconlaecuacin115 A =
2 T yN
,reamojada
delaseccindemayoreficienciahidrulica.
10. Determinar el caudal en el canal, utilizando la ecuacin de Manning o
5
ecuacin 118, Q =
n (E(Senf )) 3
conlaseccindemayoreficienciahidrulica.
12. Resumirlosresultadosobtenidosenungrafico.
2.1.10.8 Prdidas por infiltracin en canales, las prdidas por infiltracin son la
principalraznporlacualsedebarevestiruncanal,laprdidadeaguadebeser
uncriterioquesedebedetenerconocidoyenloposiblecontrolado.
Estaprdidaencanalesnorevestidosdependedevariosfactoresentreloscuales
sobresalen:
Lasdimensionesdelcanal.
Lagradacindelmaterialperimetral.
Lascondicionesdelaguasubterrneaonivelfretico.
Paralavaloracincuantitativadelasprdidasporinfiltracin,sereconocenvarios
mtodos,loscualessondeorigenempricosebasanenobservacionesdirectasy
enregistroshistricosdeinfiltracionespresentesencanalesnorevestidosquese
encuentran bajo la accin del nivel fretico. Estos mtodos son descritos a
continuacin:
1. Balance de masa, este mtodo consiste en suspender
temporalmente el canal y dividirlo en secciones con volmenes
conocidosparaluegoaislarlos,sehacenlecturascorrespondientesa
lasprdidasdebidasalainfiltracinteniendocomocriterioelbalance
de masa. Se recomienda este mtodo paracanalesrevestidos y no
revestidos,hayquetenerencuentalosfactoresclimatolgicospara
aslograrunabuenalecturadelainfiltracin.
2. Aforo del caudal, este mtodo consiste en tomar una seccin del
canalenlacualserealizanlecturasdeentradaysalidadelflujo,se
tienendospuntosdereferencia.Estemtodotienelaventajaqueno
hay que suspender el funcionamiento del canal pero su precisin
estalimitadaalnumerodeensayosyalrigorconquesehagan.
3. Balancedemasainicial,estemtodotienecomoprincipioelbalance
de masa es decir elprimer mtodo, se utiliza en proyectos esdecir
cuandonoseharealizadoelcanalsehaceuntramocaractersticoel
cualsellenaysemidesuprdidademasaconrespectoaltiempo.
Tabla11Prdidasporinfiltracinencanalesendiversosmateriales,sinteneren
cuentaelnivelfretico.TomadodeHidrulicadecanalesabiertosdeCHOW.V.T
2000ydeHidrulicadecanalesabiertosdeFRENCH.R.H1998.
Prdidaporinfiltracin
Prdidaporinfiltracin
ft3AGUA
Materialperimetral
ft2PERIMETRO
paraun
m3AGUA
paraunperiodo
m2PERIMETRO
periodode24horas.
de24horas
0.250.35
0.07620.1069
0.350.50
0.10690.1524
0.500.75
0.15240.2286
cementada,arenayarcilla
0.751.00
0.22860.3048
Fondoarenoso
1.001.50
0.30480.4572
Suelosarenosossueltos
1.501.75
0.45720.5334
Sueloscongravasyarenas
2.002.50
0.60960.7620
Suelosporososcongravas
2.503.00
0.76200.9144
Sueloconmuchagrava
3.006.00
0.91441.829
Fondodelcanalarcilloso
Arcillas debajo de suelos a una
profundidad menor de (0.61
0.91)m.(23)ft.
Fondo arcilloso de suelo fino o
cenizadeorigenvolcnica
Fondoarcillosodesuelogruesoo
fondo arcillo arenoso, grava
2. Suprimirlasondulacionesylosvrtices.
3. Eliminarlaszonasconaguatranquilaoflujomuyretardado,puessecorre
el riesgo de que se presente acumulacin excesiva de material en
suspensin.
5. Debeevitarselaseparacindelflujodelasparedesdelcanal.
Losanteriorescriteriossonaplicablesentransicionescuandolostramosquese
van a empalmar son de baja pendiente, con rgimen subcrtico bajo estas
condiciones las prdidas hidrulicas por el cambio de seccin son relativamente
pequeas.
Paraeldiseodetransicionesconelcriterioeconmicopresente,sehanrealizado
varias investigaciones de las cuales sobresalen las realizadas por el U.S.
DepartmentofAgriculturebajoladireccindeScobeyen1933lasdesarrolladas
porelU.S.BureauofReclamationen1952ylashechasporVittal,Chiranjeevien
1983.
En el clculo hidrulico de una estructura de transicin con flujo subcrtico se
tienenlassiguienteshiptesis:
1. Lalnea de energa tienela misma pendiente en el tramo dela transicin,
no hay prdidas locales de energa, se puede calcularse por tramos
utilizandolaecuacindeManningoecuacin79.
2. Lavelocidadvaraenfuncindeladistancia,deestaformaloscoeficientes
de energa y de momemtum, ecuaciones 23 y 24, sern iguales a uno es
decir a = b = 1 .
3. Ladistribucindepresioneseshidrosttica,deestamaneraseomitenlos
efectosdelacurvatura.
4. Nosetieneencuentalaszonasdeseparacindeflujo.
Adems de las anteriores hiptesis las transiciones poseen las siguientes
caractersticasparasucorrespondienteclculo:
1. Proporcionamiento,estacaractersticafuemencionadaporCHOW.V.T,en
la cual plantea que el mximo ngulo ptimo entre el eje del canal y una
lneavirtualqueconectalosladosdelcanalentrelasseccionesdeentrada
ysalidadelcanalesde12.5.Talcomolomuestralafigura52,comose
menciono en los criterios de diseo los ngulos agudos producen
turbulenciamotivoporelcualsedebenevitar.
Figura 52 Mximo ngulo ptimo entre el eje de un canal y la seccin correspondiente a una
transicin
Eje
B1
B2
12.5
Lt
2. Separacindelflujo,paraminimizarlaseparacindelflujoenlatransicin,
serequiereunngulo,quesegnelprincipiodeproporcionamientoesentre
elejedelcanalyunalneavirtualqueconectalosladosdelcanalentrelas
seccionesdeentradaysalidadelcanal,estenguloserde12.5.
3. Prdidas, haciendo uso del criterio de prdidas de energa, se reconocen
dos tipos de prdida en una transicin las prdidas por friccin y las
prdidasportransicin.Lasprdidasporfriccinsepuedendeterminarcon
la ecuacin de Manning o ecuacin 79 y las prdidas por transicin, las
Dy = Dhv (1+ Ce )
Dondesetieneque:
Dy = Cadaenlasuperficiedelagua
Dh
v = Diferenciadeenergacintica
Ce =Coeficientedeprdidaporentrada
Los valores correspondientes al coeficiente de prdida por entrada Ce, se
muestranenlatabla12.
5. Prdidasportransicinenflujoretardado,sepresentanenlaestructurade
salida,sedicequeelflujoesretardadositienequelavelocidaddeentrada
es mayor que la velocidad de salida, entonces la velocidad del flujo
disminuye y la superficie del agua se levanta. La siguiente ecuacin
expresaestaprdidaportransicin:
.
Ecuacin135Prdidasportransicinenflujoretardado, V1 < V2
Dy = Dhv (1- Cs )
Dondesetieneque:
Dy = Cadaenlasuperficiedelagua
Dh
v = Diferenciadeenergacintica
Cs =Coeficientedeprdidaporsalida
Losvalorescorrespondientesalcoeficientedeprdidaporsalida Cs,semuestran
enlatabla12.
Tabla12Coeficientesdeprdidaportransicin.TomadodeHidrulicadecanalesabiertosde
CHOW.V.T2000ydeHidrulicadecanalesabiertosdeFRENCH.R.H1998
Tipodetransicin
Ce (Entradaocontraccin)
Cs (Salidaoexpansin)
Tipocurvado
0.10
0.20
Tipodecuadrante
0.15
0.25
0.20
0.30
Tipoenlnearecta
0.30
0.50
Tipodeextremos
0.30
0.75
cilndrico
Tiposimplificadoenlnea
recta
cuadrados
2.2 MARCOCONCEPTUAL
2.2.1 Canal, es la conduccin o conducto en el cual fluye un lquido, con una
superficielibreoconcontactoconlaatmsfera.
A.11.3.24Parmetrosdediseoparacanalesdeaguaslluvias
TituloBSISTEMASDEACUEDUCTO:
B.4.4.3Canalesdeaduccin
B.4.5.1Canales
B.4.6.3Canales
B.4.7.4Dragadodecanales
B.6.4.3Canalesaflujolibre
B.6.5.1Canalesaflujolibre
B.6.6.3Capacidadhidrulicadeloscanales
B.6.7.7Limpiezadecanales
TituloDSISTEMASDERECOLECCINYEVACUACINDEAGUAS
RESIDUALESDOMSTICASYPLUVIALES:
D.6.8CANALES
TituloGASPECTOSCOMPLEMENTARIOS:
G.2.5.4.2Rellenoparaestructurasyzanjas
2.3.2 NormastcnicasColombianas
1
RogerS.Presuman:IngenieradeSoftware:Unenfoquepractico:McGrawHill,2002p.92
NTC 3705 Gestin Ambiental. Agua. Medicin de flujo de agua en canal abierto
convertederosdeplacafina.
NTC 3933 Agua. Mtodo estndar para medicin del flujo de agua en canal
abierto,concanaletasParshall.
NTC 3945 Agua. Mtodo estndar para medicin del flujo en canal abierto
medianteelementosrotativosmolinetes.
2.3.3 NormastcnicasISO
ISO 4633 Juntas de estanqueidad de caucho Guarniciones de juntas de
canalizacionesdealimentacinyevacuacindeaguas(Alcantarilladosincluidos
Especificacindemateriales)
3. METODOLOGA
3.1 DISEODELAINVESTIGACIN
FASESDELAINVESTIGACIN
FASE1:
Diseodecanales,mtodosutilizados.
Serecolectolainformacinexistentealrespecto.
FASE2:
Softwareutilizadoenlahidrulicadecanales.
Seorganizarlainformacinrecolectada.
Sebuscolaorientacindeperitosoespecialistasenlostemasadesarrollar.
FASE3:
Se Identificaron los tipos de canales mas utilizados en las obras civiles bien
seapormotivoseconmicos,tcnicos.
Serealizarbasesdedatosaplicablesaldiseodecanalesyalahidrulicade
canales.
FASE4:
Analizaryprocesarlosdatosobtenidos,parabrindarrespuesta.
Seelaboraron,conlosdatosdelasvisitas,modelaciones,basesdedatos,los
algoritmos que sern el pilar donde se edificara el software para eldiseo de
canales.
softwareyelprocesodeinvestigacinconlainformacinrecolectadaporestas
pruebas.Estaspruebasserealizaronconestudiantesqueestabantomandola
ctedradehidrulicacanales.
Sebrindoelsoftwarecomoherramientaenlahidrulicadecanales.
3.2 ObjetodeEstudio
3.3 VARIABLES
Cuadro1.Anlisisdelasvariables
CATEGORADE
ANLISIS
VARIABLE
Propiedadesdelflujo
abierto
Elflujo
Propiedadesdelas
seccionestransversalesde
loscanales
Laprofundidad
Tiposdeflujo
Laprofundidad
INDICADORES
Energaespecifica
Fuerzaespecifica
Distribucindepresiones
Distribucindevelocidades
reamojada
Radiohidrulico
Permetromojado
Flujonormal
Flujocritico
Flujovariado
Diseodecanales
Laprofundidad
Fuerzatractiva
Velocidadpermisible
Seccinhidrulicaoptima
Seccinhidrulicaestable
Bordelibre
Diseodetransiciones
Laprofundidad
Lasperdidasdeenerga
Perdidasportransicin
Elproporcionamiento
4. TRABAJOINGENIERIL
4.1 DESARROLLO
4.1.1 Identificacindellenguajedeprogramacin
4.1.2 Identificacindelosprincipiosfsicosydefinicionesqueintervienenenel
diseo.
Losprincipiosfsicosqueintervieneneneldiseodecanalesson:
Continuidaddelflujo
Energaespecifica
Distribucindevelocidadesenlaseccindeuncanal
Energacinticadeunflujo
Momemtum
Distribucindepresionesenlaseccindeuncanal
Fuerzahidrosttica
Fuerzatractiva
Esfuerzotractivo
ElcoeficientedeenergaocoeficientedeCoriolis,ecuacin23.
ElcoeficientedemomentumocoeficientedeBoussinesq,ecuacin24.
Laecuacindeenergaespecifica,ecuacin36.
Laecuacindeenergaespecificaparacanalesrectangulares,ecuaciones
36,37,38,39y40.
Laecuacingeneraldelflujocritico,ecuacin43.
Estadocriticodeflujo,ecuacin44.
Laprofundidadcrticaenuncanaldeseccinrectangular,ecuacin47.
Laenergamnimaenuncanaldeseccinrectangular,ecuacin48.
LaecuacinProfundidadcriticadeflujodeuncanal,enfuncindelcaudal
unitario,ecuacin60ylaecuacindefuerzaespecficamnima,ecuacin
61.Sedemuestrandeformasimultaneaenelnumeral2.1.8.5.4.
Laperdidadeenergaenunresaltosedemuestraenelnumeral2.1.8.6del
presentedocumento,ecuacin64.
4.1.3 Identificacindelosprincipalesmtodosdediseodecanales
Secitaronlosmtodosparaeldiseodecanalessegneltipodecanaladisear,
estos mtodos se nombraron en los numerales 2.1.10.6 y 2.1.10.7 del presente
escrito,setieneencuentalasespecificacionesnecesariasparasubuenuso.Se
tuvoencuentalossiguientesmtodos:
Seccinhidrulicamenteoptima
Mtododelavelocidadmximapermisible
Mtododelafuerzatractiva
Mtododelaseccinhidrulicamenteestable
4.2 Software
Elsoftwaretienelassiguientescaractersticas,esdecirsusaplicacionesson:
Calculaloselementosgeomtricosdelasprincipalesseccionesdecanales.
Calculaelflujocrticoparalasseccionesdeloscanalesmsusuales.
Calculaelflujonormalparalasseccionesdeloscanalesmsusuales.
Calculaelbordelibreparaeldiseodecanales.
Diseacanalesrevestidosyerosionablesparalaseccintrapezoidal.
Generagrficosdondesevisualizanlosresultados.
Generasimulacionesdelosresultadosen3D,dondesepuedeapreciarlos
resultados
ParaunanlisismsdetalladoVeranexo1SoftwareOpenFlorUnisalle.
4.2.1 Ejemploparaelcalculodelafuerzaespecificaenunaseccin
rectangular.
Imagen6Clculodelafuerzaespecificaparauna seccinrectangularenelsoftwareOpenFlow
Unisalle.
Imagen7Clculodelafuerzaespecificaparauna seccinrectangularenelsoftwareOpenFlow
Unisalle,datosdeentrada.
Imagen8Clculodelafuerzaespecificaparauna seccinrectangularenelsoftwareOpenFlow
Unisalle,datosdesalida.
4.2.2 Ejemploparaeldesarrollodeunapracticadelaboratorio.
Imagen9Aplicacinparaellaboratoriodehidrulicadecanales,practicaGeometradelaseccin,
curvadeenergayfuerzaespecificaenelsoftwareOpenFlowUnisalle,preliminares.
4.3 MANUALDEUSUARIOOPENFLOWUNISALLE
4.4 DOCUMENTOESCRITODIGITALIZADO
El documento escrito esta en formato .PDF, este documento se visualiza toda la
informacin pertinente alpresenteproyecto,mas una copia delcdigo fuente del
programa.ParaunanlisismsdetalladoVeranexo3Documentoescritodigital.
4.5 CODIGOFUENTE
5. COSTOSTOTALESDELAINVESTIGACIN
5.1 RECURSOSMATERIALES
Tabla13Recursosmateriales.
VALOR
CONCEPTO
UNIDAD
CANTIDAD
VALORUNITARIO($)
TOTAL($)
USB
UN
$60.000
$180.000
Resmapapelcarta
UN
$8.800
$8.800
Cartuchosdetinta
UN
$25.000
$25.000
Fotocopias
GL
$30.000
$30.000
Esferos
UN
20
$750
$15.000
Portaminas
UN
$2.500
$15.000
Minas
UN
$1.000
$9.000
Transporte
UN
$100.000
$500.000
Celular
GL
$250.000
$250.000
Alimentacin
UN
60
$3.500
$210.000
Internet
Hr
30
$2.000
$60.000
CD
UN
100
$500
$50.000
Lenguajedeprogramacin
GL
$800.000
$800.000
Varios
GL
$300.000
$300.000
TOTAL
$2.452.800
5.2 RECURSOSINSTITUCIONALES
Tabla14Recursosinstitucionales.
INSTITUCIN
UNIVERSIDADDELASALLE
UNIVERSIDADNACIONALDECOLOMBIA
UNIVERSIDADDELOSANDES
PONTIFICIAUNIVERSIDADJAVERIANA
UNIVERSIDADCATOLICADECOLOMBIA
TUXSTONETechnologies
5.3 RECURSOSTECNOLGICOS
Tabla15Recursostecnolgicos.
CONCEPTO
UNIDAD
CANTIDAD
VALORUNITARIO($)
VALORTOTAL($)
Computador
Hr
300
$1.500
$450.000
videosySonido
UN
$250000
$250.000
TOTAL
$700.000
5.4 RECURSOSHUMANOS
Tabla16Recursoshumanos
No.HORAS
No.
TOTAL
VALOR
VALOR
PORSEMANA
SEMANAS
HORAS
HORA($)
TOTAL($)
16
64
1712.5
$109.600
16
64
$21.000
$640.000
CARGO
Director
temtico
Asesor
metodolgico
TOTAL
$749.600
5.5 RECURSOSFINANCIEROS
Tabla17Recursosfinancieros
FUENTESDEFINANCIACIN
APORTESDELAUNIVERSIDADDE
RUBROS
LASALLE
INVESTIGADORES
TOTAL
FACULTADDEINGENIERACIVIL
Recursos
$
$2.452.800
Materiales
2.452.800
Recursos
$700.000
$700.000
Tecnolgicos
RecursosHumanos
$749.600
$749.600
Subtotal
$749.600
$3.152.800
$3.902.400
Imprevistos(5%)
$37.480
$157.640
$195.120
$
TOTAL
4.097.520
6. CONCLUSIONES
Estoselementosgeomtricosentreganinformacindeprimerordenacerca
delascaractersticasmismasdelcanal.
7. En un canal circular de dimetro do, la descarga mxima ocurre
aproximadamente para una profundidad de flujo igual a y = 0.938do, y la
velocidadmximaestaubicadaaunaprofundidaddeflujoigualy=0.81do..
8. En un canal generalmente la velocidad mxima ocurre debajo de la
superficielibredelaguaaunadistanciaquevariaentrelos0.05a0.25dela
profundidad y .
9. El coeficiente de Coriolis para un flujo libre varia entre 1.1 y 2.0, datos
experimentales hablan de valores que se mueven entre 1.03 y 1.36 para
canales prismticos casi rectos, en general el valor es alto para canales
pequeosybajoparacorrientesgrandesconprofundidadconstante.Aguas
arriba de vertederos, cerca de obstrucciones o cerca de irregularidades
pronunciadasenelalineamientosehanobservadovaloresde>2.
10. ElcoeficientedeMomemtumtomavaloresquevandesde1.01hasta1.12
encanalesprismticosaproximadamenterectos,enflujolibreelcoeficiente
variaentre1.03y1.33.
11. Sisepresentauncanaldondelapendientedelfondoseapequea,menor
queel10%,elfactordecorreccindepresinporefectodelapendiente,se
puededespreciar.
12. Loscanalesnosedebedisearcanalesconflujocritico,puesesteflujoes
inestableyproduceoscilacionesdelflujoquepuedenserperjudicialespara
laestructura.
13. Elcoeficiente C deresistenciaalflujoenlaecuacindeChzy,hatenido
un gran nmero de aproximaciones o soluciones que han contado con el
trabajo de notables investigadores de la hidrulica, de los cuales resaltan
los trabajos de Manning, Kutter Ganguillet, Kutter, Bazin, Darcy
Weisbach.
14. La eleccin del coeficiente C de resistencia al flujo en la ecuacin de
Chzy, depende deldiseador oingeniero, y esta se cuantifica en el nivel
deconocimientodelmismo.
15. Los canales se disean en flujo uniforme, y la ecuacin de mayor
aceptacineslaecuacindeManning.
16. Durante el diseo de un canal abierto la seccin transversal del canal, la
rugosidad y la pendiente del fondo del canal son conocidas, el objetivo
primordial del diseo es determinarla magnitud de la velocidad media del
flujo,laprofundidadyelcaudalseaconocidocualquieradeellos.
17. Eneldiseodecanalessedebetenerencuenta,algunosdelossiguientes
criterios,talescomo:
ELcanalsediseaportramosconflujouniforme
Encanalesdetransporteseprefierenzonasdebajapendiente
Informacinbsicadediseo,esaquellainformacinconlacualse
debe dimensionar los alcances del proyecto, se encuentra
informacin relativa del rea de influenza del canal as como de la
poblacinabeneficiar.
Parmetrosbsicosdediseo,sonaquellascaractersticasdelcanal
que lo hacen estable e hidrulicamente optimo a esta categora
pertenecen variables como, la seccin hidrulica optima, fuerza
tractiva, la velocidad mxima permisible, la velocidad mnima
permisible, pendientes de fondo y laterales en el caso de canales
trapezoidales, borde libre, la altura y espesor de recubrimiento en
canalesrevestidos.
18. La informacin bsica del dise se agrupan los datos que permiten
predefinir caractersticas del dise como son el caudal de dise, la
pendiente del canal y capacidad de transporte, tal como se muestra a
continuacin:
Hidrologa,definelasvariableshidrolgicascomoprecipitacinpara
conocer el caudal disponible enla fuente ofuentes de agua que se
vanaaprovechar.
del
proyecto
canales
para
riego,
centrales
hidroelctricas,drenaje,recreacin,transporte.
19. Losparmetrosdediseosonaquellascaractersticasqueelcanaldebede
cumplir para que este sea estable e hidrulicamente ptimo, algunos de
estosparmetrosson:
Coeficientederugosidad:dependedeltipodematerialydelacabado
delrevestimientodelcanal.
Coeficientedepermeabilidad:sedeterminaparaelsuelonaturalen
queseexcavaelcanalhaciendopruebas"insitu"oenlaboratorio.
22. Este proyecto deja las bases y los precedentes necesarios para su
ampliacin, pues se observo que aun hay procesos del diseo que
requieren grficos desarrollados de manera emprica creados en dcadas
pasadasyquenosedescribenbajoningunarelacinmatemtica.
23. Unapoderosaherramientaparaelaprendizajeyelestudiodelahidrulica
de canales son los paquetes informticos, como son los programas de
computadora o software. Con el anterior proyecto se demuestra esta
hiptesis pues a nivel personal se logro descubrir y ampliarlos conceptos
quepermanecanremanentesencadaintegrantedelequipo.
7. RECOMENDACIONES
y yC .
8. Antes de disear un canal por cual quiera de los mtodos que se
presentaron,sedebehacerunaevaluacindelosrequisitosylasvariables
dediseoconocidas,ascomodelasseleccionadas.
9. Para la utilizacin adecuada del software se requiere un conocimiento
bsico de la hidrulica de canales, por este motivo se desarrollo en este
proyecto de forma paralela el documento escrito donde se renen los
conceptos bsicos para su estudio y posterior utilizacin, que seria el
diseodecanales.
BIBLIOGRAFA
CEBALLOS,FranciscoJavier.MicrosoftVisualC++6aplicacionesparaWin32,
segundaedicin.MxicoAlfaomega.2000.
COHEN,Alan:Estructura,lgicaydiseodeprogramas.Paraninfo,1986
CHOW,VenTe.HidrulicadeCanalesAbiertos.McGrawHill.2000
FRENCHH,Richard.Hidrulicadecanalesabiertos,primeraedicin.Mxico
McGrawHill.1988.
HERNANDEZSAMPIERI,Roberto.FERNANDEZCOLLADO,Carlos.BATISTA
LUCIO, Pilar. Metodologa de la investigacin, segunda edicin. Mxico
McGrawHill.1998.
NAUDASCHER,Eduard.Hidrulicadecanales,segundareimpresin.Mxico
editoriallimusa.
PRESSMMANROGER,S.Ingenieradelsoftware.Unenfoqueprctico,quinta
edicin.McGrawHill,2002.
TAMAYOYTAMAYO,Mario.Elprocesodelainvestigacincientfica.Mxico:
Limusa,1986.p.41
UNISALLE,Manualdelaboratoriodehidrulicadecanales.2006.
URRUTIACOBON.HidrulicadeCanales.UniversidaddelValle
ANEXOS
ANEXO1SOFTWAREOPENFLOWUNISALLE
ANEXO2MANUALDEUSUARIOOPENFLOWUNISALLE
ANEXO3DOCUMENTOESCRITODIGITAL
ANEXO4CODIGOFUENTE
NilaUniversidad,nieldirectortemtico,nilaasesorametodolgica,nieljuradocalificadorsonresponsables
delasideasexpuestasporlosautores.
1. FLUJOCRTICO
1.1
1.2
1.3
3
5
8
SECCION RECTANGULAR
SECCION TRAPEZOIDAL
SECCION TRIANGULAR
2. FUERZAESPECFICA
11
2.1
2.2
2.3
2.4
11
12
14
16
SECCION RECTANGULAR
SECCION TRAPEZOIDAL
SECCION TRIANGULAR
SECCION CIRCULAR
3. FLUJOUNIFORME
20
3.1
3.2
3.3
20
23
27
SECCION RECTANGULAR
SECCION TRAPEZOIDAL
SECCION TRIANGULAR
4. BORDELIBRE
31
4.1
31
BORDE LIBRE
5. ELEMENTOSGEOMETRICOS
33
5.1
5.2
5.3
5.4
33
35
38
40
SECCION RECTANGULAR
SECCION TRAPEZOIDAL
SECCION TRIANGULAR
SECCION CIRCULAR
6. DISEODECANALES
44
44
44
61
61
7. LABORATORIOS
85
85
85
124
125
125
126
180
180
8. CRITERIOSDEDISEO
182
8.1
TODO SOBRE.
182
9. ANIMACIONES
192
9.1
9.2
9.3
9.4
SECCION RECTANGULAR
SECCION TRAPEZOIDAL
SECCION TRIANGULAR
SECCION CIRCULAR
192
192
192
192
10.
EJERCICIOSDEAPLICACION
194
10.1
10.2
10.3
11.
11.1
12.
PROFUNDIDADES ALTERNAS
PROFUNDIDAD CRTICA
RESALTO HIDRAULICO
194
201
209
GLOSARIO
217
HIDRAULICA DE CANALES
217
ACERCADE..
231
12.1 AYUDA
12.1.1 DEL PROGRAMA
12.2 AGRADECIMIENTOS
231
231
231
13.
235
13.1
SALIR
ESTA SEGURO DE SALIR?
235
1. FLUJOCRTICO
1.1 SECCIONRECTANGULAR
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form10.Show
Else
IfB=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form10.Show
Else
IfG=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form10.Show
Else
Y=Round((CCur(Q)^2/(CCur(G)*CCur(B)^2))^(1/3),3)
A=Round(CCur(B)*CCur(Y),3)
V=Round(CCur(Q)/CCur(A),3)
E=Round(CCur(Y)+CCur(V)^2/(2*CCur(G)*CCur(A)^2),3)
Y1=Y
A1=A
Frame8.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
Image1.Visible=False
Image2.Visible=True
Label5.Visible=True
Y.Visible=True
Y1.Visible=True
A.Visible=True
A1.Visible=True
V.Visible=True
E.Visible =True
EndIf
EndIf
EndIf
EndSub
PrivateSubG_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubHJDHSDHJSHDJ_Click()
End
EndSub
PrivateSubHJDHSHDSD_Click()
Form10.PrintForm
EndSub
PrivateSubIJIFJDIFJID_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubIJIJIJISDSDJD_Click()
Q=""
B=""
G=""
Y.Visible=False
Y1.Visible=False
A.Visible=False
A1.Visible=False
V.Visible=False
E.Visible=False
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
Image1.Visible= True
Image2.Visible=False
Label5.Visible=False
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubSKLKLDKFL_Click()
Form19.Show
UnloadMe
EndSub
1.2 SECCIONTRAPEZOIDAL
PrivateSubB_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form12.Show
Else
IfB=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form12.Show
Else
IfG=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form12.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form12.Show
Else
Y=(Q)+(100)
K=((Q^2))/(G)
FX=((B*Y)+(Z*Y^2))^3 (K*B) (2*Z*K*Y)
FY=3*(B*Y+Z*Y^2)^2*(B+2*Y*Z) (2*Z*K)
XN=Y (FX/FY)
ForI=1To100
FX=(B*XN+Z*XN^2)^3 (K*B) (2*Z*K*XN)
FY=3*(B*XN+Z*XN^2)^2*(B+2*XN*Z) (2* Z*K)
XN=XN (FX/FY)
NextI
RTA=Round(XN,3)
A=Round((B+Z*XN)*XN,3)
T=Round(B+2*Z*XN,3)
V=Round(Q/A,3)
E=Round(XN+V^2/(2*G*A^2),3)
Y2=RTA
A2=A
Frame8.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
Image1.Visible=False
Image2.Visible=True
Label5.Visible=False
Label10.Visible=False
Label11.Visible=False
Label12.Visible=True
RTA.Visible=True
A.Visible=True
V.Visible= True
E.Visible=True
Y2.Visible=True
A2.Visible=True
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubG_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubJHJHDHJHDD_Click()
Form12.PrintForm
EndSub
PrivateSubJKKKLKLK_Click()
Q=""
B=""
G=""
Z=""
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
Image1.Visible=True
Image2.Visible=False
Label5.Visible=True
Label10.Visible=True
Label11.Visible=True
Label12.Visible=False
RTA.Visible=False
A.Visible=False
V.Visible=False
E.Visible=False
Y2.Visible=False
A2.Visible=False
EndSub
PrivateSubLSKDLKSLDK_Click()
End
EndSub
PrivateSubOKOKOKO_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.", Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubSLKDLSKLSK_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
1.3 SECCIONTRIANGULAR
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form13.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form13.Show
Else
IfG=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form13.Show
Else
Y=Round(Q^(2/5)*2^(1/5)/(G^(1/5)*Z^(2/5)),3)
A=Round(Z*Y^2,3)
V=Round(Q/A,3)
E=Round(Y+(V^2/(2*G*A^2)),3)
A2=A
Y2=Y
Image1.Visible=False
Image2.Visible=True
Label3.Visible=False
Label5.Visible=False
Label10.Visible=True
Frame8.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
Y.Visible=True
A.Visible=True
A2.Visible=True
Y2.Visible=True
V.Visible=True
E.Visible=True
EndIf
EndIf
EndIf
EndSub
PrivateSubFDKJKFLDKLFSDK_Click()
Q=""
G=""
Z=""
Image1.Visible=True
Image2.Visible=False
Label3.Visible=True
Label5.Visible=True
Label10.Visible=False
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
Y.Visible=False
A.Visible=False
A2.Visible=False
Y2.Visible=False
V.Visible=False
E.Visible =False
EndSub
PrivateSubG_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubJKSJKSJ_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubKDFJKLDJSFKLJSDKL_Click()
End
EndSub
PrivateSubLSDKSLDSL_Click()
Form13.PrintForm
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubSKJDKSJDKSJ_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
10
2. FUERZAESPECFICA
2.1 SECCIONRECTANGULAR
PrivateSubB_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
If InStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form2.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form2.Show
Else
IfB=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form2.Show
Else
RTA=Round(Q^2/(B*Y*9.81)+B*Y^2/2,3)
Frame5.Visible=True
RTA.Visible=True
EndIf
EndIf
EndIf
EndSub
PrivateSubGHGFHGHG_Click()
Q=""
B=""
Y=""
RTA=""
Frame5.Visible=False
11
RTA.Visible=False
EndSub
PrivateSubLLKLK_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubMJKJKJK_Click()
End
EndSub
PrivateSubMJKJKKJK_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubNMNMNM_Click()
Form2.PrintForm
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
2.2 SECCIONTRAPEZOIDAL
PrivateSubB_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
12
EndSub
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form3.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form3.Show
Else
IfB=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form3.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,
"ERRORDECOMPLETACION"
Form3.Show
Else
RTA=Round(Q^2/((2*Z*Y+B+B)/2*Y*9.81)+1/3*Y*((2*(2* Z*Y+B)+B)/(2*
Z*Y+B+B))*(2*Z*Y+B+B)/2*Y,3)
Frame6.Visible=True
Frame7.Visible=True
RTA.Visible=True
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubJJHJHJHJ_Click()
End
EndSub
PrivateSubJKJKJKJKJ_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubJKSJJDSJDSD_Click()
13
Form19.Show
UnloadMe
EndSub
PrivateSubKDFNKDJFKJDKF_Click()
Form3.PrintForm
EndSub
PrivateSubLKLKKLKL_Click()
RTA=""
Q=""
B=""
Y=""
Z=""
Frame6.Visible=False
RTA.Visible=False
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
2.3 SECCIONTRIANGULAR
PrivateSubCommand1_Click()
14
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form4.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form4.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form4.Show
Else
RTA=Round(Q^2/(Z*Y^2*9.81)+2*Z*Y^3/3,3)
Frame7.Visible=True
Frame6.Visible=True
RTA.Visible=True
EndIf
EndIf
EndIf
EndSub
PrivateSubJDKJSDJSK_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKKOKOKOK_Click()
End
EndSub
PrivateSubMKDJCKDJKF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubMKSKJDKF_Click()
Form4.PrintForm
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
15
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubSKJDSJD_Click()
RTA=""
Q= ""
Y=""
Z=""
Frame7.Visible=False
Frame6.Visible=False
RTA.Visible=False
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
2.4 SECCIONCIRCULAR
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form5.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form5.Show
16
Else
IfD=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form5.Show
Else
x= (1 (2*Y/D))
PI=3.14159265358979
Z=(x+0.5*(x^3/3)+(3*x^5/40)+(15*x^7/336))
Z=(PI/2) Z
TE=Z*2
IfTE>PIThen
TE=(TE*180)/PI
RTA=Round(Q^2/(1/8*(TE*PI/180 Sin(TE*(PI/180)))*D^2*9.81)+1/8*(TE*PI/
180 Sin(TE*(PI/180)))*D^2*(D ((D/2 D*Sin((360 TE)*(PI/180)/2)/(3*((360 TE)*
PI/180)/2))*((360 TE)*PI/180/2*D^2/4) (D/2 Cos((360 TE)*(PI/180)/2)*D/2+1
/3* (Cos((360 TE)*(PI/180)/2)*D/2))*(Sin((360 TE)*(PI/180)/2)*D*(Cos((360 TE)*
(PI/180)/2)*D/2)/2))/((360 TE)*PI/180/2*D^2/4 Sin((360 TE)*(PI/180)/2)*D*
(Cos((360 TE)*(PI/180)/2)*D/ 2)/2)),3)
Frame6.Visible=True
Frame7.Visible=True
RTA.Visible=True
Else
TE=(TE*180)/PI
RTA=Round((Q)^2/(1/8*(TE*PI/180 Sin(TE*(PI/180)))*(D)^2*9.81)+1/8*(TE*PI/
180 Sin(TE*(PI/180)))*(D)^2*(((D)/2 (D)*Sin((TE*(PI/180))/2)/(3*(TE*PI/180)/
2))*(TE*PI/180/2*(D)^2/4) ((D)/2 Cos((TE*(PI/180))/2)*(D)/2+1/3*(Cos((TE*
(PI/180))/2)*(D)/2))*(Sin((TE*(PI/180))/2)*(D)*(Cos((TE *(PI/180))/2)*(D)/2)/2))/
(TE*PI/180/2*(D)^2/4 Sin((TE*(PI/180))/2)*(D)*(Cos((TE*(PI/180))/2)*(D)/2)/
2),3)
Frame6.Visible=True
Frame7.Visible=True
RTA.Visible=True
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubD_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
17
EndSub
PrivateSubDKKOKOKOK_Click()
End
EndSub
PrivateSubJIJIJIJIIJIJI_Click()
Form5.PrintForm
EndSub
PrivateSubJUIIJJIJIJI_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubMKMKKMKMK_Click()
Q=""
Y=""
D=""
RTA=""
Frame6.Visible=False
Frame7.Visible=False
RTA.Visible=False
EndSub
PrivateSubLLL_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
18
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8 Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
19
3. FLUJOUNIFORME
3.1 SECCIONRECTANGULAR
PrivateSubB_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form6.Show
Else
IfB=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form6.Show
Else
IfS=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form6.Show
Else
IfN=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form6.Show
Else
Y=Q+10000
K=((Q*N)/(S^(0.5)))^(1.5)
FX= (B*Y)^(2.5) K*(B+2*Y)
FY=2.5*B^(2.5)*Y^(1.5) K 2*K
XN=Y (FX/FY)
IfXN=YThen
RTA=XN
20
EndIf
ForI=1To200
FX=(B*XN)^(2.5) K*(B+2*XN)
FY=2.5*B^(2.5)*XN^(1.5) K 2*K
XN=XN (FX/FY)
NextI
RTA=Round(XN,3)
Y1=RTA
P=Round(B+2*RTA,3)
P1=P
A=Round(B*RTA,3)
A1=A
R=Round(A/P,3)
V=Round(Q/A,3)
Command1.Visible=False
Frame8.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
Frame13.Visible=True
Image1.Visible=False
Image2.Visible=True
Label11.Visible=True
RTA.Visible=True
Y1.Visible=True
A.Visible=True
A1.Visible=True
P.Visible =True
P1.Visible=True
R.Visible=True
V.Visible=True
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubText1_Change()
EndSub
21
PrivateSubText1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText2_Change()
EndSub
PrivateSubText2_KeyPress(KeyAsciiAsInteger)
EndSub
PrivateSubDLSKFLDLFK_Click()
MDIForm1.Show
UnloadMe
EndSub
Private SubKJKJKJKJKD_Click()
End
EndSub
PrivateSubKLDFDFKLDFJ_Click()
Q=""
S=""
N=""
B=""
Command1.Visible=True
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
Frame13.Visible=False
Image1.Visible=True
Image2.Visible=False
Label11.Visible=False
RTA.Visible=False
Y1.Visible=False
A.Visible=False
A1.Visible=False
P.Visible=False
P1.Visible=False
22
R.Visible=False
V.Visible=False
EndSub
PrivateSub KSMKSJDKJSK_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLJDKFLKKL_Click()
Form6.PrintForm
EndSub
PrivateSubN_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubS_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
3.2 SECCIONTRAPEZOIDAL
PrivateSubB_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
23
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form7.Show
Else
IfB=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form7.Show
Else
IfS=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form7.Show
Else
IfN=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form7.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,
"ERRORDECOMPLETACION"
Form7.Show
Else
Y=Q+10000
K=((Q*N)/(S^(0.5))) ^(1.5)
FX=((B*Y+Z*Y^2)^(2.5)) (K*B) (2*K*Y*(1+Z^2)^(0.5))
FY=(2.5*(B*Y+Z*Y^2)^1.5*(B+2*Z*Y)) 2*K*(1+Z^2)^0.5
XN=Y (FX/FY)
IfXN=YThen
RTA=XN
EndIf
ForI=1 To200
24
25
PrivateSubKJKJKJKJK_Click()
Form7.PrintForm
EndSub
PrivateSubKJKJKJXCCD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubN_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubOKOKOKOKOKD_Click()
Q=""
S=""
N=""
B=""
Z=""
Command1.Visible=True
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
Frame6.Visible=False
RTA.Visible=False
A.Visible=False
P.Visible=False
R.Visible=False
V.Visible=False
Image1.Visible=True
Image2.Visible=False
Label13.Visible=False
A1.Visible=False
Y1.Visible=False
P1.Visible=False
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
26
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubS_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubSDSDSDSDSD_Click()
End
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
3.3 SECCIONTRIANGULAR
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form8.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form8.Show
Else
IfS=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form.Show
Else
27
IfN=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form8.Show
Else
Y=Q+10000
K=((Q*N)/(S^(0.5)))^(1.5)
FX=(Z^2.5*Y^5) (2*Y*K*(1+Z^2)^(0.5))
FY= 5*Z^2.5*Y^4 2*K*(1+Z^2)^0.5
XN=Y (FX/FY)
IfXN=YThen
RTA=XN
EndIf
ForI=1To200
FX=(Z^2.5*XN^5) (2*XN*K*(1+Z^2)^(0.5))
FY=5*Z^2.5*XN^4 2*K*(1+Z^2)^0.5
XN=XN (FX/FY)
NextI
RTA=Round(XN,3)
Y1=Round(RTA,2)
A=Round(Z*RTA^2,3)
A1=Round(A,2)
P=Round(2*RTA*(1+Z^2)^0.5,3)
P1=Round(P,2)
R=Round(A/P,3)
V=Round(Q/A,3)
Frame8.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
Frame13.Visible=True
RTA.Visible=True
A.Visible=True
P.Visible=True
R.Visible=True
V.Visible=True
28
Image1.Visible=False
Image2.Visible=True
P1.Visible=True
Y1.Visible=True
A1.Visible=True
Label12.Visible=True
Command1.Visible=False
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubJIJIJIIJI_Click()
Form8.PrintForm
EndSub
PrivateSubJKJKJKJ_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKJKJSKDSD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLKKLKLK_Click()
End
EndSub
PrivateSubMKJKJKJK_Click()
Q=""
S=""
N=""
Z=""
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
Frame13.Visible=False
RTA.Visible=False
A.Visible=False
P.Visible=False
R.Visible=False
V.Visible=False
29
Image1.Visible=True
Image2.Visible=False
P1.Visible=False
Y1.Visible=False
A1.Visible=False
Label12.Visible=False
Command1.Visible=True
EndSub
PrivateSubN_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubS_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
30
4. BORDELIBRE
4.1 BORDELIBRE
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form11.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form11.Show
Else
RTAC=Round((CCur(Q)*35.314667 20)/2980+1.5,4)
F=Round((CCur(RTAC)*CCur(Y)*3.2808)^(0.5)*0.3048,3)
YT=Round(CCur(Y)+CCur(F),3)
F1=F
YT1=YT
Y1=Y
Frame8.Visible=True
Frame11.Visible=True
Frame12.Visible=True
F.Visible=True
YT.Visible=True
F1.Visible=True
YT1.Visible=True
Y1.Visible=True
Image1.Visible=True
Image2.Visible=False
Label3.Visible=False
EndIf
EndIf
EndSub
PrivateSubDLKLDFKLDKF_Click()
Form11.PrintForm
EndSub
PrivateSubJKJDLLOL_Click()
Q=""
Y=""
Frame8.Visible=False
Frame11.Visible=False
Frame12.Visible=False
Image1.Visible=False
Image2.Visible=True
31
F1.Visible=False
YT1.Visible=False
Y1.Visible=False
Label3.Visible=True
EndSub
PrivateSubJKSJKDJSK_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLKLKKL_Click()
End
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubSFGGHGHJ_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
End If
EndIf
EndSub
32
5. ELEMENTOSGEOMETRICOS
5.1 SECCIONRECTANGULAR
PrivateSubB_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii= 0
EndIf
EndIf
EndSub
PrivateSubCommand1_Click()
IfB=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form15.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form15.Show
Else
A=Round(B*Y,3)
A11=A
P=Round(B+2*Y,3)
P1=P
R=Round((B*Y)/(B+2*Y),3)
T=Round(B,3)
T1=T
D=Round(Y,3)
D1=D
Z=Round(B*Y^1.5,3)
Frame8.Visible=True
Frame5.Visible=True
Frame6.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
A.Visible=True
A11.Visible=True
P.Visible=True
P1.Visible=True
R.Visible=True
33
T.Visible=True
T1.Visible=True
D.Visible=True
D1.Visible=True
Z.Visible=True
Image1.Visible=False
Image2.Visible=True
Label5.Visible=False
Label3.Visible=False
Label10.Visible=True
EndIf
EndIf
EndSub
PrivateSub GTYTYTYTYT_Click()
End
EndSub
PrivateSubJKDFJKDJFKDJ_Click()
B=""
Y=""
Frame8.Visible=False
Frame5.Visible=False
Frame6.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
A.Visible =False
A11.Visible=False
P.Visible=False
P1.Visible=False
R.Visible=False
T.Visible=False
T1.Visible=False
D.Visible=False
D1.Visible=False
Z.Visible=False
Image1.Visible=True
Image2.Visible=False
Label5.Visible=True
Label3.Visible=True
Label10.Visible=False
EndSub
PrivateSubLKFLDKFLDKLF_Click()
Form19.Show
UnloadMe
EndSub
34
PrivateSubLSDKDFLDKFLDK_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubXKFJDKLFJKLSDJFKL_Click()
Form15.PrintForm
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
5.2 SECCIONTRAPEZOIDAL
PrivateSubB_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubCommand1_Click()
IfB=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form16.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form16.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form16.Show
Else
35
A=Round((B+Z*Y)*Y,3)
A3=A
P=Round(B+2*Y*Sqr(1+Z^2)*B+2*Y,3)
P2=P
R=Round((B+Z*Y)*Y/(B+2*Y*((1+Z^2)^(0.5))),3)
T=Round(B+(2*Z *Y),3)
T2=Round(T,3)
D=Round(((B+Z*Y)*Y)/(B+2*Z*Y),3)
D2=D
Z1=Round(((B+Z*Y)*Y)^1.5/(B+(2*Z*Y))^(0.5),3)
Z2=Z1
Frame8.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
Frame5.Visible=True
Frame6.Visible=True
A.Visible=True
A3.Visible=True
P.Visible=True
P2.Visible=True
R.Visible=True
T.Visible=True
T2.Visible=True
D.Visible=True
D2.Visible=True
Z1.Visible=True
Image1.Visible=False
Image2.Visible=True
Label3.Visible=False
Label10.Visible=False
Label13.Visible=False
Label5.Visible=False
Label14.Visible=True
EndIf
EndIf
EndIf
EndSub
PrivateSubJKJSUYYYY_Click()
End
EndSub
PrivateSubKDJFDJKFJDK_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubKLDKDFKSDFKDLF_Click()
36
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKSJSKKSKSKSKSSSS_Click()
B=""
Y=""
Z=""
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
Frame5.Visible=False
Frame6.Visible=False
A.Visible=False
A3.Visible=False
P.Visible=False
P2.Visible=False
R.Visible=False
T.Visible=False
T2.Visible=False
D.Visible=False
D2.Visible=False
Z1.Visible=False
Image1.Visible=True
Image2.Visible=False
Label3.Visible=True
Label10.Visible=True
Label13.Visible=True
Label5.Visible=True
Label14.Visible=False
EndSub
PrivateSubKSKSDKSDSD_Click()
Form16.PrintForm
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<> 8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
37
Beep
KeyAscii=0
EndIf
EndIf
EndSub
5.3 SECCIONTRIANGULAR
PrivateSubCommand1_Click()
IfK=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form17.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form17.Show
Else
A=Round(K*Y^2,3)
A3=A
P=Round(2*Y*(1+K^2)^(0.5),3)
P2=P
R=Round((K*Y)/(2*(1+K^2)^(0.5)),3)
T=Round(2*K*Y,3)
T2=T
D=Round((1/2)*(Y),3)
Z=Round(((2)^(0.5)/2)*(K*Y^2.5),3)
Label3.Visible=False
Label5.Visible=False
Label10.Visible=False
Label15.Visible=True
Frame5.Visible=True
Frame6.Visible=True
Frame8.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
A.Visible=True
A3.Visible=True
P.Visible=True
P2.Visible=True
R.Visible=True
T.Visible=True
T2.Visible=True
D.Visible=True
38
Z.Visible=True
Image1.Visible=False
Image2.Visible=True
EndIf
EndIf
EndSub
PrivateSubJKSJDSJDJSJKSJD_Click()
K=""
Y=""
Label3.Visible=True
Label5.Visible=True
Label10.Visible=True
Label15.Visible=False
Frame5.Visible=False
Frame6.Visible=False
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
A.Visible =False
A3.Visible=False
P.Visible=False
P2.Visible=False
R.Visible=False
T.Visible=False
T2.Visible=False
D.Visible=False
Z.Visible=False
Image1.Visible=True
Image2.Visible=False
EndSub
PrivateSubJSKLJDSJDKSJDS_Click()
Form17.PrintForm
EndSub
PrivateSubK_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
39
EndSub
PrivateSubKJKCDJKJKDJK_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubKSKDJSJDJDJJJJJ_Click()
End
EndSub
PrivateSubLKKLKLKLKLK_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
5.4 SECCIONCIRCULAR
PrivateSubCommand1_Click()
IfD=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form18.Show
Else
IfY=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form18.Show
Else
IfY>DThen
MsgBox"EL(Y)DEBESERMENORQUEELDIAMETRO",16,
"ERRORDECOMPLETACION"
Form18.Show
Else
40
IfY=DThen
MsgBox"EL(Y)DEBESERMENORQUEELDIAMETRO",16,
"ERRORDECOMPLETACION"
Form18.Show
Else
x=1 ((2*Y)/D)
PI=3.14159265359
TE=Atn(x/((1 x^2)^0.5))
TE=(PI/2) TE
TE=2*TE
A=Round((1/8)*(TE Sin(TE))*D^2,3)
A1=A
P=Round((1/2)*TE*D,3)
P2=P
R=Round((1 /4)*(1 (Sin(TE)/TE))*(D),3)
T=Round(2*(Y*(D Y))^(0.5),3)
T1=T
D1=Round(A/T,3)
Z=Round(A*(D1)^0.5,3)
Frame5.Visible=True
Frame6.Visible=True
Frame8.Visible=True
Frame9.Visible=True
Frame10.Visible=True
Frame11.Visible=True
Frame12.Visible=True
A.Visible=True
A1.Visible=True
P.Visible=True
P2.Visible=True
R.Visible=True
T.Visible=True
T1.Visible=True
D1.Visible=True
Z.Visible=True
Image1.Visible=False
Image2.Visible=True
Label3.Visible=False
Label5.Visible=False
Label13.Visible=True
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubD_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
41
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubHHHFFFF_Click()
End
EndSub
PrivateSubKSLKDSKLDK_Click()
D=""
Y=""
Frame5.Visible=False
Frame6.Visible=False
Frame8.Visible=False
Frame9.Visible=False
Frame10.Visible=False
Frame11.Visible=False
Frame12.Visible=False
A.Visible=False
A1.Visible=False
P.Visible=False
P2.Visible=False
R.Visible=False
T.Visible=False
T1.Visible=False
D1.Visible=False
Z.Visible=False
Image1.Visible=True
Image2.Visible=False
Label3.Visible=True
Label5.Visible=True
Label13.Visible=False
EndSub
PrivateSubLKLKBNBBBB_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLLSLDSLSSSS_Click()
Form18.PrintForm
EndSub
PrivateSubY_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
42
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubYHHHHHH_Click()
Form19.Show
UnloadMe
EndSub
43
6. DISEODECANALES
6.1 DISEODECANALESREVESTIDOS
6.1.1
SECCIONHIDRAULICAPTIMA
FORMULARIONUMERO1.
PrivateSubCommand1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form20.Show
Else
IfV=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form20.Show
Else
IfL=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form20.Show
Else
IfE=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form20.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form20.Show
Else
A=Round((Q/V),3)
Form21.A=Round((Q/V),3)
Y=Round((A/(Z+2*(1+Z^2)^0.5))^0.5,3)
44
Form21.Y=Round((A/(Z+2*(1+Z^2)^0.5))^0.5,3)
B=Round((A/Y) (Z*Y),3)
Form21.B=Round((A/Y) (Z*Y),3)
BPP=Round(B+2*E*Tan((Atn(1/Z))/2),3)
Form21.BPP=Round(B+2*E*Tan((Atn(1/Z))/2),3)
BP=Round((CCur(BPP)+CCur(B))/2,3)
Form21.BP=Round((CCur(BPP)+CCur(B))/2,3)
RTAC=Round((CCur(Q)*35.314667 20)/2980+1.5,3)
F=Round((CCur(RTAC)*CCur(Y)*3.2808)^(0.5)*0.3048,3)
Form21.F=Round((CCur(RTAC)*CCur(Y)*3.2808)^(0.5)*0.3048,3)
LRE=Round(F 0.3048,3)
Form21.LRE=Round(F 0.3048,3)
VEX=Round((CCur(BPP)+CCur(Z)*(CCur(E)+CCur(Y)+CCur(F)))*((CCur(E)+CCur(Y)+
CCur(F))),3)
Form21.VEX=Round((CCur(BPP)+CCur(Z)*(CCur(E)+CCur(Y)+CCur(F)))*((CCur(E)+
CCur(Y)+CCur(F))),3)
VRE=Round((CCur(BP)+2*((E/2)+Y+CCur(LRE))*Sqr(1+Z^2))*E*L,3)
Form21.VRE=Round((CCur(BP)+2*((E/2)+Y+CCur(LRE))*Sqr(1+Z^2))*E*L,3)
Form21.Label12=Round(L,3)
Form21.Label12.Visible=True
Form21.Label7=Round(B,3)
Form21.Label7.Visible=True
Form21.Label11=Round(F,3)
Form21.Label11.Visible=True
Form21.Label14=Round(LRE,3)
Form21.Label14.Visible=True
Form21.Label19=Round(Y,3)
Form21.Label19.Visible=True
Form21.Label17=Round(E,3)
Form21.Label17.Visible=True
Form21.Label15=Round(BP,3)
Form21.Label15.Visible=True
Form21.Label16=Round(BPP,3)
Form21.Label16.Visible=True
Form21.Label13=Round((CCur(Y)+CCur(F)+CCur(E)),3)
Form21.Label13.Visible=True
Form21.Label18=Round((E/2),3)
Form21.Label18.Visible=True
Form23.L=Form20.L
45
Form21.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubDFSDFSDFEEE_Click()
End
EndSub
PrivateSubDLKFLKFKSDL_Click()
Q=""
V=""
L=""
E.Visible=False
Z.Visible=False
EndSub
PrivateSubE_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubFDSDFSDFDSFSD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKLSDKFDLSKFLDS_Click()
Form20.PrintForm
EndSub
PrivateSubL_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
46
PrivateSubLabel13_Click()
Form21.Show
EndSub
PrivateSubLDKSLFKLSKFSDL_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubOption1_Click()
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form20.Show
Else
E=""
E.Visible=True
EndIf
EndSub
PrivateSubOption10_Click()
IfOption10=TrueThen
Z=3
EndIf
Z.Visible=True
EndSub
PrivateSubOption11_Click()
Z=""
Z.Visible=True
EndSub
PrivateSubOption2_Click()
IfOption2=TrueThen
Z=0.25
EndIf
Z.Visible=True
EndSub
PrivateSubOption3_Click()
IfOption3=TrueThen
Z=0.5
EndIf
Z.Visible=True
EndSub
PrivateSubOption4_Click()
47
IfOption4=TrueThen
Z=0.5
EndIf
Z.Visible=True
EndSub
PrivateSubOption5_Click()
IfOption5=TrueThen
Z=1
EndIf
Z.Visible=True
EndSub
PrivateSubOption6_Click()
IfOption6=TrueThen
Z=1
EndIf
Z.Visible=True
EndSub
PrivateSubOption7_Click()
IfOption7=TrueThen
Z=1.5
EndIf
Z.Visible=True
EndSub
PrivateSubOption8_Click()
IfOption8=TrueThen
Z=2
EndIf
Z.Visible=True
EndSub
PrivateSubOption9_Click()
IfOption9=TrueThen
Z=3
EndIf
Z.Visible=True
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubREFORZADO_Click()
IfQ=""Then
48
MsgBox"FALTACAUDAL(Q)PORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form20.Show
Else
IfREFORZADO=TrueThen
IfQ>=0AndQ<=14.2Then
E=0.089
EndIf
IfQ>14.2AndQ<=56.7Then
E=0.102
EndIf
IfQ>56.7Then
E=0.114
EndIf
E.Visible=True
EndIf
EndIf
EndSub
PrivateSubSIMPLE_Click()
IfQ=""Then
MsgBox"FALTACAUDAL(Q)PORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form20.Show
Else
IfSIMPLE=TrueThen
IfQ>=0AndQ<=5.7Then
E=0.051
EndIf
IfQ>5.7AndQ<=14.2Then
E=0.064
EndIf
IfQ>14.2AndQ<=42.6Then
E=0.076
EndIf
IfQ>42.6AndQ<=99.3Then
E=0.089
EndIf
IfQ>99.3Then
E=0.102
EndIf
E.Visible=True
EndIf
EndIf
49
EndSub
PrivateSubV_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
FORMULARIONMERO2
PrivateSubCommand1_Click()
Form23.Command4.Visible=False
Form23.VEX=VEX
Form23.VRE=VRE
Form24.Frame27.Visible=False
Form24.Image2.Visible=False
Form23.Show
UnloadMe
EndSub
PrivateSubCommand2_Click()
MDIForm1.Show
UnloadMe
EndSub
FORMULARIONUMERO3
PrivateSubCAP1_Click()
EXP3.Visible=False
TEX3.Visible=False
REN3.Visible=False
TEX2.Visible=False
REN2.Visible=False
50
EXP2.Visible=False
EXC2.Visible=False
EXC3.Visible=False
IfCAP1=TrueThen
TEX1.Visible=True
REN1.Visible=True
EXP1.Visible=True
EXC1.Visible=True
EndIf
EndSub
PrivateSubCAP2_Click()
TEX1.Visible=False
REN1.Visible=False
TEX3.Visible=False
REN3.Visible=False
EXP3.Visible=False
EXP1.Visible=False
EXC1.Visible=False
EXC3.Visible=False
IfCAP2=TrueThen
TEX1.Visible=True
REN1.Visible=True
TEX2.Visible=True
REN2.Visible=True
EXP1.Visible=True
EXP2.Visible=True
EXC1.Visible=True
EXC2.Visible=True
EndIf
EndSub
PrivateSubCAP3_Click()
IfCAP3=TrueThen
TEX1.Visible=True
REN1.Visible=True
TEX2.Visible=True
REN2.Visible=True
TEX3.Visible=True
REN3.Visible=True
EXP1.Visible=True
EXP2.Visible=True
EXP3.Visible=True
51
EXC1.Visible=True
EXC2.Visible=True
EXC3.Visible=True
EndIf
EndSub
PrivateSubCommand1_Click()
End
UnloadMe
EndSub
PrivateSubCommand2_Click()
'Form21.Show
'UnloadMe
EndSub
PrivateSubCommand3_Click()
IfCOSEX=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCOSTRANS=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfVOLVIA=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCOSREV=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCAP1=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
Form24.COS1EXC=Round(CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100)),3)
Form24.COSTOEXC=Round(CCur(Form24.COS1EXC),3)
52
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=Round(CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)
*CCur((EXC1/100)),3)
Form24.COSTOTRA=Round(CCur(Form24.COS1TRA),3)
Form24.VIA1=Round((VEX*L*(EXC1/100)* (1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1),3)
Form24.COSREVT=Round(CCur(VRE)*CCur(COSREV),3)
Form24.TOTAL=Round(CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)+
CCur(Form24.COSREVT),3)
EndIf
IfCAP2=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
UNI2=(CCur(COSEX)/CCur(REN2))
Form24.COS1EXC=CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100))
Form24.COS2EXC=CCur(VEX)*CCur(UNI2)*CCur(L)*CCur((EXC2/100))
Form24.COSTOEXC=CCur(Form24.COS1EXC)+CCur(Form24.COS2EXC)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC1/100))
Form24.COS2TRA=CCur(VEX)*(1+CCur((EXP2/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC2/100))
Form24.COSTOTRA=CCur(Form24.COS1TRA)+CCur(Form24.COS2TRA)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIA2=Round(VEX*L*(EXC2/100)*(1+(EXP2/100))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1)+CCur(Form24.VIA2),3)
Form24.COSREVT=CCur(VRE)*CCur(COSREV)
Form24.TOTAL=CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)+
CCur(Form24.COSREVT)
EndIf
IfCAP3=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
UNI2=(CCur(COSEX)/CCur(REN2))
UNI3=(CCur(COSEX)/CCur(REN3))
Form24.COS1EXC=CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100))
Form24.COS2EXC=CCur(VEX)*CCur(UNI2)*CCur(L)*CCur((EXC2/100))
53
Form24.COS3EXC=CCur(VEX)*CCur(UNI3)*CCur(L)*CCur((EXC3/100))
Form24.COSTOEXC=CCur(Form24.COS1EXC)+CCur(Form24.COS2EXC)+
CCur(Form24.COS3EXC)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC1/100))
Form24.COS2TRA=CCur(VEX)*(1+CCur((EXP2/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC2/100))
Form24.COS3TRA=CCur(VEX)*(1+CCur((EXP3/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC3/100))
Form24.COSTOTRA=CCur(Form24.COS1TRA)+CCur(Form24.COS2TRA)+
CCur(Form24.COS3TRA)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIA2=Round(VEX*L*(EXC2/100)*(1+(EXP2/100))/CCur(VOLVIA),3)
Form24.VIA3=Round(VEX*L*(EXC3/100)*(1+(EXP3/100))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1)+CCur(Form24.VIA2)+CCur(Form24.VIA3),3)
Form24.COSREVT=CCur(VRE)*CCur(COSREV)
Form24.TOTAL=CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)+
CCur(Form24.COSREVT)
EndIf
IfCAP1=TrueThen
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
EndIf
IfCAP2=TrueThen
Form24.Frame12.Visible=True
Form24.Frame4.Visible=True
Form24.Frame6.Visible=True
Form24.COS2EXC.Visible=True
Form24.COS2TRA.Visible=True
Form24.VIA2.Visible=True
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
54
EndIf
IfCAP3=TrueThen
Form24.Frame12.Visible=True
Form24.Frame4.Visible=True
Form24.Frame6.Visible=True
Form24.COS2EXC.Visible=True
Form24.COS2TRA.Visible=True
Form24.VIA2.Visible=True
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
Form24.Frame10.Visible=True
Form24.Frame2.Visible=True
Form24.Frame9.Visible=True
Form24.COS3EXC.Visible=True
Form24.COS3TRA.Visible=True
Form24.VIA3.Visible=True
EndIf
Form24.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubCommand4_Click()
IfCOSEX=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCOSTRANS=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfVOLVIA=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
55
IfCAP1=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
Form24.COS1EXC=Round(CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100)),3)
Form24.COSTOEXC=Round(CCur(Form24.COS1EXC),3)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=Round(CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)
*CCur((EXC1/100)),3)
Form24.COSTOTRA=Round(CCur(Form24.COS1TRA),3)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1),3)
Form24.TOTAL=Round(CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA),3)
EndIf
IfCAP2=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
UNI2=(CCur(COSEX)/CCur(REN2))
Form24.COS1EXC=CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100))
Form24.COS2EXC=CCur(VEX)*CCur(UNI2)*CCur(L)*CCur((EXC2/100))
Form24.COSTOEXC=CCur(Form24.COS1EXC)+CCur(Form24.COS2EXC)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC1/100))
Form24.COS2TRA=CCur(VEX)*(1+CCur((EXP2/100)))*CCur((UNITRANS))*CCur(L) *
CCur((EXC2/100))
Form24.COSTOTRA=CCur(Form24.COS1TRA)+CCur(Form24.COS2TRA)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIA2=Round(VEX*L*(EXC2/100)*(1+(EXP2/100))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1)+CCur(Form24.VIA2),3)
Form24.TOTAL=CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)
EndIf
IfCAP3=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
56
UNI2=(CCur(COSEX)/CCur(REN2))
UNI3=(CCur(COSEX)/CCur(REN3))
Form24.COS1EXC=CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100))
Form24.COS2EXC=CCur(VEX)*CCur(UNI2)*CCur(L)*CCur((EXC2/100))
Form24.COS3EXC=CCur(VEX)*CCur(UNI3)*CCur(L)*CCur((EXC3/100))
Form24.COSTOEXC=CCur(Form24.COS1EXC)+CCur(Form24.COS2EXC)+
CCur(Form24.COS3EXC)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC1/100))
Form24.COS2TRA=CCur(VEX)*(1+CCur((EXP2/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC2/100))
Form24.COS3TRA=CCur(VEX)*(1+CCur((EXP3/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC3/100))
Form24.COSTOTRA=CCur(Form24.COS1TRA)+CCur(Form24.COS2TRA)+
CCur(Form24.COS3TRA)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIA2=Round(VEX*L*(EXC2/100)*(1+(EXP2/100))/CCur(VOLVIA),3)
Form24.VIA3=Round(VEX*L*(EXC3/100)*(1+(EXP3/100))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1)+CCur(Form24.VIA2)+CCur(Form24.VIA3),3)
Form24.TOTAL=CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)
EndIf
IfCAP1=TrueThen
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
EndIf
IfCAP2=TrueThen
Form24.Frame12.Visible=True
Form24.Frame4.Visible=True
Form24.Frame6.Visible=True
Form24.COS2EXC.Visible=True
Form24.COS2TRA.Visible=True
Form24.VIA2.Visible=True
Form24.Frame11.Visible= True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
57
EndIf
IfCAP3=TrueThen
Form24.Frame12.Visible=True
Form24.Frame4.Visible=True
Form24.Frame6.Visible=True
Form24.COS2EXC.Visible=True
Form24.COS2TRA.Visible=True
Form24.VIA2.Visible=True
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
Form24.Frame10.Visible=True
Form24.Frame2.Visible=True
Form24.Frame9.Visible=True
Form24.COS3EXC.Visible=True
Form24.COS3TRA.Visible=True
Form24.VIA3.Visible=True
EndIf
Form24.Show
UnloadMe
EndIf
EndIf
EndIf
EndSub
PrivateSubCOSEX_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubCOSREV_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
58
PrivateSubCOSTRANS_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXC1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXC2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXC3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXP1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXP2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
59
PrivateSubEXP3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubREN1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubREN2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubREN3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubVOLVIA_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
FORMULARIONUMERO4
PrivateSubCommand1_Click()
MDIForm1.Show
UnloadMe
EndSub
60
PrivateSubCommand2_Click()
COSTOEXC=CCur(COS1EXC)+CCur(COS2EXC)
COSTOTRA=CCur(COS1TRA)+CCur(COS2TRA)
EndSub
PrivateSubImage1_Click()
Form25.Show
UnloadMe
EndSub
PrivateSubImage2_Click()
Form28.Show
UnloadMe
EndSub
FORMULARIONUMERO5
PrivateSubCommand1_Click()
EndSub
PrivateSubLabel1_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubWindowsMediaPlayer1_OpenStateChange(ByValNewStateAsLong)
EndSub
6.2 DISEODECANALESNOREVESTIDOS
6.2.1
VELOCIDADMAXIMAPERMISIBLE
FORMULARIONUMERO1
PrivateSubComborugosidad_Click()
Setbase=OpenDatabase("C:\Archivosdeprograma\DISCAN\CRAK\manning.mdb")
Settabla=base.OpenRecordset("select*frommanningwhere[TipodeCanalydescripcion]='"&
Comborugosidad.Text&"'")
rugosidad=tabla("ValordelcoeficientedeRugosidadn")
TEXTRUGOSIDAD.Text=rugosidad
EndSub
61
PrivateSubComborugosidad_DropDown()
Setbase=OpenDatabase("C:\Archivosdeprograma\DISCAN\CRAK\manning.mdb")
Settabla=base.OpenRecordset("manning")
Comborugosidad.Clear
ForB=1Totabla.RecordCount
Comborugosidad.AddItemtabla("TipodeCanalydescripcion")
tabla.MoveNext
NextB
EndSub
PrivateSubCommand1_Click()
IfTEXTRUGOSIDAD=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form26.Show
Else
IfQ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form26.Show
Else
IfS=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form26.Show
Else
IfL=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form26.Show
Else
IfZ=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form26.Show
Else
IfV=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form26.Show
Else
Form27.R =Round(((V*CCur(TEXTRUGOSIDAD))/S^0.5)^(1.5),5)
62
Form27.A=Round(Q/V,5)
Form27.P=Round(Form27.A/Form27.R,5)
P=CCur(Form27.P)
A=CCur(Form27.A)
Form27.Y1=Round(0.5*(Sqr(2*(A*Sqr(Z^2+1) 0.5*(A*Z+0.25*P^2))) +0.5*P)/
(Sqr(Z^2+1) 0.5*Z),3)
Form27.Y2=Round(0.5*(Sqr(2*(A*Sqr(Z^2+1) 0.5*(A*Z+0.25*P^2))) 0.5*P)/
(Sqr(Z^2+1) 0.5*Z),3)
IfForm27.Y1<0Then
MsgBox"PROFUNDIDADY1NEGATIVA,HAYUNASOLAOPCIONPARALA
PROFUNDIDAD",16,"ERRORDECOMPLETACION"
Form26.Show
Form27.Y1=Form27.Y2
Else
IfForm27.Y2<0Then
MsgBox"PROFUNDIDADY2NEGATIVA,HAYUNASOLAOPCIONPARALA
PROFUNDIDAD",16,"ERRORDECOMPLETACION"
Form26.Show
Form27.Y2=Form27.Y1
EndIf
EndIf
IfForm27.Y1>0Then
Form27.FR1=CCur(Round(CCur(V)/((9.81*CCur(Form27.Y1))^0.5),4))
EndIf
IfForm27.Y2>0Then
Form27.FR2=CCur(Round(CCur(V)/((9.81*CCur(Form27.Y2))^0.5),4))
EndIf
IfForm27.FR1>1Then
Form27.FRO1="SUPERCRITICO"
EndIf
IfForm27.FR1<1Then
Form27.FRO1="SUBCRITICO"
EndIf
IfForm27.FR1=1Then
Form27.FRO1="CRITICO"
EndIf
IfForm27.FR2>1Then
Form27.FRO2="SUPERCRITICO"
End If
63
IfForm27.FR2<1Then
Form27.FRO2="SUBCRITICO"
EndIf
IfForm27.FR2=1Then
Form27.FRO2="CRITICO"
EndIf
Form27.Show
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubCommand2_Click()
R=Round(((V*TEXTRUGOSIDAD)/S^0.5)^1.5,5)
A=Round(Q/V,5)
P=Round(A/R,5)
EndSub
PrivateSubDDDDDDDD_Click()
V=""
Q=""
S=""
L=""
Z=""
TEXTRUGOSIDAD=""
EndSub
PrivateSubGHJGHJGHJGHJ_Click()
Form26.PrintForm
EndSub
PrivateSubKLCVMBKBKGKL_Click()
End
EndSub
PrivateSubKLDKLFKSDFKSDL_Click()
Form19.Show
UnloadMe
EndSub
64
PrivateSubKLJFKJFDKLGF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubOption1_Click()
V=""
V1=""
EndSub
PrivateSubLabel13_Click()
EndSub
PrivateSubL_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubOption10_Click()
IfOption10=TrueThen
Z=3
EndIf
Z.Visible=True
EndSub
PrivateSub Option11_Click()
Z=""
Z.Visible=True
EndSub
PrivateSubOption12_Click()
IfOption12=TrueThen
V1="0.02 0.533"
EndIf
EndSub
PrivateSubOption13_Click()
IfOption13=TrueThen
V1="0.02 0.610"
EndIf
65
EndSub
PrivateSubOption14_Click()
IfOption14=TrueThen
V1="0.02 0.457"
EndIf
EndSub
PrivateSubOption15_Click()
IfOption15=TrueThen
V1="0.02 0.762"
EndIf
EndSub
PrivateSubOption16_Click()
IfOption16=TrueThen
V1="0.025 1.140"
EndIf
EndSub
PrivateSubOption17_Click()
IfOption17=TrueThen
V1="0.02 0.762"
EndIf
EndSub
PrivateSubOption18_Click()
IfOption18=TrueThen
V1="0.03 1.140"
EndIf
EndSub
PrivateSubOption19_Click()
IfOption19=TrueThen
V1="0.02 0.533"
EndIf
EndSub
PrivateSubOption2_Click()
IfOption2=TrueThen
Z=0.25
EndIf
Z.Visible=True
66
EndSub
PrivateSubOption20_Click()
IfOption20=TrueThen
V1="0.035 1.22"
EndIf
EndSub
PrivateSubOption21_Click()
IfOption21=TrueThen
V1="0.02 0.610"
EndIf
EndSub
PrivateSubOption26_Click()
IfOption26=TrueThen
V1="0.035 1.22"
EndIf
EndSub
PrivateSubOption28_Click()
IfOption28=TrueThen
V1="0.02 0.457"
EndIf
EndSub
PrivateSubOption29_Click()
IfOption29=TrueThen
VI="0.025 1.22"
EndIf
EndSub
PrivateSubOption3_Click()
IfOption3=TrueThen
Z=0.5
EndIf
Z.Visible=True
EndSub
PrivateSubOption30_Click()
IfOption30=TrueThen
67
V1="0.02 0.610"
EndIf
EndSub
PrivateSubOption31_Click()
IfOption31=TrueThen
V1="0.02 0.533"
EndIf
EndSub
PrivateSubOption32_Click()
IfOption32=TrueThen
V1="0.02 0.610"
EndIf
EndSub
PrivateSubOption33_Click()
IfOption33=TrueThen
V1="0.02 0.762"
EndIf
EndSub
PrivateSubOption34_Click()
IfOption34=TrueThen
V1="0.025 1.22"
EndIf
EndSub
PrivateSubOption35_Click()
IfOption35=TrueThen
V1="0.025 1.140"
EndIf
EndSub
PrivateSubOption36_Click()
IfOption36=TrueThen
V1="0.02 0.762"
EndIf
EndSub
PrivateSubOption37_Click()
IfOption37=TrueThen
V1="0.030 1.140"
EndIf
EndSub
PrivateSubOption38_Click()
IfOption38=TrueThen
V1="0.035 1.22"
EndIf
68
EndSub
PrivateSubOption4_Click()
IfOption4=TrueThen
Z=0.5
EndIf
Z.Visible=True
EndSub
PrivateSubOption40_Click()
V=""
V1=""
EndSub
PrivateSubOption5_Click()
IfOption5=TrueThen
Z=1
EndIf
Z.Visible=True
EndSub
PrivateSubOption6_Click()
IfOption6=TrueThen
Z=1
EndIf
Z.Visible=True
EndSub
PrivateSubOption7_Click()
IfOption7=TrueThen
Z=1.5
EndIf
Z.Visible=True
EndSub
PrivateSubOption8_Click()
IfOption8 =TrueThen
Z=2
EndIf
Z.Visible=True
EndSub
PrivateSubOption9_Click()
IfOption9=TrueThen
Z=3
EndIf
Z.Visible=True
EndSub
PrivateSubQ_KeyPress(KeyAsciiAsInteger)
69
DimVALORAsInteger
IfKeyAscii<>8 Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubS_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubTEXTRUGOSIDAD_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubV_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubZ_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
70
FORMULARIONUMERO2
PrivateSubCommand1_Click()
Form23.Show
Form23.Frame13.Visible=False
Form23.Frame15.Visible=False
Form23.COSREV.Visible=False
Form23.Command3.Visible=False
Form23.VEX=(u/Form26.L)
Form23.L=Form26.L
Form24.Frame21.Visible=False
Form24.Frame22.Visible=False
Form24.COSREVT.Visible=False
Form24.Frame26.Visible=False
Form24.Image1.Visible=False
UnloadMe
EndSub
PrivateSubCommand2_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubFFGFGFGF_Click()
End
EndSub
PrivateSubKLDKLJKLJFJGKFD_Click()
Form27.PrintForm
EndSub
PrivateSubLLKFLKGF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLDKDLFKLDS_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubOption1_Click()
IfOption1=TrueThen
R=Round(((Form26.V*Form26.TEXTRUGOSIDAD)/Form26.S^0.5)^1.5,
3)
A=Round(Form26.Q/Form26.V,3)
71
P=Round(A/R, 3)
B=Round((A/Y1) (2*Y1),3)
IfB<0Then
MsgBox"ELCANALNOPUEDESERTRAPEZOIDAL,
SERAUNCANALTRIANGULARDETALUD(z)YPROFUNDIDADDEFLUJO(y1)",16,
"AYUDADEDISEO"
Form27.Show
EndIf
Frame12.Visible=False
Y2.Visible=False
FRO2.Visible=False
Frame11.Visible=False
FR2.Visible=False
Frame4.Visible=True
B.Visible=True
P.Visible=True
Frame9.Visible=True
A.Visible=True
Frame2.Visible=True
R.Visible=True
Frame5.Visible=True
Frame3.Visible=True
Y1.Visible=True
FRO1.Visible=True
Frame10.Visible=True
FR1.Visible=True
D=Round(((B+Form26.Z*Y1)*Y1)/(B+2*Form26.Z*Y1),3)
D.Visible=True
Frame14.Visible=True
c=(Form26.Q*35.314667 20)/2980+1.5
F=Round((c*Y1*3.2808)^(0.5)*0.3048,3)
F.Visible=True
Frame6.Visible=True
T=Round(B+(2*Form26.Z*Y1),3)
Frame8.Visible=True
T.Visible=True
Frame7.Visible=True
m=CCur(Form26.Z)
u=Round((CCur(B)+2*CCur(m)*(CCur(Y1)+CCur(F))+CCur(B))/2*
(CCur(Y1)+CCur(F))*CCur(Form26.L),3)
EndIf
EndSub
PrivateSubOption2_Click()
72
IfOption2=TrueThen
R=Round(((Form26.V*Form26.TEXTRUGOSIDAD)/Form26.S^0.5)^1.5,
3)
A=Round(Form26.Q/Form26.V,3)
P=Round(A/R,3)
B=Round((A/Y2) (2*Y2),3)
IfB<0Then
MsgBox"ELCANALNOPUEDESERTRAPEZOIDAL,SERAUN
CANALTRIANGULARDETALUD(z)YPROFUNDIDADDEFLUJO(y2)",16,"AYUDADE
DISEO"
Form27.Show
EndIf
Frame3.Visible=False
Y1.Visible=False
FRO1.Visible=False
Frame10.Visible=False
FR1.Visible=False
Frame12.Visible=True
Y2.Visible=True
FRO2.Visible=True
Frame11.Visible=True
FR2.Visible=True
R.Visible=True
Frame5.Visible=True
Frame4.Visible=True
B.Visible=True
P.Visible=True
Frame9.Visible=True
A.Visible=True
Frame2.Visible=True
D =Round(((B+Form26.Z*Y2)*Y2)/(B+2*Form26.Z*Y2),3)
D.Visible=True
Frame14.Visible=True
c=(Form26.Q*35.314667 20)/2980+1.5
F=Round((c*Y2*3.2808)^(0.5)*0.3048,3)
F.Visible=True
Frame6.Visible =True
T=Round(B+(2*Form26.Z*Y2),3)
Frame8.Visible=True
T.Visible=True
Frame7.Visible=True
m=CCur(Form26.Z)
73
u=Round((CCur(B)+2*CCur(m)*(CCur(Y2)+CCur(F))+CCur(B))/2*
(CCur(Y2)+CCur(F))*CCur(Form26.L),3)
EndIf
EndSub
PrivateSubOption3_Click()
Form26.Show
EndSub
FORMULARIONUMERO3
PrivateSubCAP1_Click()
EXP3.Visible=False
TEX3.Visible=False
REN3.Visible=False
TEX2.Visible=False
REN2.Visible=False
EXP2.Visible=False
EXC2.Visible=False
EXC3.Visible=False
IfCAP1=TrueThen
TEX1.Visible=True
REN1.Visible=True
EXP1.Visible=True
EXC1.Visible=True
EndIf
EndSub
PrivateSubCAP2_Click()
TEX1.Visible=False
REN1.Visible=False
TEX3.Visible=False
REN3.Visible=False
EXP3.Visible=False
EXP1.Visible=False
EXC1.Visible=False
EXC3.Visible=False
IfCAP2=TrueThen
TEX1.Visible=True
REN1.Visible=True
TEX2.Visible=True
74
REN2.Visible=True
EXP1.Visible=True
EXP2.Visible=True
EXC1.Visible=True
EXC2.Visible=True
EndIf
EndSub
PrivateSubCAP3_Click()
IfCAP3=TrueThen
TEX1.Visible= True
REN1.Visible=True
TEX2.Visible=True
REN2.Visible=True
TEX3.Visible=True
REN3.Visible=True
EXP1.Visible=True
EXP2.Visible=True
EXP3.Visible=True
EXC1.Visible=True
EXC2.Visible=True
EXC3.Visible=True
EndIf
EndSub
PrivateSubCommand1_Click()
End
UnloadMe
EndSub
PrivateSubCommand2_Click()
'Form21.Show
'UnloadMe
EndSub
PrivateSubCommand3_Click()
IfCOSEX=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCOSTRANS=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
75
IfVOLVIA=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCOSREV=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCAP1=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
Form24.COS1EXC=Round(CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100)),3)
Form24.COSTOEXC=Round(CCur(Form24.COS1EXC),3)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=Round(CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)
*CCur((EXC1/100)),3)
Form24.COSTOTRA=Round(CCur(Form24.COS1TRA),3)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1),3)
Form24.COSREVT=Round(CCur(VRE)*CCur(COSREV),3)
Form24.TOTAL=Round(CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)+
CCur(Form24.COSREVT),3)
EndIf
IfCAP2=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
UNI2=(CCur(COSEX)/ CCur(REN2))
Form24.COS1EXC=CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100))
Form24.COS2EXC=CCur(VEX)*CCur(UNI2)*CCur(L)*CCur((EXC2/100))
Form24.COSTOEXC=CCur(Form24.COS1EXC)+CCur(Form24.COS2EXC)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC1/100))
76
Form24.COS2TRA=CCur(VEX)*(1+CCur((EXP2/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC2/100))
Form24.COSTOTRA=CCur(Form24.COS1TRA)+CCur(Form24.COS2TRA)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIA2=Round(VEX*L*(EXC2/100)*(1+(EXP2/100))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1)+CCur(Form24.VIA2),3)
Form24.COSREVT=CCur(VRE)*CCur(COSREV)
Form24.TOTAL=CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)+
CCur(Form24.COSREVT)
EndIf
IfCAP3=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
UNI2=(CCur(COSEX)/CCur(REN2))
UNI3=(CCur(COSEX)/CCur(REN3))
Form24.COS1EXC=CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100))
Form24.COS2EXC=CCur(VEX)*CCur(UNI2)*CCur(L)*CCur((EXC2/100))
Form24.COS3EXC=CCur(VEX)*CCur(UNI3)*CCur(L)*CCur((EXC3/100))
Form24.COSTOEXC=CCur(Form24.COS1EXC)+CCur(Form24.COS2EXC)+
CCur(Form24.COS3EXC)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC1/100))
Form24.COS2TRA=CCur(VEX)*(1+CCur((EXP2/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC2/100))
Form24.COS3TRA=CCur(VEX)*(1+CCur((EXP3/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC3/100))
Form24.COSTOTRA=CCur(Form24.COS1TRA)+CCur(Form24.COS2TRA)+
CCur(Form24.COS3TRA)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIA2=Round(VEX*L*(EXC2/100)*(1+(EXP2/100))/CCur(VOLVIA),3)
Form24.VIA3=Round(VEX*L*(EXC3/100)*(1+(EXP3/100))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1)+CCur(Form24.VIA2)+CCur(Form24.VIA3),3)
Form24.COSREVT=CCur(VRE)*CCur(COSREV)
Form24.TOTAL=CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)+
CCur(Form24.COSREVT)
EndIf
If CAP1=TrueThen
Form24.Frame11.Visible=True
77
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
EndIf
IfCAP2=TrueThen
Form24.Frame12.Visible=True
Form24.Frame4.Visible=True
Form24.Frame6.Visible=True
Form24.COS2EXC.Visible=True
Form24.COS2TRA.Visible=True
Form24.VIA2.Visible=True
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
EndIf
IfCAP3=TrueThen
Form24.Frame12.Visible=True
Form24.Frame4.Visible=True
Form24.Frame6.Visible=True
Form24.COS2EXC.Visible=True
Form24.COS2TRA.Visible=True
Form24.VIA2.Visible=True
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
Form24.Frame10.Visible=True
Form24.Frame2.Visible=True
Form24.Frame9.Visible=True
Form24.COS3EXC.Visible=True
Form24.COS3TRA.Visible=True
Form24.VIA3.Visible=True
EndIf
Form24.Show
UnloadMe
EndIf
EndIf
78
EndIf
EndIf
EndSub
PrivateSubCommand4_Click()
IfCOSEX=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCOSTRANS=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfVOLVIA=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
Form23.Show
Else
IfCAP1=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
Form24.COS1EXC=Round(CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1/100)),3)
Form24.COSTOEXC=Round(CCur(Form24.COS1EXC),3)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=Round(CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)
*CCur((EXC1/100)),3)
Form24.COSTOTRA=Round(CCur(Form24.COS1TRA),3)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1),3)
Form24.TOTAL=Round(CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA),3)
EndIf
IfCAP2=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
UNI2=(CCur(COSEX)/CCur(REN2))
Form24.COS1EXC=CCur(VEX) *CCur(UNI1)*CCur(L)*CCur((EXC1/100))
Form24.COS2EXC=CCur(VEX)*CCur(UNI2)*CCur(L)*CCur((EXC2/100))
79
Form24.COSTOEXC=CCur(Form24.COS1EXC)+CCur(Form24.COS2EXC)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=CCur(VEX)*(1+ CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC1/100))
Form24.COS2TRA=CCur(VEX)*(1+CCur((EXP2/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC2/100))
Form24.COSTOTRA=CCur(Form24.COS1TRA)+CCur(Form24.COS2TRA)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIA2=Round(VEX*L*(EXC2/100)*(1+(EXP2/100))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1)+CCur(Form24.VIA2),3)
Form24.TOTAL=CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)
EndIf
IfCAP3=TrueThen
UNI1=(CCur(COSEX)/CCur(REN1))
UNI2=(CCur(COSEX)/CCur(REN2))
UNI3=(CCur(COSEX)/CCur(REN3))
Form24.COS1EXC=CCur(VEX)*CCur(UNI1)*CCur(L)*CCur((EXC1 /100))
Form24.COS2EXC=CCur(VEX)*CCur(UNI2)*CCur(L)*CCur((EXC2/100))
Form24.COS3EXC=CCur(VEX)*CCur(UNI3)*CCur(L)*CCur((EXC3/100))
Form24.COSTOEXC=CCur(Form24.COS1EXC)+CCur(Form24.COS2EXC)+
CCur(Form24.COS3EXC)
UNITRANS=CCur(COSTRANS)/CCur(VOLVIA)
Form24.COS1TRA=CCur(VEX)*(1+CCur((EXP1/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC1/100))
Form24.COS2TRA=CCur(VEX)*(1+CCur((EXP2/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC2/100))
Form24.COS3TRA=CCur(VEX)*(1+CCur((EXP3/100)))*CCur((UNITRANS))*CCur(L)*
CCur((EXC3/100))
Form24.COSTOTRA=CCur(Form24.COS1TRA)+CCur(Form24.COS2TRA)+
CCur(Form24.COS3TRA)
Form24.VIA1=Round((VEX*L*(EXC1/100)*(1+(EXP1/100)))/CCur(VOLVIA),3)
Form24.VIA2=Round(VEX*L*(EXC2/100)*(1+(EXP2/100))/CCur(VOLVIA),3)
Form24.VIA3=Round(VEX*L*(EXC3/100)*(1+(EXP3/100))/CCur(VOLVIA),3)
Form24.VIATO=Round(CCur(Form24.VIA1)+CCur(Form24.VIA2)+CCur(Form24.VIA3),3)
Form24.TOTAL=CCur(Form24.COSTOEXC)+CCur(Form24.COSTOTRA)
EndIf
IfCAP1=TrueThen
80
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
EndIf
IfCAP2= TrueThen
Form24.Frame12.Visible=True
Form24.Frame4.Visible=True
Form24.Frame6.Visible=True
Form24.COS2EXC.Visible=True
Form24.COS2TRA.Visible=True
Form24.VIA2.Visible=True
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
EndIf
IfCAP3=TrueThen
Form24.Frame12.Visible=True
Form24.Frame4.Visible=True
Form24.Frame6.Visible=True
Form24.COS2EXC.Visible=True
Form24.COS2TRA.Visible=True
Form24.VIA2.Visible=True
Form24.Frame11.Visible=True
Form24.Frame7.Visible=True
Form24.Frame3.Visible=True
Form24.COS1EXC.Visible=True
Form24.COS1TRA.Visible=True
Form24.VIA1.Visible=True
Form24.Frame10.Visible=True
Form24.Frame2.Visible=True
Form24.Frame9.Visible=True
Form24.COS3EXC.Visible=True
Form24.COS3TRA.Visible=True
Form24.VIA3.Visible=True
EndIf
Form24.Show
UnloadMe
EndIf
81
EndIf
EndIf
EndSub
PrivateSubCOSEX_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubCOSREV_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubCOSTRANS_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXC1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXC2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXC3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
82
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXP1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXP2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubEXP3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubREN1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubREN2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubREN3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
83
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubVOLVIA_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
FORMULARIONUMERO4
PrivateSubCommand1_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubCommand2_Click()
COSTOEXC=CCur(COS1EXC)+CCur(COS2EXC)
COSTOTRA=CCur(COS1TRA)+CCur(COS2TRA)
EndSub
PrivateSubImage1_Click()
Form25.Show
UnloadMe
EndSub
PrivateSubImage2_Click()
Form28.Show
UnloadMe
EndSub
FORMULARIONUMERO5
PrivateSubLabel1_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubWindowsMediaPlayer1_OpenStateChange(ByValNewStateAsLong)
EndSub
84
7. LABORATORIOS
7.1 GEOMETRIADELASECCION
7.1.1
INTRODUCCION
PrivateSubCommand1_Click()
PRAC1.Show
UnloadMe
MsgBox"Introducirlaslecturasdelosniveles,deMayoraMenoren(mm)",16,"AYUDASDE
CALCULO"
PRAC1.Show
EndSub
PrivateSubDKKLDSKFKLDS_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubFrame2_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubJFGFKGKFLGKLF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLabel8_Click()
EndSub
PrivateSubLDKFDKFLKDKFLDKF_Click()
GENER.PrintForm
EndSub
PrivateSubSDFDFDFDFDF_Click()
End
EndSub
FORMULARIONUMERO2
85
PrivateSubCommand1_Click()
IfText1=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText2=""Then
MsgBox"FALTADATOPOR INTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfTrueAndText3=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText4=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText5=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText6 =""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText7=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText8=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText9=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
86
PRAC1.Show
Else
IfText10=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText11=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText12=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText13=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText14=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText15=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText16=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText17=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
87
IfText18=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText19=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText20 =""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText21=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText22=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText23=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText24=""Then
MsgBox"FALTADATOPORINTRODUCIR",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText23=0Then
MsgBox"ELCANALESRECTANGULARTIENEBASEB,INTRODUZCA
UNVALOR",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText1=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
88
PRAC1.Show
Else
IfText2=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,"ERROR
DECOMPLETACION"
PRAC1.Show
Else
IfText3=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,
"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText4=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText5=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,"ERROR
DECOMPLETACION"
PRAC1.Show
Else
IfText6=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,
"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText7=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText8=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,"ERROR
DECOMPLETACION"
PRAC1.Show
Else
IfText9= 0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,
"ERRORDECOMPLETACION"
PRAC1.Show
Else
89
IfText10=0Then
MsgBox"LAPROFUNDIDADNOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText11=""Then
MsgBox"INGRESEELPESODELVALDE",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText15=0Then
MsgBox"INGRESE,ELPESODEL VALDE+ELPESODELAGUA=PESO
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText22=0Then
MsgBox"INGRESEELTIEMPODELAPRIMERALECTURA",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText12=""Then
MsgBox"INGRESEELPESODELVALDE",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText16=0Then
MsgBox"INGRESE,ELPESODELVALDE+ELPESODELAGUA=PESO
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText21=0Then
MsgBox"INGRESEELTIEMPODELAPRIMERALECTURA",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText13=""Then
MsgBox"INGRESEELPESODELVALDE",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText17=0Then
MsgBox"INGRESE,ELPESODELVALDE+ELPESODELAGUA=PESO
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText20=0Then
MsgBox"INGRESEELTIEMPODELAPRIMERALECTURA",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText14=""Then
MsgBox"INGRESEELPESODELVALDE",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText18=0Then
90
MsgBox"INGRESE,ELPESODELVALDE+ELPESODELAGUA=PESO
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText19=0Then
MsgBox"INGRESEELTIEMPODELAPRIMERALECTURA",16,"ERRORDE
COMPLETACION"
PRAC1.Show
Else
IfText11=Text15Then
MsgBox"ELPESODELVALDENOPUEDESERIGUALALPESODELCONJUNTO",
16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText12=Text16Then
MsgBox"ELPESODELVALDENOPUEDESERIGUALALPESODELCONJUNTO",
16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText13=Text17Then
MsgBox"ELPESODELVALDENOPUEDESERIGUALALPESODEL
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText14=Text18Then
MsgBox"ELPESODELVALDENOPUEDESERIGUALALPESODEL
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText15 Text11<0Then
MsgBox"ELPESODELVALDENOPUEDESERSUPERIORALPESODEL
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText16 Text12<0Then
MsgBox"ELPESODELVALDENOPUEDESERSUPERIORALPESODEL
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText17 Text13<0Then
MsgBox"EL PESODELVALDENOPUEDESERSUPERIORALPESODEL
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
IfText18 Text14<0Then
MsgBox"ELPESODELVALDENOPUEDESERSUPERIORALPESODEL
CONJUNTO",16,"ERRORDECOMPLETACION"
PRAC1.Show
Else
DimttAsSingle
Dimk1AsSingle
Dimk2AsSingle
Dimk3AsSingle
Dimk4AsSingle
91
Dimk5AsSingle
Dimk6AsSingle
Dimk7AsSingle
Dimk8AsSingle
Dimg1AsSingle
Dimg2AsSingle
Dimg3AsSingle
Dimg4AsSingle
Dimj1AsSingle
Dimj2AsSingle
Dimj3AsSingle
Dimj4AsSingle
Dimj5AsSingle
Dimj6AsSingle
Dimj7AsSingle
Dimj8AsSingle
Dimj9AsSingle
Dimj10AsSingle
DimA1AsSingle
DimA2AsSingle
DimA3AsSingle
DimA4AsSingle
DimA5AsSingle
DimA6AsSingle
DimA7AsSingle
DimA8AsSingle
DimA9AsSingle
DimA10AsSingle
DimVM1AsSingle
DimVM2AsSingle
DimVM3AsSingle
DimVM4AsSingle
DimVM5AsSingle
DimVM6AsSingle
DimVM7AsSingle
DimVM8AsSingle
DimVM9AsSingle
DimVM10AsSingle
DimD1AsSingle
DimD2AsSingle
DimD3AsSingle
DimD4AsSingle
DimD5AsSingle
DimD6AsSingle
DimD7AsSingle
DimD8AsSingle
DimD9AsSingle
DimD10AsSingle
DimQMAsSingle
DimQUNAsSingle
DimQLAsSingle
92
DimJAAsSingle
DimF1AsSingle
DimF2AsSingle
DimF3AsSingle
DimF4AsSingle
DimF5AsSingle
DimF6AsSingle
DimF7AsSingle
DimF8AsSingle
DimF9AsSingle
DimF10AsSingle
DimE1AsSingle
DimE2AsSingle
DimE3AsSingle
DimE4AsSingle
DimE5AsSingle
DimE6AsSingle
DimE7AsSingle
DimE8AsSingle
DimE9AsSingle
DimE10AsSingle
DimR1AsSingle
DimR2AsSingle
DimR3AsSingle
DimR4AsSingle
DimR5AsSingle
DimR6AsSingle
DimR7AsSingle
DimR8AsSingle
DimR9AsSingle
DimR10AsSingle
DimYC1AsSingle
DimYC2AsSingle
DimYC3AsSingle
DimYC4AsSingle
DimYC5AsSingle
DimYC6AsSingle
DimYC7AsSingle
DimYC8AsSingle
DimYC9AsSingle
DimYC10AsSingle
DimEMIAsSingle
DimFE1AsSingle
DimFE2AsSingle
DimFE3AsSingle
DimFE4AsSingle
DimFE5AsSingle
DimFE6AsSingle
DimFE7AsSingle
DimFE8AsSingle
DimFE9AsSingle
DimFE10AsSingle
93
DimP1AsSingle
DimP2AsSingle
DimP3AsSingle
DimP4AsSingle
DimP5AsSingle
DimP6AsSingle
DimP7AsSingle
DimP8AsSingle
DimP9AsSingle
DimP10AsSingle
DimZ1AsSingle
DimZ2AsSingle
DimZ3AsSingle
DimZ4AsSingle
DimZ5AsSingle
DimZ6AsSingle
DimZ7AsSingle
DimZ8AsSingle
DimZ9AsSingle
DimZ10AsSingle
DimS1AsSingle
DimS2AsSingle
DimS3AsSingle
DimS4AsSingle
DimS5AsSingle
DimO6AsSingle
DimO7AsSingle
DimO8AsSingle
DimO9AsSingle
DimO10AsSingle
tt=Text24
u= 0.000003*tt^2 0.0008*tt+10
k1=Text15
k2=Text11
k3=Text16
k4=Text12
k5=Text17
k6=Text13
k7=Text18
k8=Text14
w1=k1 k2
w2=k3 k4
w3=k5 k6
w4=k7 k8
g1=Text22
g2=Text21
g3=Text20
g4=Text19
94
IfOption9=TrueThen
V1=((((w1*9.81)/1000)/1000)/u)
qm1=V1/g1
QM=qm1
EndIf
IfOption10=TrueThen
V1=((((w1*9.81)/1000)/1000)/u)
qm1=V1/g1
v2=((((w2*9.81)/1000)/1000)/u)
qm2=v2/g2
QM=(qm1+qm2)/2
EndIf
IfOption11=TrueThen
V1=((((w1*9.81)/1000)/1000)/u)
qm1=V1/g1
v2=((((w2*9.81)/1000)/1000)/u)
qm2=v2/g2
v3=((((w3*9.81)/1000)/1000)/u)
qm3=v3/g3
QM=(qm1+qm2+qm3)/3
EndIf
IfOption12=TrueThen
V1=((((w1*9.81)/1000)/1000)/u)
qm1=V1/g1
v2=((((w2*9.81)/1000)/1000)/u)
qm2=v2/g2
v3=((((w3*9.81)/1000)/1000)/u)
qm3=v3/g3
v4=((((w4*9.81)/1000)/1000)/u)
qm4=v4/g4
QM=(qm1+qm2+qm3+qm4)/4
EndIf
RESP2.Text51=Round(CCur(QM),5)
RESP3.Text1=Round(CCur(QM),5)
QL=1000 *QM
RESP2.Text52=Round(QL,5)
j1=Text1
j2=Text2
j3=Text3
j4=Text4
j5=Text5
j6=Text6
j7=Text7
j8=Text8
j9=Text9
j10=Text10
Y1=CCur(j1/1000)
RESP1.Text1=Round(Y1,3)
RESP3.Text5=Round(Y1,3)
95
RESP3.Text64=Round(Y1,3)
Y2=CCur(j2/1000)
RESP1.Text2=Round(Y2,3)
RESP3.Text6=Round(Y2,3)
RESP3.Text63=Round(Y2,3)
Y3=CCur(j3/1000)
RESP1.Text3=Round(Y3,3)
RESP3.Text7=Round(Y3,3)
RESP3.Text62=Round(Y3,3)
Y4=CCur(j4/1000)
RESP1.Text4=Round(Y4,3)
RESP3.Text8=Round(Y4,3)
RESP3.Text61=Round(Y4,3)
Y5=CCur(j5/1000)
RESP1.Text5=Round(Y5,3)
RESP3.Text9=Round(Y5,3)
RESP3.Text60=Round(Y5,3)
Y6=CCur(j6/1000)
RESP1.Text6=Round(Y6,3)
RESP3.Text10=Round(Y6,3)
RESP3.Text59=Round(Y6,3)
Y7=CCur(j7/1000)
RESP1.Text7=Round(Y7,3)
RESP3.Text11=Round(Y7,3)
RESP3.Text58=Round(Y7,3)
Y8=CCur(j8/1000)
RESP1.Text8=Round(Y8,3)
RESP3.Text12=Round(Y8,3)
RESP3.Text57=Round(Y8,3)
Y9=CCur(j9/1000)
RESP1.Text9=Round(Y9,3)
RESP3.Text13=Round(Y9,3)
RESP3.Text56=Round(Y9,3)
Y10=CCur(j10/1000)
RESP1.Text10=Round(Y10,3)
RESP3.Text14=Round(Y10,3)
RESP3.Text55=Round(Y10,3)
h1=Text23
B=h1/ 100
QUN=QM/B
JA=(QM^2/9.81)^(1/3)
RESP3.Text1=Round(CCur(QM),5)
RESP3.Text2=Round(QUN,5)
RESP3.Text3=Round(JA,5)
RESP3.Text15=Round(CCur(B),3)
96
A1=Y1*B
RESP1.Text11=Round(A1,3)
A2=Y2*B
RESP1.Text12=Round(A2,3)
A3=Y3*B
RESP1.Text13=Round(A3,3)
A4=Y4*B
RESP1.Text14=Round(A4,3)
A5=Y5*B
RESP1.Text15=Round(A5,3)
A6=Y6*B
RESP1.Text16=Round(A6,3)
A7=Y7*B
RESP1.Text17=Round(A7,3)
A8=Y8*B
RESP1.Text18=Round(A8,3)
A9=Y9*B
RESP1.Text19=Round(A9,3)
A10=Y10*B
RESP1.Text20=Round(A10,3)
VM1=QM/A1
RESP2.Text1=Round(VM1,3)
VM2=QM/A2
RESP2.Text2=Round(VM2,3)
VM3=QM/A3
RESP2.Text3=Round(VM3,3)
VM4=QM/A4
RESP2.Text4=Round(VM4,3)
VM5=QM/A5
RESP2.Text5=Round(VM5,3)
VM6=QM/A6
RESP2.Text6=Round(VM6,3)
VM7=QM/A7
RESP2.Text7=Round(VM7,3)
VM8=QM/A8
RESP2.Text8=Round(VM8,3)
VM9=QM/A9
RESP2.Text9=Round(VM9,3)
VM10=QM/A10
97
RESP2.Text10=Round(VM10,3)
D1=A1/B
RESP1.Text41=Round(D1,3)
D2=A2/B
RESP1.Text42=Round(D2,3)
D3=A3/B
RESP1.Text43=Round(D3,3)
D4=A4/B
RESP1.Text44=Round(D4,3)
D5=A5/B
RESP1.Text45=Round(D5,3)
D6=A6/B
RESP1.Text46=Round(D6,3)
D7=A7/B
RESP1.Text47=Round(D7,3)
D8=A8/B
RESP1.Text48=Round(D8,3)
D9=A9/B
RESP1.Text49=Round(D9,3)
D10=A10/B
RESP1.Text50=Round(D10,3)
F1=VM1/(9.81*D1) ^(0.5)
RESP2.Text20=Round(F1,3)
F2=VM2/(9.81*D2)^(0.5)
RESP2.Text19=Round(F2,3)
F3=VM3/(9.81*D3)^(0.5)
RESP2.Text18=Round(F3,3)
F4=VM4/(9.81*D4)^(0.5)
RESP2.Text17=Round(F4,3)
F5=VM5/(9.81*D5)^(0.5)
RESP2.Text16=Round(F5,3)
F6=VM6/(9.81*D6)^(0.5)
RESP2.Text15=Round(F6,3)
F7=VM7/(9.81*D7)^(0.5)
RESP2.Text14=Round(F7,3)
F8=VM8/(9.81*D8)^(0.5)
RESP2.Text13=Round(F8,3)
F9=VM9/(9.81*D9)^(0.5)
RESP2.Text12=Round(F9,3)
98
F10=VM10/(9.81*D10)^(0.5)
RESP2.Text11=Round(F10,3)
IfF1<1Then
RESP2.Text53="SubCritico"
EndIf
IfF1=1Then
RESP2.Text53="critico"
EndIf
IfF1>1Then
RESP2.Text53="Supecritico"
EndIf
IfF2<1Then
RESP2.Text54="SubCritico"
EndIf
IfF2=1Then
RESP2.Text54="critico"
EndIf
IfF2>1Then
RESP2.Text54="Supecritico"
EndIf
IfF3<1Then
RESP2.Text55="SubCritico"
EndIf
IfF3=1Then
RESP2.Text55="critico"
EndIf
IfF3>1Then
RESP2.Text55="Supecritico"
EndIf
IfF4<1Then
RESP2.Text56="SubCritico"
EndIf
IfF4=1Then
RESP2.Text56="critico"
EndIf
IfF4>1Then
RESP2.Text56="Supecritico"
EndIf
IfF5<1Then
RESP2.Text57="SubCritico"
EndIf
IfF5=1Then
RESP2.Text57="critico"
99
EndIf
IfF5>1Then
RESP2.Text57="Supecritico"
EndIf
IfF6<1Then
RESP2.Text58="SubCritico"
EndIf
IfF6=1Then
RESP2.Text58="critico"
EndIf
IfF6>1Then
RESP2.Text58="Supecritico"
EndIf
IfF7<1Then
RESP2.Text59="SubCritico"
EndIf
IfF7=1Then
RESP2.Text59="critico"
EndIf
IfF7>1Then
RESP2.Text59="Supecritico"
EndIf
IfF8<1Then
RESP2.Text60="SubCritico"
EndIf
IfF8=1Then
RESP2.Text60="critico"
EndIf
IfF8>1Then
RESP2.Text60="Supecritico"
EndIf
IfF9<1Then
RESP2.Text61="SubCritico"
EndIf
IfF9=1Then
RESP2.Text61="critico"
EndIf
IfF9>1Then
RESP2.Text61="Supecritico"
EndIf
IfF10<1Then
RESP2.Text62="SubCritico"
EndIf
100
IfF10=1Then
RESP2.Text62="critico"
EndIf
IfF10>1Then
RESP2.Text62="Supecritico"
EndIf
E1=Y1+(VM1^2)/(19.62)
RESP2.Text30=Round(E1,3)
RESP3.Text49=Round(E1,3)
E2=Y2+(VM2^2)/(19.62)
RESP2.Text29=Round(E2,3)
RESP3.Text48=Round(E2,3)
E3=Y3+(VM3^2)/(19.62)
RESP2.Text28=Round(E3,3)
RESP3.Text47=Round(E3,3)
E4=Y4+(VM4^2) /(19.62)
RESP2.Text27=Round(E4,3)
RESP3.Text46=Round(E4,3)
E5=Y5+(VM5^2)/(19.62)
RESP2.Text26=Round(E5,3)
RESP3.Text45=Round(E5,3)
E6=Y6+(VM6^2)/(19.62)
RESP2.Text25=Round(E6,3)
RESP3.Text44=Round(E6,3)
E7 =Y7+(VM7^2)/(19.62)
RESP2.Text24=Round(E7,3)
RESP3.Text43=Round(E7,3)
E8=Y8+(VM8^2)/(19.62)
RESP2.Text23=Round(E8,3)
RESP3.Text42=Round(E8,3)
E9=Y9+(VM9^2)/(19.62)
RESP2.Text22=Round(E9,3)
RESP3.Text41=Round(E9,3)
E10=Y10+(VM10^2)/(19.62)
RESP2.Text21=Round(E10,3)
RESP3.Text40=Round(E10,3)
YC1=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text31=Round(YC1,3)
YC2=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text32=Round(YC2,3)
YC3=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text33=Round(YC3,3)
YC4=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text34=Round(YC4,3)
101
YC5=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text35=Round(YC5,3)
YC6=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text36=Round(YC6,3)
YC7=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text37=Round(YC7,3)
YC8=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text38=Round(YC8,3)
YC9=((((QM)/(B)))^2 /(9.81))^(1/3)
RESP2.Text39=Round(YC9,3)
YC10=((((QM)/(B)))^2/(9.81))^(1/3)
RESP2.Text40=Round(YC10,3)
EMI=((((QM)/(B)))^2/(9.81))^(1/3)
RESP3.Text4=Round(EMI,3)
YM1=Y1/2
YM2=Y2/2
YM3=Y3/2
YM4=Y4/2
YM5=Y5/2
YM6=Y6/2
YM7=Y7/2
YM8=Y8/2
YM9=Y9/2
YM10=Y10/2
FE1=((Y1)^2)/2+((QM/B)^2)/(9.81*Y1)
RESP2.Text50=Round(FE1,3)
RESP3.Text20=Round(FE1,3)
FE2=((Y2)^2)/2+((QM/B)^2)/(9.81*Y2)
RESP2.Text49=Round(FE2,3)
RESP3.Text21=Round(FE2,3)
FE3=((Y3)^2)/2+((QM/B)^2)/(9.81*Y3)
RESP2.Text48=Round(FE3,3)
RESP3.Text22=Round(FE3,3)
FE4=((Y4)^2)/2+((QM/B)^2)/(9.81*Y4)
RESP2.Text47=Round(FE4,3)
RESP3.Text23=Round(FE4,3)
FE5=((Y5)^2)/2+((QM/B)^2)/(9.81*Y5)
RESP2.Text46=Round(FE5,3)
RESP3.Text24=Round(FE5,3)
FE6=((Y6)^2)/2+((QM/B)^2)/(9.81*Y6)
RESP2.Text45=Round(FE6,3)
RESP3.Text25=Round(FE6,3)
FE7=((Y7)^2)/2+((QM/B)^2)/(9.81*Y7)
RESP2.Text44=Round(FE7,3)
102
RESP3.Text26=Round(FE7,3)
FE8=((Y8)^2)/2+((QM/B)^2)/(9.81*Y8)
RESP2.Text43=Round(FE8,3)
RESP3.Text27=Round(FE8,3)
FE9 =((Y9)^2)/2+((QM/B)^2)/(9.81*Y9)
RESP2.Text42=Round(FE9,3)
RESP3.Text28=Round(FE9,3)
FE10=((Y10)^2)/2+((QM/B)^2)/(9.81*Y10)
RESP2.Text41=Round(FE10,3)
RESP3.Text29=Round(FE10,3)
P1=2*Y1+B
RESP1.Text21=Round(P1,3)
P2=2*Y2+B
RESP1.Text22=Round(P2,3)
P3=2*Y3+B
RESP1.Text23=Round(P3,3)
P4=2*Y4+B
RESP1.Text24=Round(P4,3)
P5=2*Y5+B
RESP1.Text25=Round(P5,3)
P6=2*Y6+B
RESP1.Text26=Round(P6, 3)
P7=2*Y7+B
RESP1.Text27=Round(P7,3)
P8=2*Y8+B
RESP1.Text28=Round(P8,3)
P9=2*Y9+B
RESP1.Text29=Round(P9,3)
P10=2*Y10+B
RESP1.Text30=Round(P10,3)
R1=A1/P1
RESP1.Text31=Round(R1,3)
R2=A2 /P2
RESP1.Text32=Round(R2,3)
R3=A3/P3
RESP1.Text33=Round(R3,3)
R4=A4/P4
RESP1.Text34=Round(R4,3)
R5=A5/P5
RESP1.Text35=Round(R5,3)
103
R6=A6/P6
RESP1.Text36=Round(R6,3)
R7=A7/P7
RESP1.Text37=Round(R7, 3)
R8=A8/P8
RESP1.Text38=Round(R8,3)
R9=A9/P9
RESP1.Text39=Round(R9,3)
R10=A10/P10
RESP1.Text40=Round(R10,3)
Z1=A1*(D1)^0.5
RESP1.Text51=Round(Z1,3)
Z2=A2*(D2)^0.5
RESP1.Text52=Round(Z2,3)
Z3= A3*(D3)^0.5
RESP1.Text53=Round(Z3,3)
Z4=A4*(D4)^0.5
RESP1.Text54=Round(Z4,3)
Z5=A5*(D5)^0.5
RESP1.Text55=Round(Z5,3)
Z6=A6*(D6)^0.5
RESP1.Text56=Round(Z6,3)
Z7=A7*(D7)^0.5
RESP1.Text57=Round(Z7,3)
Z8=A8*(D8)^0.5
RESP1.Text58=Round(Z8,3)
Z9=A9*(D9)^0.5
RESP1.Text59=Round(Z9,3)
Z10=A10*(D10)^0.5
RESP1.Text60=Round(Z10,3)
RESP1.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
104
End If
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
105
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
End If
EndIf
EndIf
EndIf
EndSub
PrivateSubDKFKLFKLKLFGGFD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubFFGFHGFHGFHTT_Click()
Text1=""
Text2=""
Text3=""
Text4=""
Text5=""
Text6=""
Text7=""
Text8=""
Text9= ""
Text10=""
Text11=""
Text12=""
Text13=""
Text14=""
Text15=""
Text16=""
Text17=""
Text18=""
Text19=""
Text20=""
Text21=""
Text22=""
Text23=""
Text24=""
EndSub
PrivateSubKLDKFKLFKFLKGLF_Click()
106
PRAC1.PrintForm
EndSub
PrivateSubLDKKDKLKDFG_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLFKGLGLGKHLGHG_Click()
End
EndSub
PrivateSubOption1_Click()
IfOption1=TrueThen
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4=""
Text4.Visible=False
Text5=""
Text5.Visible=False
Text6=""
Text6.Visible=False
Text7=""
Text7.Visible=False
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=False
Label5.Visible=False
Label6.Visible=False
Label7.Visible=False
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
EndSub
PrivateSubOption10_Click()
IfOption10=TrueThen
Label15.Visible=True
Label11.Visible=True
Label12.Visible=False
Label13.Visible=False
107
Text11.Visible=True
Text12.Visible=True
Text13.Visible=False
Text14.Visible=False
Text15.Visible=True
Text16.Visible=True
Text17.Visible=False
Text18.Visible=False
Text22.Visible=True
Text21.Visible=True
Text20.Visible=False
Text19.Visible=False
EndIf
EndSub
PrivateSubOption11_Click()
IfOption11=TrueThen
Label15.Visible=True
Label11.Visible=True
Label12.Visible=True
Label13.Visible=False
Text11.Visible=True
Text12.Visible=True
Text13.Visible=True
Text14.Visible=False
Text15.Visible=True
Text16.Visible=True
Text17.Visible=True
Text18.Visible=False
Text22.Visible=True
Text21.Visible=True
Text20.Visible= True
Text19.Visible=False
EndIf
EndSub
PrivateSubOption12_Click()
IfOption12=TrueThen
Label15.Visible=True
Label11.Visible=True
Label12.Visible=True
Label13.Visible=True
Text11.Visible=True
Text12.Visible=True
Text13.Visible= True
108
Text14.Visible=True
Text15.Visible=True
Text16.Visible=True
Text17.Visible=True
Text18.Visible=True
Text22.Visible=True
Text21.Visible=True
Text20.Visible=True
Text19.Visible=True
EndIf
EndSub
PrivateSubOption2_Click()
IfOption2=TrueThen
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5=""
Text5.Visible=False
Text6=""
Text6.Visible=False
Text7=""
Text7.Visible=False
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=False
Label6.Visible=False
Label7.Visible=False
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
EndSub
PrivateSubOption3_Click()
IfOption3=TrueThen
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6=""
Text6.Visible=False
Text7=""
109
Text7.Visible=False
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=False
Label7.Visible=False
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
EndSub
PrivateSubOption4_Click()
IfOption4=TrueThen
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
Text7=""
Text7.Visible=False
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=False
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
EndSub
PrivateSubOption5_Click()
IfOption5=TrueThen
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
110
Text7.Visible=True
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible= True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=True
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
EndSub
PrivateSubOption6_Click()
IfOption6=TrueThen
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
Text7.Visible=True
Text8.Visible=True
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=True
Label8.Visible=True
Label9.Visible=False
Label10.Visible=False
EndIf
EndSub
PrivateSubOption7_Click()
IfOption7=TrueThen
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
Text7.Visible=True
Text8.Visible=True
111
Text9.Visible=True
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=True
Label8.Visible=True
Label9.Visible=True
Label10.Visible=False
EndIf
EndSub
PrivateSubOption8_Click()
IfOption8=TrueThen
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
Text7.Visible=True
Text8.Visible=True
Text9.Visible=True
Text10.Visible=True
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=True
Label8.Visible=True
Label9.Visible=True
Label10.Visible=True
EndIf
EndSub
PrivateSubOption9_Click()
IfOption9=TrueThen
Label15.Visible=True
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Text11.Visible=True
Text12.Visible=False
Text13.Visible=False
Text14.Visible=False
Text15.Visible=True
Text16.Visible=False
112
Text17.Visible=False
Text18.Visible=False
Text22.Visible= True
Text21.Visible=False
Text20.Visible=False
Text19.Visible=False
EndIf
EndSub
PrivateSubText1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText10_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText11_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText12_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText13_KeyPress(KeyAsciiAsInteger)
113
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText14_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText15_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText16_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText17_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText18_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
114
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText19_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText20_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText21_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText22_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
115
PrivateSubText23_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<> 8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText24_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText25_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText25_Change()
IfText25<3Then
MsgBox"MINIMO3DATOS,INGRESEUNNUMERODEDATOSENTRE3Y10",16,"ERROR
DECOMPLETACION"
PRAC1.Show
EndIf
IfText25>10Then
MsgBox"MAXIMO10DATOS,INGRESEUNNUMERODEDATOSENTRE3Y10",16,"ERROR
DECOMPLETACION"
PRAC1.Show
EndIf
IfText25=3Then
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4=""
Text4.Visible=False
Text5=""
Text5.Visible=False
Text6=""
Text6.Visible=False
Text7= ""
Text7.Visible=False
Text8=""
Text8.Visible=False
Text9=""
116
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=False
Label5.Visible=False
Label6.Visible=False
Label7.Visible=False
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
IfText25=4Then
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5=""
Text5.Visible=False
Text6=""
Text6.Visible=False
Text7=""
Text7.Visible=False
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=False
Label6.Visible=False
Label7.Visible=False
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
IfText25=5Then
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible= True
Text6=""
Text6.Visible=False
Text7=""
Text7.Visible=False
117
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible= True
Label5.Visible=True
Label6.Visible=False
Label7.Visible=False
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
IfText25=6Then
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
Text7=""
Text7.Visible=False
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=False
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
IfText25=7Then
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
118
Text7.Visible=True
Text8=""
Text8.Visible=False
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=True
Label8.Visible=False
Label9.Visible=False
Label10.Visible=False
EndIf
IfText25=8Then
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
Text7.Visible=True
Text8.Visible=True
Text9=""
Text9.Visible=False
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=True
Label8.Visible=True
Label9.Visible=False
Label10.Visible=False
EndIf
IfText25=9Then
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
Text7.Visible=True
119
Text8.Visible=True
Text9.Visible=True
Text10=""
Text10.Visible=False
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=True
Label8.Visible=True
Label9.Visible=True
Label10.Visible=False
EndIf
IfText25=10Then
Text1.Visible=True
Text2.Visible=True
Text3.Visible=True
Text4.Visible=True
Text5.Visible=True
Text6.Visible=True
Text7.Visible=True
Text8.Visible=True
Text9.Visible=True
Text10.Visible=True
Text10.Visible=True
Label1.Visible=True
Label2.Visible=True
Label3.Visible=True
Label4.Visible=True
Label5.Visible=True
Label6.Visible=True
Label7.Visible=True
Label8.Visible= True
Label9.Visible=True
Label10.Visible=True
EndIf
IfText25=""Then
EndIf
EndSub
PrivateSubText3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
120
PrivateSubText4_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText5_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText6_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText7_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText8_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))= 0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText9_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
121
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
FORMULARIONUMERO3
PrivateSubFile1_Click()
EndSub
PrivateSubCommand1_Click()
RESP2.Show
UnloadMe
EndSub
PrivateSubDLLFDLFDFLLD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubDLFLDFLD_Click()
RESP1.PrintForm
EndSub
PrivateSubKSDJDSKFDKFDLKF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLDKLKLFKDLKFD_Click()
End
EndSub
PrivateSubSDKFDDFKJFKHHFJD_Click()
PRAC1.Show
UnloadMe
EndSub
FORMULARIONUMERO4
PrivateSubCommand1_Click()
RESP3.Show
UnloadMe
EndSub
122
FORMULARIONUMERO5
PrivateSubImage1_Click()
UnloadMe
EndSub
PrivateSubCommand1_Click()
DimDONDE,RANGOAsString
DimRESAsLong
DimEXCELAsObject
DimLIBROAsObject
SetEXCEL=CreateObject("excel.Application")
DONDE="C:\Archivosdeprograma\DISCAN\CRAK\LAB_HIDRAULICA_1.xls"
SetCALCULOS=EXCEL.Workbooks.Open(DONDE)
CALCULOS.Worksheets(1).Cells(3,17)=Text64
CALCULOS.Worksheets(1).Cells(4,17)=Text63
CALCULOS.Worksheets(1).Cells(5,17)=Text62
CALCULOS.Worksheets(1).Cells(6,17)=Text61
CALCULOS.Worksheets(1).Cells(7,17)=Text60
CALCULOS.Worksheets(1).Cells(8,17)=Text59
CALCULOS.Worksheets(1).Cells(9,17)=Text58
CALCULOS.Worksheets(1).Cells(10,17)=Text57
CALCULOS.Worksheets(1).Cells(11,17)=Text56
CALCULOS.Worksheets(1).Cells(12,17)=Text55
CALCULOS.Worksheets(1).Cells(5,13)=Text1
CALCULOS.Worksheets(1).Cells(9,13)=Text15
EXCEL.Visible=True
SetLIBRO=Nothing
SetEXCEL=Nothing
EndSub
PrivateSubCommand2_Click()
DimDONDE,RANGOAsString
DimRESAsLong
DimEXCELAsObject
DimLIBROAsObject
SetEXCEL=CreateObject("excel.Application")
DONDE="C:\Archivosdeprograma\DISCAN\CRAK\LAB_HIDRAULICA_1.xls"
SetCALCULOS=EXCEL.Workbooks.Open(DONDE)
CALCULOS.Worksheets(1).Cells(3,17)=Text64
CALCULOS.Worksheets(1).Cells(4,17)=Text63
CALCULOS.Worksheets(1).Cells(5,17)=Text62
CALCULOS.Worksheets(1).Cells(6,17)=Text61
CALCULOS.Worksheets(1).Cells(7,17)=Text60
CALCULOS.Worksheets(1).Cells(8,17)=Text59
CALCULOS.Worksheets(1).Cells(9,17)=Text58
CALCULOS.Worksheets(1).Cells(10,17)=Text57
CALCULOS.Worksheets(1).Cells(11,17)=Text56
CALCULOS.Worksheets(1).Cells(12,17)=Text55
CALCULOS.Worksheets(1).Cells(5,13)=Text1
CALCULOS.Worksheets(1).Cells(9,13)=Text15
EXCEL.Visible=True
123
SetLIBRO=Nothing
SetEXCEL=Nothing
EndSub
PrivateSubCommand3_Click()
End
UnloadMe
EndSub
PrivateSubCommand4_Click()
LAB1_ERROR.Show
EndSub
PrivateSubCommand5_Click()
LAB1_ECUA.Show
EndSub
PrivateSubJKLSDJKJKFKD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubJKSDJJDKFDF_Click()
End
EndSub
PrivateSubKLDKFDKFDKLF_Click()
RESP3.PrintForm
EndSub
PrivateSubLDFKLFDSLFDLSF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLSLDKSLDKSLD_Click()
RESP2.Show
UnloadMe
EndSub
7.1.2
ECUACIONESUSADAS
PrivateSubFLGLDFLGLFDG_Click()
End
EndSub
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
124
EndSub
PrivateSubKSJKSAKJKSD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubNDJKJDSKFJDSJK_Click()
LAB1_ECUA.PrintForm
EndSub
PrivateSubNMKDFJKFJDSKF_Click()
MDIForm1.Show
UnloadMe
EndSub
7.2 RESALTOHIDRAULICO
7.2.1 INTRODUCCION
PrivateSubCommand1_Click()
PRAC2.Show
UnloadMe
MsgBox"SELECCIONEELNUMERODELECTURASYDEAFOROS",16,"AYUDASDE
CALCULO"
PRAC2.Show
MsgBox"INGRESELASLECTURASANTESDELACOMPUERTAENORDENDESENDENTE,
ESDECIRDELAMAYORALAMENOR",16,"AYUDASDECALCULO"
PRAC2.Show
EndSub
PrivateSubDKFKDKFDLKFL_Click()
End
EndSub
PrivateSubDSDLKFLDSKFLDSF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubKLSDKSDFLKFDLKG_Click()
GENER2.PrintForm
EndSub
PrivateSubLabel4_Click()
125
EndSub
PrivateSubMKDMKDLFKDKSFLD_Click()
MDIForm1.Show
UnloadMe
EndSub
7.2.2
REALIZARCALCULOS
PrivateSubSubWizard1_GotFocus()
EndSub
PrivateSubCommand1_Click()
IfText1=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA1LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText2=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA2LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText3=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA3LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText4=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA4LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText5=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA5LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText6=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA6LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText7=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA7LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText8=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA8LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
126
Else
IfText9=""Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA9LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText10="" Then
MsgBox"FALTAHANTESDELACOMPUERTAPARALA10LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText11=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA1LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText12=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA2LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText13=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA3LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText14=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA4LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText15=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA5LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText16=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA6LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText17=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA7LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText18=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA8LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText19=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA9LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText20=""Then
MsgBox"FALTAHANTESDELRESALTOPARALA10LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
127
PRAC2.Show
Else
IfText21=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA1LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText22=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA2LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText23=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA3LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText24=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA4LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText25=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA5LECTURA,INTRODUCIRUN
VALOR",16,"ERROR DECOMPLETACION"
PRAC2.Show
Else
IfText26=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA6LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText27=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA7LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText28=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA8LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText29=""AndText29=""Then
MsgBox"FALTAHDESPUESDELRESALTOPARALA9LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText30=""Then
MsgBox"FALTAH DESPUESDELRESALTOPARALA10LECTURA,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText31=""Then
MsgBox"FALTAELPESODELVALDEPARAELPRIMERAFORO,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText32=""Then
128
MsgBox"FALTAELPESODELVALDEPARAELSEGUNDOAFORO,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText33=""Then
MsgBox"FALTAELPESODELVALDE PARAELTERCERAFORO,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText34=""Then
MsgBox"FALTAELPESODELVALDEPARAELCUARTOAFORO,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText35=""Then
MsgBox"FALTAELPESODELCONJUNTOPARAELPRIMERAFORO,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText36=""Then
MsgBox"FALTAELPESODELCONJUNTOPARAELSEGUNDOAFORO,INTRODUCIR
UNVALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText37=""Then
MsgBox"FALTAELPESODELCONJUNTOPARAELTERCERAFORO,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText38=""Then
MsgBox"FALTAELPESODELCONJUNTOPARAELCUARTOAFORO,INTRODUCIRUN
VALOR",16,"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText39=""Then
MsgBox"FALTAELTIEMPODELPRIMERAFORO,INTRODUCIRUNVALOR",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText40=""Then
MsgBox"FALTAELTIEMPODELSEGUNDOAFORO,INTRODUCIRUNVALOR",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText41=""Then
MsgBox"FALTAELTIEMPODELTERCERAFORO,INTRODUCIRUNVALOR",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText42=""Then
MsgBox"FALTAELTIEMPODELCUARTOAFORO,INTRODUCIRUNVALOR",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText43=""Then
MsgBox"FALTALATEMPERATURADELFLUJO,INTRODUCIRUNVALOR",16,"ERROR
DECOMPLETACION"
129
PRAC2.Show
Else
IfText44=""Then
MsgBox"ELCANALESRECTANGULARYTIENEBASEB,INTRODUCIRUNVALOR",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText44=0Then
MsgBox"ELCANALESRECTANGULARYTIENEBASEB,INTRODUCIRUNVALOR",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText35 Text31<0Then
MsgBox"ELPESODELVALDENOPUEDESERMAYORALPESODELCONJUNTO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText36 Text32<0Then
MsgBox"ELPESODELVALDENOPUEDESERMAYORALPESODELCONJUNTO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText37 Text33<0Then
MsgBox"ELPESODELVALDENOPUEDESERMAYORALPESODELCONJUNTO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText38 Text34<0Then
MsgBox"ELPESODELVALDENOPUEDESERMAYORALPESODELCONJUNTO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText35 Text31=0Then
MsgBox"ELPESODELVALDENOPUEDESERIGUALALPESODELCONJUNTO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText36 Text32=0Then
MsgBox"ELPESODELVALDENOPUEDESERIGUALALPESODELCONJUNTO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText37 Text33=0Then
MsgBox"ELPESODELVALDENOPUEDESERIGUALALPESODELCONJUNTO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText38 Text34=0Then
MsgBox"ELPESODELVALDENOPUEDESERIGUALALPESODELCONJUNTO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
130
IfText35=0Then
MsgBox"ELPESODELCONJUNTONOPUEDESERMENOROIGUALACERO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText36=0Then
MsgBox"ELPESODELCONJUNTONOPUEDESERMENOROIGUALACERO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText37=0Then
MsgBox"ELPESODELCONJUNTONOPUEDESERMENOR OIGUALACERO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText38=0Then
MsgBox"ELPESODELCONJUNTONOPUEDESERMENOROIGUALACERO",16,
"ERRORDECOMPLETACION"
PRAC2.Show
Else
IfText39 =0OrText39<0Then
MsgBox"ELTIEMPONOPUEDESERMENOROIGUALACERO",16,"ERRORDE
COMPLETACION"
PRAC2.Show
Else
IfText40=0OrText40<0Then
MsgBox"ELTIEMPONOPUEDESERMENOROIGUALACERO",16,"ERRORDE
COMPLETACION"
PRAC2.Show
Else
IfText41=0OrText41<0Then
MsgBox"ELTIEMPONOPUEDESERMENOROIGUALACERO",16,"ERRORDE
COMPLETACION"
PRAC2.Show
Else
IfText42=0OrText42<0Then
MsgBox"ELTIEMPONOPUEDESERMENOROIGUALACERO",16,"ERRORDE
COMPLETACION"
PRAC2.Show
Else
DimHAC1AsSingle
DimHAC2AsSingle
DimHAC3AsSingle
DimHAC4AsSingle
DimHAC5AsSingle
DimHAC6AsSingle
DimHAC7AsSingle
DimHAC8AsSingle
DimHAC9AsSingle
DimHAC10AsSingle
DimHAR1AsSingle
DimHAR2AsSingle
DimHAR3AsSingle
131
DimHAR4AsSingle
DimHAR5AsSingle
DimHAR6AsSingle
DimHAR7AsSingle
DimHAR8AsSingle
DimHAR9AsSingle
DimHAR10AsSingle
DimHDR1AsSingle
DimHDR2AsSingle
DimHDR3AsSingle
DimHDR4AsSingle
DimHDR5AsSingle
DimHDR6AsSingle
DimHDR7AsSingle
DimHDR8AsSingle
DimHDR9AsSingle
DimHDR10AsSingle
DimTAsSingle
DimBLAsSingle
DimPV1AsSingle
DimPV2AsSingle
DimPV3AsSingle
DimPV4AsSingle
DimPC1AsSingle
DimPC2AsSingle
DimPC3AsSingle
DimPC4AsSingle
DimT1AsSingle
DimT2AsSingle
Dimt3AsSingle
Dimt4AsSingle
DimuAsSingle
Dimw1AsSingle
Dimw2AsSingle
Dimw3AsSingle
Dimw4AsSingle
DimV1AsSingle
Dimv2AsSingle
Dimv3AsSingle
Dimv4AsSingle
Dimqm1AsSingle
Dimqm2AsSingle
Dimqm3AsSingle
Dimqm4AsSingle
DimQMAsSingle
DimQLAsSingle
132
HAC1=Text1/1000
HAC2=Text2/1000
HAC3=Text3/1000
HAC4=Text4/1000
HAC5=Text5/1000
HAC6=Text6/1000
HAC7=Text7/1000
HAC8=Text8/1000
HAC9=Text9/1000
HAC10=Text10/1000
HAR1=Text11/1000
HAR2=Text12/1000
HAR3=Text13/1000
HAR4=Text14/1000
HAR5=Text15/1000
HAR6=Text16/1000
HAR7=Text17/1000
HAR8=Text18/1000
HAR9=Text19/1000
HAR10=Text20/1000
HDR1=Text21/1000
HDR2=Text22/1000
HDR3=Text23/1000
HDR4=Text24/1000
HDR5=Text25/1000
HDR6=Text26/1000
HDR7=Text27/1000
HDR8=Text28/1000
HDR9=Text29/1000
HDR10=Text30/1000
PV1=Text31
PV2=Text32
PV3=Text33
PV4=Text34
PC1=Text35
PC2=Text36
PC3=Text37
PC4=Text38
T1=Text39
T2=Text40
t3=Text41
t4= Text42
T=Text43
BL=Text44
u= 0.000003*CCur(T)^2 0.0008*CCur(T)+10
w1=CCur(PC1) CCur(PV1)
w2=CCur(PC2) CCur(PV2)
w3=CCur(PC3) CCur(PV3)
w4=CCur(PC4) CCur(PV4)
V1=((((CCur(w1)*9.81)/1000)/1000)/CCur(u))
133
qm1=CCur(V1)/CCur(T1)
v2=((((CCur(w2)*9.81)/1000)/1000)/CCur(u))
qm2=CCur(v2)/CCur(T2)
v3=((((CCur(w3)*9.81)/1000)/1000)/CCur(u))
qm3=CCur(v3)/CCur(t3)
v4=((((CCur(w4)*9.81)/ 1000)/1000)/CCur(u))
qm4=CCur(v4)/CCur(t4)
QM=(qm1+qm2+qm3+qm4)/4
'CAUDALM3/S
QL=1000*QM
'CAUDALLTS
QB=QM/((BL/100))
'QUNITARIO
LAB2_SOL1.Text1=Round(w1,4)
LAB2_SOL1.Text2=Round(w2,4)
LAB2_SOL1.Text3=Round(w3,4)
LAB2_SOL1.Text4=Round(w4,4)
LAB2_SOL1.Text5=Round(T1,3)
LAB2_SOL1.Text6=Round(T2,3)
LAB2_SOL1.Text7=Round(t3,3)
LAB2_SOL1.Text8=Round(t4,3)
LAB2_SOL1.Text9=Round(V1,4)
LAB2_SOL1.Text10=Round(v2,4)
LAB2_SOL1.Text11=Round(v3,4)
LAB2_SOL1.Text12=Round(v4,4)
LAB2_SOL1.Text13=Round(qm1,4)
LAB2_SOL1.Text14=Round(qm2,4)
LAB2_SOL1.Text15=Round(qm3,4)
LAB2_SOL1.Text16=Round(qm4,4)
LAB2_SOL1.Text17=Round(1000*qm1,4)
LAB2_SOL1.Text18=Round(1000*qm2,4)
LAB2_SOL1.Text19=Round(1000*qm3,4)
LAB2_SOL1.Text20=Round(1000*qm4,4)
LAB2_SOL1.Text21=Round(QM,4)
LAB2_SOL2.Text96=Round(QM,4)
LAB2_SOL1.Text22=Round(QL,4)
LAB2_SOL2.Text94=Round(QL,4)
LAB2_SOL2.Text97=Round(CCur(QB),4)
LAB2_SOL2.Text95=Round(CCur(BL/100),4)
E1=HAC1+QB^2/(19.62+HAC1^2)
E2=HAC2+QB^2/(19.62+HAC2^2)
134
E3=HAC3+QB^2/(19.62+HAC3^2)
E4=HAC4+QB^2/(19.62+HAC4^2)
E5=HAC5+QB^2/(19.62+HAC5^2)
E6=HAC6+QB^2/(19.62+HAC6^2)
E7=HAC7+QB^2/(19.62+HAC7^2)
E8=HAC8+QB^2/(19.62+HAC8^2)
E9=HAC9+QB^2/(19.62+HAC9^2)
E10=HAC10+QB^2/(19.62+HAC10^2)
LAB2_SOL2.Text1=Round(CCur(E1),4)
LAB2_SOL2.Text2=Round(CCur(E2),4)
LAB2_SOL2.Text3=Round(CCur(E3),4)
LAB2_SOL2.Text4=Round(CCur(E4),4)
LAB2_SOL2.Text5=Round(CCur(E5),4)
LAB2_SOL2.Text6=Round(CCur(E6),4)
LAB2_SOL2.Text7=Round(CCur(E7),4)
LAB2_SOL2.Text8=Round(CCur(E8),4)
LAB2_SOL2.Text9=Round(CCur(E9),4)
LAB2_SOL2.Text10=Round(CCur(E10),4)
X1=0
ForI=1To100
X1=CCur((QB^2/(19.62*Abs((E1 X1))))^(0.5))
NextI
YA1=CCur(Round(X1,4))
X2=0
ForI=1To100
X2=CCur((QB^2/(19.62*Abs((E2 X2))))^(0.5))
NextI
YA2=CCur(Round(X2,4))
X3=0
ForI=1To100
X3=CCur((QB^2/(19.62*Abs((E3 X3))))^(0.5))
NextI
YA3=CCur(Round(X3,4))
X4=0
ForI=1To100
X4=CCur((QB^2/(19.62*Abs((E4 X4))))^(0.5))
NextI
YA4=CCur(Round(X4,4))
X5=0
ForI=1To100
X5=CCur((QB^2/(19.62*Abs((E5 X5))))^(0.5))
NextI
YA5=CCur(Round(X5,4))
X6=0
ForI=1To100
X6=CCur((QB^2/(19.62*Abs((E6 X6))))^(0.5))
NextI
YA6=CCur(Round(X6,4))
X7=0
ForI=1To100
X7=CCur((QB^2/(19.62*Abs((E7 X7))))^(0.5))
135
NextI
YA7=CCur(Round(X7,4))
X8=0
ForI=1To100
X8=CCur((QB^2/(19.62*Abs((E8 X8))))^(0.5))
NextI
YA8=CCur(Round(X8,4))
X9=0
ForI=1To100
X9=CCur((QB^2/(19.62*Abs((E9 X9))))^(0.5))
NextI
YA9=CCur(Round(X9,4))
X10=0
ForI=1To100
X10=CCur((QB^2/(19.62*Abs((E10 X10))))^(0.5))
NextI
YA10=CCur(Round(X10,4))
F1=CCur(Round(Sqr(QB^2/(9.81*YA1^3)),3))
F2=CCur(Round(Sqr(QB^2/(9.81*YA2^3)),3))
F3=CCur(Round(Sqr(QB^2/(9.81*YA3^3)),3))
F4=CCur(Round(Sqr(QB^2/(9.81*YA4^3)),3))
F5=CCur(Round(Sqr(QB^2/(9.81*YA5^3)),3))
F6=CCur(Round(Sqr(QB^2/(9.81*YA6^3)),3))
F7=CCur(Round(Sqr(QB^2/(9.81*YA7^3)),3))
F8= CCur(Round(Sqr(QB^2/(9.81*YA8^3)),3))
F9=CCur(Round(Sqr(QB^2/(9.81*YA9^3)),3))
F10=CCur(Round(Sqr(QB^2/(9.81*YA10^3)),3))
LAB2_SOL2.Text11=Round(CCur(F1),3)
LAB2_SOL2.Text12=Round(CCur(F2),3)
LAB2_SOL2.Text13=Round(CCur(F3),3)
LAB2_SOL2.Text14=Round(CCur(F4),3)
LAB2_SOL2.Text15=Round(CCur(F5),3)
LAB2_SOL2.Text16=Round(CCur(F6),3)
LAB2_SOL2.Text17=Round(CCur(F7),3)
LAB2_SOL2.Text18=Round(CCur(F8),3)
LAB2_SOL2.Text19=Round(CCur(F9),3)
LAB2_SOL2.Text20 =Round(CCur(F10),3)
IfF1<1Then
LAB2_SOL2.Text21="SubCritico"
EndIf
IfF1=1Then
LAB2_SOL2.Text21="critico"
EndIf
IfF1>1Then
LAB2_SOL2.Text21="Supecritico"
EndIf
If F2<1Then
LAB2_SOL2.Text22="SubCritico"
EndIf
136
IfF2=1Then
LAB2_SOL2.Text22="critico"
EndIf
IfF2>1Then
LAB2_SOL2.Text22="Supecritico"
EndIf
IfF3<1Then
LAB2_SOL2.Text23="SubCritico"
EndIf
IfF3=1Then
LAB2_SOL2.Text23="critico"
EndIf
IfF3>1Then
LAB2_SOL2.Text23="Supecritico"
EndIf
IfF4<1Then
LAB2_SOL2.Text24="SubCritico"
EndIf
IfF4=1Then
LAB2_SOL2.Text24="critico"
EndIf
IfF4>1Then
LAB2_SOL2.Text24="Supecritico"
EndIf
IfF5<1Then
LAB2_SOL2.Text25="SubCritico"
EndIf
IfF5=1Then
LAB2_SOL2.Text25="critico"
EndIf
IfF5>1Then
LAB2_SOL2.Text25="Supecritico"
EndIf
IfF6<1Then
LAB2_SOL2.Text26="SubCritico"
EndIf
IfF6=1Then
LAB2_SOL2.Text26="critico"
EndIf
IfF6>1Then
LAB2_SOL2.Text26="Supecritico"
EndIf
IfF7<1Then
LAB2_SOL2.Text27="SubCritico"
137
EndIf
IfF7=1Then
LAB2_SOL2.Text27="critico"
EndIf
IfF7 >1Then
LAB2_SOL2.Text27="Supecritico"
EndIf
IfF8<1Then
LAB2_SOL2.Text28="SubCritico"
EndIf
IfF8=1Then
LAB2_SOL2.Text28="critico"
EndIf
IfF8>1Then
LAB2_SOL2.Text28="Supecritico"
EndIf
IfF9<1Then
LAB2_SOL2.Text29="SubCritico"
EndIf
IfF9=1Then
LAB2_SOL2.Text29="critico"
EndIf
IfF9>1Then
LAB2_SOL2.Text29="Supecritico"
EndIf
IfF10<1Then
LAB2_SOL2.Text30="SubCritico"
EndIf
IfF10=1Then
LAB2_SOL2.Text30="critico"
EndIf
IfF10>1Then
LAB2_SOL2.Text30="Supecritico"
EndIf
Y21=CCur((YA1/2)*(1+(1+8*(F1)^2)^(0.5)))
Y22=CCur((YA2/2)*(1+(1+8*(F2)^2)^(0.5)))
Y23=CCur((YA3/2)*(1+(1+8*(F3)^2)^(0.5)))
Y24=CCur((YA4/2)*(1+(1+8*(F4)^2)^(0.5)))
Y25=CCur((YA5/2)*(1+(1+8*(F5)^2)^(0.5)))
Y26=CCur((YA6/2)*(1+(1+8*(F6)^2)^(0.5)))
Y27=CCur((YA7/2)*(1+(1+8*(F7)^2)^(0.5)))
138
Y28=CCur((YA8/2)*(1+(1+8*(F8)^2)^(0.5)))
Y29=CCur((YA9/2) *(1+(1+8*(F9)^2)^(0.5)))
Y30=CCur((YA10/2)*(1+(1+8*(F10)^2)^(0.5)))
LAB2_SOL2.Text31=CCur(Round(Y21,4))
LAB2_SOL2.Text32=CCur(Round(Y22,4))
LAB2_SOL2.Text33=CCur(Round(Y23,4))
LAB2_SOL2.Text34=CCur(Round(Y24,4))
LAB2_SOL2.Text35=CCur(Round(Y25,4))
LAB2_SOL2.Text36=CCur(Round(Y26,4))
LAB2_SOL2.Text37=CCur(Round(Y27,4))
LAB2_SOL2.Text38=CCur(Round(Y28,4))
LAB2_SOL2.Text39=CCur(Round(Y29,4))
LAB2_SOL2.Text40=CCur(Round(Y30,4))
D1=CCur((Y21 YA1)^ 3/(4*Y21*YA1))
D2=CCur((Y22 YA2)^3/(4*Y22*YA2))
D3=CCur((Y23 YA3)^3/(4*Y23*YA3))
D4=CCur((Y24 YA4)^3/(4*Y24*YA4))
D5=CCur((Y25 YA5)^3/(4*Y25*YA5))
D6=CCur((Y26 YA6)^3/(4*Y26*YA6))
D7=CCur((Y27 YA7)^3/(4*Y27*YA7))
D8=CCur((Y28 YA8)^3/(4*Y28*YA8))
D9=CCur((Y29 YA9)^3/(4*Y29*YA9))
D10=CCur((Y30 YA10)^3/(4*Y30*YA10))
LAB2_SOL2.Text41=CCur(Round(D1,4))
LAB2_SOL2.Text42=CCur(Round(D2,4))
LAB2_SOL2.Text43=CCur(Round(D3,4))
LAB2_SOL2.Text44=CCur(Round(D4,4))
LAB2_SOL2.Text45=CCur(Round(D5,4))
LAB2_SOL2.Text46=CCur(Round(D6,4))
LAB2_SOL2.Text47=CCur(Round(D7,4))
LAB2_SOL2.Text48=CCur(Round(D8,4))
LAB2_SOL2.Text49=CCur(Round(D9, 4))
LAB2_SOL2.Text50=CCur(Round(D10,4))
P1=CCur(9790*D1*QM)
P2=CCur(9790*D2*QM)
P3=CCur(9790*D3*QM)
P4=CCur(9790*D4*QM)
P5=CCur(9790*D5*QM)
P6=CCur(9790*D6*QM)
P7=CCur(9790*D7*QM)
P8=CCur(9790*D8*QM)
P9=CCur(9790*D9*QM)
P10=CCur(9790*D10*QM)
LAB2_SOL2.Text51=CCur(Round(P1,3))
LAB2_SOL2.Text52=CCur(Round(P2,3))
LAB2_SOL2.Text53=CCur(Round(P3,3))
LAB2_SOL2.Text54=CCur(Round(P4,3))
LAB2_SOL2.Text55=CCur(Round(P5,3))
LAB2_SOL2.Text56=CCur(Round(P6,3))
LAB2_SOL2.Text57=CCur(Round(P7,3))
LAB2_SOL2.Text58=CCur(Round(P8,3))
LAB2_SOL2.Text59=CCur(Round(P9,3))
LAB2_SOL2.Text60=CCur(Round(P10,3))
139
LAB2_SOL3.Text1=CCur(Round(HAC1,4))
LAB2_SOL3.Text2=CCur(Round(HAC2,4))
LAB2_SOL3.Text3=CCur(Round(HAC3,4))
LAB2_SOL3.Text4=CCur(Round(HAC4,4))
LAB2_SOL3.Text5=CCur(Round(HAC5,4))
LAB2_SOL3.Text6=CCur(Round(HAC6,4))
LAB2_SOL3.Text7=CCur(Round(HAC7,4))
LAB2_SOL3.Text8=CCur(Round(HAC8,4))
LAB2_SOL3.Text9=CCur(Round(HAC9,4))
LAB2_SOL3.Text10=CCur(Round(HAC10,4))
LAB2_SOL3.Text11=CCur(Round(YA1,4))
LAB2_SOL3.Text12=CCur(Round(YA2,4))
LAB2_SOL3.Text13=CCur(Round(YA3,4))
LAB2_SOL3.Text14=CCur(Round(YA4,4))
LAB2_SOL3.Text15=CCur(Round(YA5,4))
LAB2_SOL3.Text16=CCur(Round(YA6,4))
LAB2_SOL3.Text17=CCur(Round(YA7,4))
LAB2_SOL3.Text18=CCur(Round(YA8,4))
LAB2_SOL3.Text19=CCur(Round(YA9,4))
LAB2_SOL3.Text20=CCur(Round(YA10,4))
LAB2_SOL3.Text21=CCur(Round(Y21,4))
LAB2_SOL3.Text22=CCur(Round(Y22,4))
LAB2_SOL3.Text23=CCur(Round(Y23,4))
LAB2_SOL3.Text24=CCur(Round(Y24,4))
LAB2_SOL3.Text25=CCur(Round(Y25,4))
LAB2_SOL3.Text26=CCur(Round(Y26,4))
LAB2_SOL3.Text27=CCur(Round(Y27,4))
LAB2_SOL3.Text28=CCur(Round(Y28,4))
LAB2_SOL3.Text29=CCur(Round(Y29,4))
LAB2_SOL3.Text30=CCur(Round(Y30,4))
FEO1=CCur((((HAC1)^2)/2)+(((QB)^2)/(9.81*((HAC1)^2))))
FEO2=CCur((((HAC2)^2)/2)+(((QB)^2)/(9.81*((HAC2)^2))))
FEO3=CCur((((HAC3)^2)/2)+(((QB)^2)/(9.81*((HAC3)^2))))
FEO4=CCur((((HAC4)^2)/2)+(((QB)^2)/(9.81*((HAC4)^2))))
FEO5=CCur((((HAC5)^2)/2)+(((QB)^2)/(9.81*((HAC5)^2))))
FEO6=CCur((((HAC6)^2)/2)+(((QB)^2)/(9.81*((HAC6)^2))))
FEO7=CCur((((HAC7)^2)/2)+(((QB)^2)/(9.81*((HAC7)^2))))
FEO8=CCur((((HAC8)^2)/2)+(((QB)^2)/(9.81*((HAC8)^2))))
FEO9=CCur((((HAC9)^2)/2)+(((QB)^2)/(9.81*((HAC9)^2))))
FEO10=CCur((((HAC10)^2)/2)+(((QB)^2)/(9.81*((HAC10)^2))))
FE11=CCur((((YA1)^2)/2)+(((QB)^2)/(9.81*((YA1)^2))))
FE12=CCur((((YA2)^2)/2)+(((QB)^2)/(9.81*((YA2)^2))))
FE13=CCur((((YA3)^2)/2)+(((QB)^2)/(9.81*((YA3)^2))))
FE14=CCur((((YA4)^2) /2)+(((QB)^2)/(9.81*((YA4)^2))))
FE15=CCur((((YA5)^2)/2)+(((QB)^2)/(9.81*((YA5)^2))))
FE16=CCur((((YA6)^2)/2)+(((QB)^2)/(9.81*((YA6)^2))))
FE17=CCur((((YA7)^2)/2)+(((QB)^2)/(9.81*((YA7)^2))))
FE18 =CCur((((YA8)^2)/2)+(((QB)^2)/(9.81*((YA8)^2))))
FE19=CCur((((YA9)^2)/2)+(((QB)^2)/(9.81*((YA9)^2))))
FE110=CCur((((YA10)^2)/2)+(((QB)^2)/(9.81*((YA10)^2))))
140
FB1=CCur(u*QB*(FEO1 FE11))
FB2=CCur(u*QB*(FEO2 FE12))
FB3=CCur(u*QB*(FEO3 FE13))
FB4=CCur(u*QB*(FEO4 FE14))
FB5=CCur(u*QB*(FEO5 FE15))
FB6=CCur(u*QB*(FEO6 FE16))
FB7=CCur(u*QB*(FEO7 FE17))
FB8=CCur(u*QB*(FEO8 FE18))
FB9=CCur(u*QB*(FEO9 FE19))
FB10=CCur(u*QB*(FEO10 FE110))
LAB2_SOL3.Text31=CCur(Round(FEO1,4))
LAB2_SOL3.Text32=CCur(Round(FEO2,4))
LAB2_SOL3.Text33=CCur(Round(FEO3,4))
LAB2_SOL3.Text34=CCur(Round(FEO4,4))
LAB2_SOL3.Text35=CCur(Round(FEO5,4))
LAB2_SOL3.Text36=CCur(Round(FEO6,4))
LAB2_SOL3.Text37=CCur(Round(FEO7,4))
LAB2_SOL3.Text38=CCur(Round(FEO8,4))
LAB2_SOL3.Text39=CCur(Round(FEO9,4))
LAB2_SOL3.Text40=CCur(Round(FEO10,4))
LAB2_SOL3.Text41=CCur(Round(FE11,4))
LAB2_SOL3.Text42=CCur(Round(FE12,4))
LAB2_SOL3.Text43=CCur(Round(FE13,4))
LAB2_SOL3.Text44=CCur(Round(FE14,4))
LAB2_SOL3.Text45=CCur(Round(FE15,4))
LAB2_SOL3.Text46=CCur(Round(FE16,4))
LAB2_SOL3.Text47=CCur(Round(FE17,4))
LAB2_SOL3.Text48=CCur(Round(FE18, 4))
LAB2_SOL3.Text49=CCur(Round(FE19,4))
LAB2_SOL3.Text50=CCur(Round(FE110,4))
LAB2_SOL3.Text51=CCur(Round(FB1,4))
LAB2_SOL3.Text52=CCur(Round(FB2,4))
LAB2_SOL3.Text53=CCur(Round(FB3,4))
LAB2_SOL3.Text54=CCur(Round(FB4,4))
LAB2_SOL3.Text55=CCur(Round(FB5,4))
LAB2_SOL3.Text56=CCur(Round(FB6,4))
LAB2_SOL3.Text57=CCur(Round(FB7,4))
LAB2_SOL3.Text58=CCur(Round(FB8,4))
LAB2_SOL3.Text59=CCur(Round(FB9,4))
LAB2_SOL3.Text60=CCur(Round(FB10,4))
LAB2_SOL3.Text61=Round(CCur(QB),4)
LAB2_ERROR.Text1=CCur(Round(HAC1,4))
LAB2_ERROR.Text2=CCur(Round(HAC2,4))
LAB2_ERROR.Text3=CCur(Round(HAC3,4))
LAB2_ERROR.Text4=CCur(Round(HAC4,4))
LAB2_ERROR.Text5=CCur(Round(HAC5,4))
LAB2_ERROR.Text6=CCur(Round(HAC6,4))
LAB2_ERROR.Text7=CCur(Round(HAC7,4))
LAB2_ERROR.Text8=CCur(Round(HAC8,4))
LAB2_ERROR.Text9=CCur(Round(HAC9,4))
LAB2_ERROR.Text10=CCur(Round(HAC10,4))
141
LAB2_ERROR.Text11=CCur(Round(HAR1,4))
LAB2_ERROR.Text12=CCur(Round(HAR2,4))
LAB2_ERROR.Text13=CCur(Round(HAR3,4))
LAB2_ERROR.Text14=CCur(Round(HAR4,4))
LAB2_ERROR.Text15=CCur(Round(HAR5,4))
LAB2_ERROR.Text16=CCur(Round(HAR6,4))
LAB2_ERROR.Text17=CCur(Round(HAR7,4))
LAB2_ERROR.Text18=CCur(Round(HAR8,4))
LAB2_ERROR.Text19=CCur(Round(HAR9,4))
LAB2_ERROR.Text20=CCur(Round(HAR10,4))
LAB2_ERROR.Text21=CCur(Round(HDR1,4))
LAB2_ERROR.Text22=CCur(Round(HDR2,4))
LAB2_ERROR.Text23=CCur(Round(HDR3,4))
LAB2_ERROR.Text24=CCur(Round(HDR4,4))
LAB2_ERROR.Text25=CCur(Round(HDR5,4))
LAB2_ERROR.Text26=CCur(Round(HDR6,4))
LAB2_ERROR.Text27=CCur(Round(HDR7,4))
LAB2_ERROR.Text28=CCur(Round(HDR8,4))
LAB2_ERROR.Text29=CCur(Round(HDR9,4))
LAB2_ERROR.Text30=CCur(Round(HDR10,4))
LAB2_ERROR.Text31=CCur(Round(YA1,4))
LAB2_ERROR.Text32=CCur(Round(YA2,4))
LAB2_ERROR.Text33=CCur(Round(YA3,4))
LAB2_ERROR.Text34=CCur(Round(YA4,4))
LAB2_ERROR.Text35=CCur(Round(YA5,4))
LAB2_ERROR.Text36=CCur(Round(YA6,4))
LAB2_ERROR.Text37=CCur(Round(YA7,4))
LAB2_ERROR.Text38=CCur(Round(YA8,4))
LAB2_ERROR.Text39=CCur(Round(YA9,4))
LAB2_ERROR.Text40=CCur(Round(YA10,4))
LAB2_ERROR.Text41=CCur(Round(Y21,4))
LAB2_ERROR.Text42=CCur(Round(Y22,4))
LAB2_ERROR.Text43=CCur(Round(Y23,4))
LAB2_ERROR.Text44=CCur(Round(Y24,4))
LAB2_ERROR.Text45=CCur(Round(Y25,4))
LAB2_ERROR.Text46=CCur(Round(Y26,4))
LAB2_ERROR.Text47=CCur(Round(Y27,4))
LAB2_ERROR.Text48=CCur(Round(Y28,4))
LAB2_ERROR.Text49=CCur(Round(Y29,4))
LAB2_ERROR.Text50=CCur(Round(Y30,4))
LAB2_ERROR.Text51=CCur(Round(Abs((YA1 HAR1)/YA1)*100,1))
LAB2_ERROR.Text52=CCur(Round(Abs((YA2 HAR2)/YA2)*100,1))
LAB2_ERROR.Text53=CCur(Round(Abs((YA3 HAR3)/YA3)*100,1))
LAB2_ERROR.Text54=CCur(Round(Abs((YA4 HAR4)/YA4)*100,1))
LAB2_ERROR.Text55=CCur(Round(Abs((YA5 HAR5)/YA5)*100,1))
LAB2_ERROR.Text56=CCur(Round(Abs((YA6 HAR6)/YA6)*100,1))
LAB2_ERROR.Text57=CCur(Round(Abs((YA7 HAR7)/YA7)*100,1))
LAB2_ERROR.Text58=CCur(Round(Abs((YA8 HAR8)/YA8)*100,1))
LAB2_ERROR.Text59=CCur(Round(Abs((YA9 HAR9)/YA9)*100,1))
LAB2_ERROR.Text60=CCur(Round(Abs((YA10 HAR10)/YA10)*100,1))
142
LAB2_ERROR.Text61=CCur(Round(Abs((Y21 HDR1)/Y21)*100,1))
LAB2_ERROR.Text62=CCur(Round(Abs((Y22 HDR2)/Y22)*100,1))
LAB2_ERROR.Text63=CCur(Round(Abs((Y23 HDR3)/Y23)*100,1))
LAB2_ERROR.Text64=CCur(Round(Abs((Y24 HDR4)/Y24)*100,1))
LAB2_ERROR.Text65=CCur(Round(Abs((Y25 HDR5)/Y25)*100,1))
LAB2_ERROR.Text66=CCur(Round(Abs((Y26 HDR6)/Y26)*100,1))
LAB2_ERROR.Text67=CCur(Round(Abs((Y27 HDR7)/Y27)*100,1))
LAB2_ERROR.Text68=CCur(Round(Abs((Y28 HDR8)/Y28)*100,1))
LAB2_ERROR.Text69=CCur(Round(Abs((Y29 HDR9)/Y29)*100,1))
LAB2_ERROR.Text70=CCur(Round(Abs(Y30 HDR10/Y30)*100,1))
E1=CCur(Round(Abs((YA1 HAR1)/YA1)*100,1))
E2=CCur(Round(Abs((YA2 HAR2)/YA2)*100,1))
E3=CCur(Round(Abs((YA3 HAR3)/YA3)*100,1))
E4=CCur(Round(Abs((YA4 HAR4)/YA4)*100,1))
E5=CCur(Round(Abs((YA5 HAR5)/YA5)*100,1))
E6=CCur(Round(Abs((YA6 HAR6)/YA6)*100,1))
E7=CCur(Round(Abs((YA7 HAR7)/YA7)*100,1))
E8=CCur(Round(Abs((YA8 HAR8)/YA8)*100,1))
E9=CCur(Round(Abs((YA9 HAR9)/YA9)*100,1))
E10=CCur(Round(Abs((YA10 HAR10)/YA10)*100,1))
E11=CCur(Round(Abs((Y21 HDR1)/Y21)*100,1))
E12=CCur(Round(Abs((Y22 HDR2)/Y22)*100,1))
E13=CCur(Round(Abs((Y23 HDR3)/Y23)*100,1))
E14=CCur(Round(Abs((Y24 HDR4)/Y24)*100,1))
E15=CCur(Round(Abs((Y25 HDR5)/Y25)*100,1))
E16=CCur(Round(Abs((Y26 HDR6)/Y26)*100,1))
E17=CCur(Round(Abs((Y27 HDR7)/Y27)*100,1))
E18=CCur(Round(Abs((Y28 HDR8)/Y28)*100,1))
E19=CCur(Round(Abs((Y29 HDR9)/Y29)*100,1))
E10 =CCur(Round(Abs((Y30 HDR10)/Y30)*100,1))
ER=(E1+E2+E3+E4+E5+E6+E7+E8+E9+E10+E11+E12+E13+E14+E15E+16+
E17+E18+E19+E20)/20
LAB2_ERROR.Text71=CCur(Round(ER,1))
LAB2_SOL1.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
143
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubOption1_Click()
IfOption1=TrueThen
144
Text4.Visible=False
Text4=""
EndIf
IfOption1=TrueThen
Text5.Visible=False
Text5=""
EndIf
IfOption1=TrueThen
Text6.Visible=False
Text6=""
EndIf
IfOption1=TrueThen
Text7.Visible=False
Text7=""
EndIf
IfOption1=TrueThen
Text8.Visible=False
Text8=""
EndIf
IfOption1=TrueThen
Text9.Visible=False
Text9=""
EndIf
IfOption1=TrueThen
Text10.Visible=False
Text10=""
EndIf
IfOption1=TrueThen
Text14.Visible=False
Text14=""
EndIf
IfOption1=TrueThen
Text15.Visible=False
Text15=""
EndIf
IfOption1=TrueThen
Text16.Visible=False
Text16=""
EndIf
IfOption1=TrueThen
Text17.Visible=False
Text17=""
EndIf
IfOption1=TrueThen
Text18.Visible=False
Text18=""
EndIf
IfOption1=TrueThen
Text19.Visible=False
Text19=""
EndIf
IfOption1=TrueThen
Text20.Visible=False
Text20=""
EndIf
IfOption1=TrueThen
Text24.Visible=False
Text24=""
EndIf
145
IfOption1=TrueThen
Text25.Visible=False
Text25=""
EndIf
IfOption1=TrueThen
Text26.Visible=False
Text26=""
EndIf
IfOption1=TrueThen
Text27.Visible=False
Text27=""
EndIf
IfOption1=TrueThen
Text28.Visible=False
Text28=""
EndIf
IfOption1=TrueThen
Text29.Visible=False
Text29=""
EndIf
IfOption1=TrueThen
Text30.Visible=False
Text30=""
EndIf
IfOption1=TrueThen
Label4.Visible=False
EndIf
IfOption1=TrueThen
Label5.Visible=False
EndIf
IfOption1=TrueThen
Label6.Visible=False
EndIf
IfOption1=TrueThen
Label7.Visible=False
EndIf
IfOption1=TrueThen
Label8.Visible=False
EndIf
IfOption1=TrueThen
Label9.Visible=False
EndIf
IfOption1=TrueThen
Label10.Visible=False
EndIf
IfOption1=TrueThen
Text1.Visible=True
EndIf
IfOption1=TrueThen
Text2.Visible=True
EndIf
IfOption1=TrueThen
Text3.Visible=True
EndIf
IfOption1=TrueThen
Text11.Visible=True
EndIf
IfOption1=TrueThen
146
Text12.Visible=True
EndIf
IfOption1=TrueThen
Text13.Visible=True
EndIf
IfOption1=TrueThen
Text21.Visible=True
EndIf
IfOption1=TrueThen
Text22.Visible=True
EndIf
IfOption1=TrueThen
Text23.Visible=True
EndIf
IfOption1=TrueThen
Label1.Visible=True
EndIf
IfOption1=TrueThen
Label1.Visible=True
EndIf
IfOption1=TrueThen
Label2.Visible=True
EndIf
IfOption1=TrueThen
Label3.Visible=True
EndIf
EndSub
PrivateSubOption10_Click()
IfOption10=TrueThen
Text33.Visible=False
Text33=""
EndIf
IfOption10=TrueThen
Text34.Visible=False
Text34=""
EndIf
IfOption10=TrueThen
Text37.Visible=False
Text37=""
EndIf
IfOption10=TrueThen
Text38.Visible=False
Text38=""
EndIf
IfOption10=TrueThen
Text41.Visible=False
Text41=""
EndIf
IfOption10=TrueThen
Text42.Visible=False
Text42=""
EndIf
IfOption10=True Then
147
Label12.Visible=False
EndIf
IfOption10=TrueThen
Label13.Visible=False
EndIf
IfOption10=TrueThen
Text31.Visible=True
EndIf
IfOption10=TrueThen
Text32.Visible=True
EndIf
IfOption10=TrueThen
Text35.Visible=True
EndIf
IfOption10=TrueThen
Text36.Visible=True
EndIf
IfOption10=TrueThen
Text39.Visible=True
EndIf
IfOption10=TrueThen
Text40.Visible=True
EndIf
IfOption10=TrueThen
Label15.Visible=True
EndIf
IfOption10=TrueThen
Label11.Visible=True
EndIf
EndSub
PrivateSubOption11_Click()
IfOption11=TrueThen
Text34.Visible=False
Text34=""
EndIf
IfOption11=TrueThen
Text38.Visible=False
Text38=""
EndIf
IfOption11=TrueThen
Text42.Visible=False
Text42=""
EndIf
IfOption11=TrueThen
Label13.Visible=False
EndIf
IfOption11=TrueThen
Text31.Visible=True
EndIf
IfOption11=TrueThen
Text32.Visible=True
EndIf
148
IfOption11=TrueThen
Text33.Visible=True
EndIf
IfOption11=TrueThen
Text35.Visible=True
EndIf
IfOption11=TrueThen
Text36.Visible=True
EndIf
IfOption11=TrueThen
Text37.Visible=True
EndIf
IfOption11=TrueThen
Text39.Visible=True
EndIf
IfOption11=TrueThen
Text40.Visible=True
EndIf
IfOption11=True Then
Text41.Visible=True
EndIf
IfOption11=TrueThen
Label15.Visible=True
EndIf
IfOption11=TrueThen
Label11.Visible=True
EndIf
IfOption11=TrueThen
Label12.Visible=True
EndIf
EndSub
PrivateSubOption12_Click()
IfOption12=TrueThen
Text31.Visible=True
EndIf
IfOption12=TrueThen
Text32.Visible=True
EndIf
IfOption12=TrueThen
Text33.Visible=True
EndIf
IfOption12=TrueThen
Text34.Visible=True
EndIf
IfOption12=TrueThen
Text35.Visible=True
EndIf
IfOption12=TrueThen
Text36.Visible=True
EndIf
IfOption12=TrueThen
Text37.Visible=True
EndIf
IfOption12=TrueThen
Text38.Visible=True
EndIf
149
IfOption12=TrueThen
Text39.Visible=True
EndIf
IfOption12=TrueThen
Text40.Visible=True
EndIf
IfOption12=TrueThen
Text41.Visible=True
EndIf
IfOption12=TrueThen
Text42.Visible=True
EndIf
IfOption12=TrueThen
Label15.Visible=True
EndIf
IfOption12=TrueThen
Label11.Visible=True
EndIf
IfOption12=TrueThen
Label12.Visible=True
EndIf
IfOption12=TrueThen
Label13.Visible=True
EndIf
EndSub
PrivateSubOption2_Click()
IfOption2=TrueThen
Text5.Visible=False
Text5=""
EndIf
IfOption2=TrueThen
Text6.Visible=False
Text6=""
EndIf
IfOption2=TrueThen
Text7.Visible=False
Text7=""
EndIf
IfOption2=TrueThen
Text8.Visible=False
Text8=""
EndIf
IfOption2=TrueThen
Text9.Visible=False
Text9=""
EndIf
IfOption2=TrueThen
Text10.Visible=False
Text10=""
EndIf
IfOption2=TrueThen
Text15.Visible=False
Text15=""
EndIf
IfOption2=TrueThen
Text16.Visible=False
150
Text16=""
EndIf
IfOption2=TrueThen
Text17.Visible=False
Text17=""
EndIf
IfOption2=TrueThen
Text18.Visible=False
Text18=""
EndIf
IfOption2=TrueThen
Text19.Visible=False
Text19=""
EndIf
IfOption2=TrueThen
Text20.Visible=False
Text20=""
EndIf
IfOption2=TrueThen
Text25.Visible=False
Text25=""
EndIf
IfOption2=TrueThen
Text26.Visible=False
Text26=""
EndIf
IfOption2=TrueThen
Text27.Visible=False
Text27=""
EndIf
IfOption2=TrueThen
Text28.Visible=False
Text28=""
EndIf
IfOption2=TrueThen
Text29.Visible=False
Text29=""
EndIf
IfOption2=TrueThen
Text30.Visible=False
Text30=""
EndIf
IfOption2=TrueThen
Label5.Visible=False
EndIf
IfOption2=TrueThen
Label6.Visible=False
EndIf
IfOption2=TrueThen
Label7.Visible=False
EndIf
IfOption2=TrueThen
Label8.Visible=False
EndIf
IfOption2=TrueThen
Label9.Visible=False
EndIf
IfOption2=TrueThen
Label10.Visible=False
151
EndIf
IfOption2=TrueThen
Text1.Visible=True
EndIf
IfOption2=TrueThen
Text2.Visible=True
EndIf
IfOption2=TrueThen
Text3.Visible=True
EndIf
IfOption2=TrueThen
Text4.Visible=True
EndIf
IfOption2=TrueThen
Text11.Visible=True
EndIf
IfOption2=TrueThen
Text12.Visible=True
EndIf
IfOption2=TrueThen
Text13.Visible=True
EndIf
IfOption2=TrueThen
Text14.Visible=True
EndIf
IfOption2=TrueThen
Text21.Visible=True
EndIf
IfOption2=TrueThen
Text22.Visible=True
EndIf
IfOption2=TrueThen
Text23.Visible=True
EndIf
IfOption2=TrueThen
Text24.Visible=True
EndIf
IfOption2=TrueThen
Label1.Visible=True
EndIf
IfOption2=TrueThen
Label2.Visible=True
EndIf
IfOption2=TrueThen
Label3.Visible=True
EndIf
IfOption2=TrueThen
Label4.Visible=True
EndIf
EndSub
PrivateSubOption3_Click()
IfOption3=TrueThen
Text5.Visible=False
Text6=""
152
EndIf
IfOption3=TrueThen
Text6.Visible=False
Text6=""
EndIf
IfOption3=TrueThen
Text7.Visible=False
Text7=""
EndIf
IfOption3=TrueThen
Text8.Visible=False
Text8=""
EndIf
IfOption3=True Then
Text9.Visible=False
Text9=""
EndIf
IfOption3=TrueThen
Text10.Visible=False
Text10=""
EndIf
IfOption3=TrueThen
Text15.Visible=False
Text15=""
EndIf
IfOption3=TrueThen
Text16.Visible=False
Text16=""
EndIf
IfOption3=TrueThen
Text17.Visible=False
Text17=""
EndIf
IfOption3=TrueThen
Text18.Visible=False
Text18=""
EndIf
IfOption3=TrueThen
Text19.Visible=False
Text19=""
EndIf
IfOption3=TrueThen
Text20.Visible=False
Text20=""
EndIf
IfOption3=TrueThen
Text25.Visible=False
Text25=""
EndIf
IfOption3=TrueThen
Text26.Visible=False
Text26=""
EndIf
IfOption3=TrueThen
Text27.Visible=False
Text27=""
EndIf
IfOption3=TrueThen
Text28.Visible=False
153
Text28=""
EndIf
IfOption3=TrueThen
Text29.Visible=False
Text29=""
EndIf
IfOption3=TrueThen
Text30.Visible=False
Text30=""
EndIf
IfOption3=TrueThen
Label5.Visible=False
EndIf
IfOption3=TrueThen
Label6.Visible=False
EndIf
IfOption3=TrueThen
Label7.Visible=False
EndIf
IfOption3=TrueThen
Label8.Visible=False
EndIf
IfOption3=TrueThen
Label9.Visible=False
EndIf
IfOption3=TrueThen
Label10.Visible=False
EndIf
IfOption3=TrueThen
Text1.Visible=True
EndIf
IfOption3=TrueThen
Text2.Visible=True
EndIf
IfOption3=TrueThen
Text3.Visible=True
EndIf
IfOption3=TrueThen
Text4.Visible=True
EndIf
IfOption3=TrueThen
Text5.Visible=True
EndIf
IfOption3=TrueThen
Text11.Visible=True
EndIf
IfOption3=TrueThen
Text12.Visible=True
EndIf
IfOption3=TrueThen
Text13.Visible=True
EndIf
IfOption3=TrueThen
Text14.Visible=True
EndIf
IfOption3=TrueThen
Text15.Visible=True
EndIf
154
IfOption3=TrueThen
Text21.Visible=True
EndIf
IfOption3=TrueThen
Text22.Visible=True
EndIf
IfOption3=TrueThen
Text23.Visible=True
EndIf
IfOption3=TrueThen
Text24.Visible=True
EndIf
IfOption3=TrueThen
Text25.Visible=True
EndIf
IfOption3=TrueThen
Label1.Visible=True
EndIf
IfOption3=TrueThen
Label2.Visible=True
EndIf
IfOption3=TrueThen
Label3.Visible=True
EndIf
IfOption3=TrueThen
Label4.Visible=True
EndIf
IfOption3=TrueThen
Label5.Visible=True
EndIf
EndSub
PrivateSubOption4_Click()
IfOption4=TrueThen
Text6.Visible=False
Text6=""
EndIf
IfOption4=TrueThen
Text7.Visible=False
Text7=""
EndIf
IfOption4=TrueThen
Text8.Visible=False
Text8=""
EndIf
IfOption4= TrueThen
Text9.Visible=False
Text9=""
EndIf
IfOption4=TrueThen
Text10.Visible=False
Text10=""
EndIf
IfOption4=TrueThen
Text16.Visible=False
155
Text16=""
EndIf
IfOption4=TrueThen
Text17.Visible=False
Text17=""
EndIf
IfOption4=TrueThen
Text18.Visible=False
Text18=""
EndIf
IfOption4=TrueThen
Text19.Visible=False
Text19=""
EndIf
IfOption4=TrueThen
Text20.Visible =False
Text20=""
EndIf
IfOption4=TrueThen
Text26.Visible=False
Text26=""
EndIf
IfOption4=TrueThen
Text27.Visible=False
Text27=""
EndIf
IfOption4=TrueThen
Text28.Visible=False
Text28=""
EndIf
IfOption4=TrueThen
Text29.Visible=False
Text29=""
EndIf
IfOption4=TrueThen
Text30.Visible=False
Text30=""
EndIf
IfOption4=TrueThen
Label6.Visible=False
EndIf
If Option4=TrueThen
Label7.Visible=False
EndIf
IfOption4=TrueThen
Label8.Visible=False
EndIf
IfOption4=TrueThen
Label9.Visible=False
EndIf
IfOption4=TrueThen
Label10.Visible=False
EndIf
IfOption4=TrueThen
Text1.Visible=True
EndIf
IfOption4=TrueThen
Text2.Visible=True
156
EndIf
IfOption4=TrueThen
Text3.Visible=True
EndIf
IfOption4=TrueThen
Text4.Visible=True
EndIf
IfOption4=TrueThen
Text5.Visible=True
EndIf
IfOption4=TrueThen
Text6.Visible=True
EndIf
IfOption4=TrueThen
Text11.Visible=True
EndIf
IfOption4=TrueThen
Text12.Visible=True
EndIf
If Option4=TrueThen
Text13.Visible=True
EndIf
IfOption4=TrueThen
Text14.Visible=True
EndIf
IfOption4=TrueThen
Text15.Visible=True
EndIf
IfOption4=TrueThen
Text16.Visible=True
EndIf
If Option4=TrueThen
Text21.Visible=True
EndIf
IfOption4=TrueThen
Text22.Visible=True
EndIf
IfOption4=TrueThen
Text23.Visible=True
EndIf
IfOption4=TrueThen
Text24.Visible=True
EndIf
If Option4=TrueThen
Text25.Visible=True
EndIf
IfOption4=TrueThen
Text26.Visible=True
EndIf
IfOption4=TrueThen
Label1.Visible=True
EndIf
IfOption4=TrueThen
Label2.Visible=True
EndIf
If Option4=TrueThen
Label3.Visible=True
EndIf
IfOption4=TrueThen
157
Label4.Visible=True
EndIf
IfOption4=TrueThen
Label5.Visible=True
EndIf
IfOption4=TrueThen
Label6.Visible=True
EndIf
EndSub
PrivateSubOption5_Click()
IfOption5=TrueThen
Text7.Visible=False
Text7=""
EndIf
IfOption5=TrueThen
Text8.Visible=False
Text8=""
EndIf
IfOption5=TrueThen
Text9.Visible=False
Text9=""
EndIf
IfOption5=TrueThen
Text10.Visible=False
Text10=""
EndIf
IfOption5=TrueThen
Text17.Visible=False
Text17=""
EndIf
IfOption5=TrueThen
Text18.Visible=False
Text18=""
EndIf
IfOption5=TrueThen
Text19.Visible=False
Text19=""
EndIf
IfOption5=TrueThen
Text20.Visible=False
Text20=""
EndIf
IfOption5=TrueThen
Text27.Visible=False
Text27=""
EndIf
IfOption5=TrueThen
Text28.Visible=False
Text28=""
EndIf
IfOption5=TrueThen
Text29.Visible=False
Text29=""
EndIf
IfOption5=TrueThen
Text30.Visible=False
158
Text30=""
EndIf
IfOption5=True Then
Label7.Visible=False
EndIf
IfOption5=TrueThen
Label8.Visible=False
EndIf
IfOption5=TrueThen
Label9.Visible=False
EndIf
IfOption5=TrueThen
Label10.Visible=False
EndIf
IfOption5 =TrueThen
Text1.Visible=True
EndIf
IfOption5=TrueThen
Text2.Visible=True
EndIf
IfOption5=TrueThen
Text3.Visible=True
EndIf
IfOption5=TrueThen
Text4.Visible=True
EndIf
IfOption5=TrueThen
Text5.Visible=True
EndIf
IfOption5=TrueThen
Text6.Visible=True
EndIf
IfOption5=TrueThen
Text7.Visible=True
EndIf
IfOption5=TrueThen
Text11.Visible=True
EndIf
IfOption5=True Then
Text12.Visible=True
EndIf
IfOption5=TrueThen
Text13.Visible=True
EndIf
IfOption5=TrueThen
Text14.Visible=True
EndIf
IfOption5=TrueThen
Text15.Visible=True
EndIf
IfOption5=True Then
Text16.Visible=True
EndIf
IfOption5=TrueThen
Text17.Visible=True
EndIf
IfOption5=TrueThen
Text21.Visible=True
159
EndIf
IfOption5=TrueThen
Text22.Visible=True
EndIf
IfOption5=True Then
Text23.Visible=True
EndIf
IfOption5=TrueThen
Text24.Visible=True
EndIf
IfOption5=TrueThen
Text25.Visible=True
EndIf
IfOption5=TrueThen
Text26.Visible=True
EndIf
IfOption5=True Then
Text27.Visible=True
EndIf
IfOption5=TrueThen
Label1.Visible=True
EndIf
IfOption5=TrueThen
Label2.Visible=True
EndIf
IfOption5=TrueThen
Label3.Visible=True
EndIf
IfOption5=True Then
Label4.Visible=True
EndIf
IfOption5=TrueThen
Label5.Visible=True
EndIf
IfOption5=TrueThen
Label6.Visible=True
EndIf
IfOption5=TrueThen
Label7.Visible=True
EndIf
EndSub
PrivateSub Option6_Click()
IfOption6=TrueThen
Text8.Visible=False
Text8=""
EndIf
IfOption6=TrueThen
Text9.Visible=False
Text9=""
EndIf
IfOption6=TrueThen
Text10.Visible=False
Text10=""
EndIf
IfOption6=TrueThen
Text18.Visible=False
160
Text18=""
EndIf
IfOption6=TrueThen
Text19.Visible=False
Text19=""
EndIf
IfOption6=TrueThen
Text20.Visible=False
Text20=""
EndIf
IfOption6=TrueThen
Text28.Visible=False
Text28=""
EndIf
IfOption6=TrueThen
Text29.Visible=False
Text29=""
EndIf
IfOption6=TrueThen
Text30.Visible=False
Text30=""
EndIf
IfOption6=TrueThen
Label8.Visible=False
EndIf
IfOption6=TrueThen
Label9.Visible=False
EndIf
IfOption6=TrueThen
Label10.Visible=False
EndIf
IfOption6=TrueThen
Text1.Visible=True
EndIf
IfOption6=True Then
Text2.Visible=True
EndIf
IfOption6=TrueThen
Text3.Visible=True
EndIf
IfOption6=TrueThen
Text4.Visible=True
EndIf
IfOption6=TrueThen
Text5.Visible=True
EndIf
IfOption6=TrueThen
Text6.Visible=True
EndIf
IfOption6=TrueThen
Text7.Visible=True
EndIf
IfOption6=TrueThen
Text8.Visible=True
EndIf
IfOption6=TrueThen
Text11.Visible=True
EndIf
161
IfOption6=TrueThen
Text12.Visible=True
EndIf
IfOption6=TrueThen
Text13.Visible=True
EndIf
IfOption6=TrueThen
Text14.Visible=True
EndIf
IfOption6=TrueThen
Text15.Visible=True
EndIf
IfOption6=TrueThen
Text16.Visible=True
EndIf
IfOption6=TrueThen
Text17.Visible=True
EndIf
IfOption6=TrueThen
Text18.Visible=True
EndIf
IfOption6=TrueThen
Text21.Visible=True
EndIf
IfOption6=TrueThen
Text22.Visible=True
EndIf
IfOption6=TrueThen
Text23.Visible=True
EndIf
IfOption6=TrueThen
Text24.Visible=True
EndIf
IfOption6=TrueThen
Text25.Visible=True
EndIf
IfOption6=TrueThen
Text26.Visible=True
EndIf
IfOption6=TrueThen
Text27.Visible=True
EndIf
IfOption6=TrueThen
Text28.Visible=True
EndIf
IfOption6=TrueThen
Label1.Visible=True
EndIf
IfOption6=TrueThen
Label2.Visible=True
EndIf
IfOption6=TrueThen
Label3.Visible=True
EndIf
IfOption6=TrueThen
Label4.Visible=True
EndIf
IfOption6=TrueThen
Label5.Visible=True
162
EndIf
IfOption6=TrueThen
Label6.Visible=True
EndIf
IfOption6=TrueThen
Label7.Visible=True
EndIf
IfOption6=TrueThen
Label8.Visible=True
EndIf
EndSub
PrivateSubOption7_Click()
IfOption7=TrueThen
Text9.Visible=False
Text9=""
EndIf
IfOption7=TrueThen
Text10.Visible=False
Text10=""
EndIf
IfOption7=TrueThen
Text19.Visible=False
Text19=""
EndIf
IfOption7=TrueThen
Text20.Visible=False
Text20 =""
EndIf
IfOption7=TrueThen
Text29.Visible=False
Text29=""
EndIf
IfOption7=TrueThen
Text30.Visible=False
Text30=""
EndIf
IfOption7=TrueThen
Label9.Visible=False
EndIf
IfOption7=TrueThen
Label10.Visible=False
EndIf
IfOption7=TrueThen
Text1.Visible=True
EndIf
IfOption7=TrueThen
Text2.Visible=True
EndIf
IfOption7=TrueThen
Text3.Visible=True
EndIf
IfOption7=TrueThen
Text4.Visible=True
EndIf
163
IfOption7=TrueThen
Text5.Visible=True
EndIf
IfOption7=TrueThen
Text6.Visible=True
EndIf
IfOption7=TrueThen
Text7.Visible=True
EndIf
IfOption7= TrueThen
Text8.Visible=True
EndIf
IfOption7=TrueThen
Text9.Visible=True
EndIf
IfOption7=TrueThen
Text11.Visible=True
EndIf
IfOption7=TrueThen
Text12.Visible=True
EndIf
IfOption7=TrueThen
Text13.Visible=True
EndIf
IfOption7=TrueThen
Text14.Visible=True
EndIf
IfOption7=TrueThen
Text15.Visible=True
EndIf
IfOption7=TrueThen
Text16.Visible=True
EndIf
IfOption7=TrueThen
Text17.Visible=True
EndIf
IfOption7=TrueThen
Text18.Visible=True
EndIf
IfOption7=TrueThen
Text19.Visible=True
EndIf
IfOption7=TrueThen
Text21.Visible=True
EndIf
IfOption7=TrueThen
Text22.Visible=True
EndIf
IfOption7=TrueThen
Text23.Visible=True
EndIf
IfOption7=TrueThen
Text24.Visible=True
EndIf
IfOption7=TrueThen
Text25.Visible=True
EndIf
IfOption7=TrueThen
Text26.Visible=True
164
EndIf
IfOption7=TrueThen
Text27.Visible=True
EndIf
IfOption7=TrueThen
Text28.Visible=True
EndIf
IfOption7=TrueThen
Text29.Visible=True
EndIf
IfOption7=TrueThen
Label1.Visible=True
EndIf
IfOption7=TrueThen
Label2.Visible=True
EndIf
IfOption7=TrueThen
Label3.Visible=True
EndIf
IfOption7=TrueThen
Label4.Visible=True
EndIf
IfOption7=TrueThen
Label5.Visible=True
EndIf
IfOption7=TrueThen
Label6.Visible=True
EndIf
IfOption7=TrueThen
Label7.Visible=True
EndIf
IfOption7=TrueThen
Label8.Visible=True
EndIf
IfOption7=TrueThen
Label9.Visible=True
EndIf
EndSub
PrivateSubOption8_Click()
IfOption8=TrueThen
Text10.Visible=False
Text10=""
EndIf
IfOption8=TrueThen
Text20.Visible=False
Text20=""
EndIf
If Option8=TrueThen
Text30.Visible=False
Text30=""
EndIf
IfOption8=TrueThen
Label10.Visible=False
EndIf
IfOption8=TrueThen
Text1.Visible=True
165
EndIf
IfOption8=TrueThen
Text2.Visible=True
EndIf
IfOption8=TrueThen
Text3.Visible=True
EndIf
IfOption8=TrueThen
Text4.Visible=True
EndIf
IfOption8=TrueThen
Text5.Visible=True
EndIf
IfOption8=TrueThen
Text6.Visible=True
EndIf
IfOption8=TrueThen
Text7.Visible=True
EndIf
IfOption8=TrueThen
Text8.Visible=True
EndIf
IfOption8=TrueThen
Text9.Visible=True
EndIf
IfOption8=TrueThen
Text10.Visible=True
EndIf
IfOption8=TrueThen
Text11.Visible=True
EndIf
IfOption8=TrueThen
Text12.Visible=True
EndIf
IfOption8=TrueThen
Text13.Visible=True
EndIf
IfOption8=TrueThen
Text14.Visible=True
EndIf
IfOption8=TrueThen
Text15.Visible=True
EndIf
IfOption8=TrueThen
Text16.Visible=True
EndIf
IfOption8=TrueThen
Text17.Visible=True
EndIf
IfOption8=TrueThen
Text18.Visible=True
EndIf
IfOption8=TrueThen
Text19.Visible=True
EndIf
IfOption8=TrueThen
Text20.Visible=True
EndIf
IfOption8=TrueThen
166
Text21.Visible=True
EndIf
IfOption8=TrueThen
Text22.Visible=True
EndIf
IfOption8=TrueThen
Text23.Visible=True
EndIf
IfOption8=TrueThen
Text24.Visible=True
EndIf
IfOption8=TrueThen
Text25.Visible=True
EndIf
IfOption8=TrueThen
Text26.Visible=True
EndIf
IfOption8=TrueThen
Text27.Visible=True
EndIf
IfOption8=TrueThen
Text28.Visible=True
EndIf
IfOption8=TrueThen
Text29.Visible=True
EndIf
IfOption8=TrueThen
Text30.Visible=True
EndIf
IfOption8=TrueThen
Label1.Visible=True
EndIf
IfOption8=TrueThen
Label2.Visible=True
EndIf
IfOption8=TrueThen
Label3.Visible=True
EndIf
IfOption8=TrueThen
Label4.Visible=True
EndIf
IfOption8=TrueThen
Label5.Visible=True
EndIf
IfOption8=TrueThen
Label6.Visible=True
EndIf
IfOption8=TrueThen
Label7.Visible=True
EndIf
IfOption8=TrueThen
Label8.Visible=True
EndIf
IfOption8=TrueThen
Label9.Visible=True
EndIf
IfOption8=TrueThen
Label10.Visible=True
EndIf
167
EndSub
PrivateSubOption9_Click()
IfOption9=TrueThen
Text32.Visible=False
Text32=""
EndIf
IfOption9=TrueThen
Text33.Visible=False
Text33=""
EndIf
IfOption9=TrueThen
Text34.Visible=False
Text34=""
EndIf
IfOption9=TrueThen
Text36.Visible=False
Text36=""
EndIf
IfOption9= TrueThen
Text37.Visible=False
Text37=""
EndIf
IfOption9=TrueThen
Text38.Visible=False
Text38=""
EndIf
IfOption9=TrueThen
Text40.Visible=False
Text40=""
EndIf
IfOption9=TrueThen
Text41.Visible=False
Text41=""
EndIf
IfOption9=TrueThen
Text42.Visible=False
Text42=""
EndIf
IfOption9=TrueThen
Label11.Visible=False
EndIf
IfOption9=TrueThen
Label12.Visible=False
EndIf
IfOption9=TrueThen
Label13.Visible=False
EndIf
IfOption9=TrueThen
Text31.Visible=True
EndIf
IfOption9=TrueThen
Text35.Visible=True
EndIf
IfOption9=TrueThen
Text39.Visible=True
EndIf
IfOption9=TrueThen
168
Label15.Visible=True
EndIf
EndSub
PrivateSubText1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText10_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText11_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText12_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText13_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
169
EndIf
EndSub
PrivateSubText14_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))= 0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText15_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText16_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText17_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText18_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText19_KeyPress(KeyAsciiAsInteger)
170
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText20_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText21_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText22_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText23_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
171
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText24_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText25_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText26_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText27_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText28_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
172
PrivateSubText29_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText30_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText31_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText32_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText33_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
173
EndIf
EndSub
PrivateSubText34_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText35_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText36_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText37_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText38_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText39_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
174
PrivateSubText4_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText40_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText41_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText42_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText43_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
If InStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText44_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText5_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
175
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText6_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText7_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText8_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText9_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
176
EndIf
EndIf
EndSub
FORMULARIO2
PrivateSubCommand1_Click()
LAB2_SOL2.Show
UnloadMe
EndSub
PrivateSubdlfkslfklkfl_Click()
End
EndSub
PrivateSubKJFSDJKDJSFK_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKLDKFLKSDLFKSD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubKLKCXLKKLBF_Click()
LAB2_SOL1.PrintForm
EndSub
PrivateSubMLDKFLDSKLF_Click()
PRAC2.Show
UnloadMe
EndSub
FORMULARIONUMERO3
PrivateSubCommand1_Click()
LAB2_SOL3.Show
UnloadMe
EndSub
PrivateSubCommand2_Click()
LAB2_ECUA.Show
EndSub
PrivateSubJKLDKLFKSDLFKSDLF_Click()
LAB2_SOL2.PrintForm
EndSub
177
PrivateSubKDJSDJKFJDFKL_Click()
LAB2_SOL1.Show
UnloadMe
EndSub
PrivateSub KLDJFKDSFKLSD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKLDJFKSDJFKLS_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubKLKDLKFLSDKF_Click()
End
EndSub
FORMULARIONUMERO4
PrivateSubCommand1_Click()
DimDONDE,RANGOAsString
DimRESAsLong
DimEXCELAsObject
DimLIBROAsObject
SetEXCEL=CreateObject("excel.Application")
'DONDE="C:\unisalle\LAB_HIDRAULICA_2.xls"
DONDE="C:\Archivosdeprograma\DISCAN\CRAK\LAB_HIDRAULICA_2.xls"
SetCALCULOS=EXCEL.Workbooks.Open(DONDE)
CALCULOS.Worksheets(1).Cells(31,2)=Text1
CALCULOS.Worksheets(1).Cells(32,2)=Text2
CALCULOS.Worksheets(1).Cells(33,2)=Text3
CALCULOS.Worksheets(1).Cells(34,2)=Text4
CALCULOS.Worksheets(1).Cells(35,2)=Text5
CALCULOS.Worksheets(1).Cells(36,2)=Text6
CALCULOS.Worksheets(1).Cells(37,2)=Text7
CALCULOS.Worksheets(1).Cells(38,2)=Text8
CALCULOS.Worksheets(1).Cells(39,2)=Text9
CALCULOS.Worksheets(1).Cells(40,2)=Text10
CALCULOS.Worksheets(1).Cells(31,3)=Text11
CALCULOS.Worksheets(1).Cells(32,3)=Text12
CALCULOS.Worksheets(1).Cells(33,3)=Text13
CALCULOS.Worksheets(1).Cells(34,3)=Text14
CALCULOS.Worksheets(1).Cells(35,3)=Text15
CALCULOS.Worksheets(1).Cells(36,3)=Text16
CALCULOS.Worksheets(1).Cells(37,3)=Text17
178
CALCULOS.Worksheets(1).Cells(38,3)=Text18
CALCULOS.Worksheets(1).Cells(39,3)=Text29
CALCULOS.Worksheets(1).Cells(40,3)=Text20
CALCULOS.Worksheets(1).Cells(31,4)=Text21
CALCULOS.Worksheets(1).Cells(32,4)=Text22
CALCULOS.Worksheets(1).Cells(33,4)=Text23
CALCULOS.Worksheets(1).Cells(34,4)=Text24
CALCULOS.Worksheets(1).Cells(35,4)=Text25
CALCULOS.Worksheets(1).Cells(36,4)=Text26
CALCULOS.Worksheets(1).Cells(37,4)=Text27
CALCULOS.Worksheets(1).Cells(38,4)=Text28
CALCULOS.Worksheets(1).Cells(39,4)=Text29
CALCULOS.Worksheets(1).Cells(40,4)=Text30
CALCULOS.Worksheets(1).Cells(30,5)=Text61
EXCEL.Visible=True
SetLIBRO=Nothing
SetEXCEL=Nothing
EndSub
PrivateSubCommand2_Click()
LAB2_IMAGEN.Show
EndSub
PrivateSubCommand3_Click()
End
UnloadMe
EndSub
PrivateSubCommand4_Click()
LAB2_ERROR.Show
EndSub
PrivateSubDFJKDJFKLDKSFL_Click()
End
EndSub
PrivateSubDFKLGKLDFKGKDFL_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubJKFJVKFKDKLF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKLDFKKFDSFLDKS_Click()
LAB2_SOL3.PrintForm
EndSub
179
PrivateSubLDKLKFLDSKFL_Click()
LAB2_SOL2.Show
UnloadMe
EndSub
FORMULARIONUMERO5
PrivateSubDFGFDERRRR_Click()
End
EndSub
PrivateSubDKKFLDKFLDKLF_Click()
LAB2_ERROR.PrintForm
EndSub
PrivateSubFrameXp1_MouseDown(ButtonAsInteger,ShiftAsInteger,xAsSingle,YAsSingle)
EndSub
PrivateSub JDKFLKDSLFKSD_Click()
LAB2_SOL3.Show
UnloadMe
EndSub
PrivateSubKJSDKJDSKFJKSD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLKDKLKDKFLD_Click()
Form19.Show
UnloadMe
EndSub
7.2.3
IMAGENES
PrivateSubCommand1_Click()
LAB2_ECUA.Show
EndSub
7.2.4
ECUACIONESUSADAS
PrivateSubLabel10_Click()
EndSub
180
PrivateSubDFLKGFKLGKLF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubFKGKDFKG_Click()
LAB2_ECUA.PrintForm
EndSub
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubKDKLFDKLF_Click()
End
EndSub
PrivateSubLSDLFKDKFLDS_Click()
MDIForm1.Show
UnloadMe
EndSub
181
8. CRITERIOSDEDISEO
8.1 TODOSOBRE.
PrivateSubCommand1_Click()
Frame2.Visible=True
Label1.Visible=True
Frame6.Visible=False
Label5.Visible=False
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=False
Label7.Visible=False
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible= False
Label16.Visible=False
EndSub
PrivateSubCommand10_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
182
Label3.Visible=False
Frame8.Visible=True
Label7.Visible=True
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=True
Label14.Visible=True
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand11_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=False
Label7.Visible=False
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
183
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=True
Label15.Visible=True
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand12_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=False
Label7.Visible=False
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=True
Label16.Visible=True
EndSub
PrivateSubCommand2_Click()
Frame6.Visible=True
Label5.Visible=True
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
184
Label3.Visible=False
Frame8.Visible=False
Label7.Visible=False
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand3_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame8.Visible=False
Label7.Visible=False
Frame4.Visible=True
Label3.Visible=True
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=False
185
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand4_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=True
Label7.Visible=True
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand5_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
Label3.Visible=False
186
Frame8.Visible=True
Label7.Visible=True
Frame9.Visible=True
Label8.Visible=True
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand6_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=True
Label7.Visible= True
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=True
Label9.Visible=True
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
187
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand7_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=True
Label7.Visible=True
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=True
Label10.Visible=True
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand8_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
188
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=True
Label7.Visible=True
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=True
Label10.Visible=True
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
Label13.Visible=False
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubCommand9_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=True
Label7.Visible=True
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=True
Label11.Visible=True
Label12.Visible=True
Label13.Visible=True
189
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubDFLKSLDFKLSDKFS_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubFrameXp1_MouseDown(ButtonAsInteger,ShiftAsInteger,xAsSingle,YAsSingle)
EndSub
PrivateSubKSDFKLFL_Click()
End
EndSub
PrivateSubLKFGKLFKGLFK_Click()
CRITERIO_DIS_1.PrintForm
EndSub
PrivateSubLKFLGKFDLKDFL_Click()
Frame6.Visible=False
Label5.Visible=False
Frame2.Visible=False
Label1.Visible=False
Frame4.Visible=False
Label3.Visible=False
Frame8.Visible=False
Label7.Visible=False
Frame9.Visible=False
Label8.Visible=False
Frame10.Visible=False
Label9.Visible=False
Frame11.Visible=False
Label10.Visible=False
Frame12.Visible=False
Label11.Visible=False
Label12.Visible=False
190
Label13.Visible=False
Frame13.Visible=False
Label14.Visible=False
Frame15.Visible=False
Label15.Visible=False
Frame16.Visible=False
Label16.Visible=False
EndSub
PrivateSubLDKSFKSLKFL_Click()
Form19.Show
UnloadMe
EndSub
191
9. ANIMACIONES
9.1 SECCIONRECTANGULAR
PrivateSubLabel1_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubWindowsMediaPlayer1_OpenStateChange(ByValNewStateAsLong)
EndSub
9.2 SECCIONTRAPEZOIDAL
PrivateSubCommand1_Click()
EndSub
PrivateSubLabel1_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubWindowsMediaPlayer1_OpenStateChange(ByValNewStateAsLong)
EndSub
9.3 SECCIONTRIANGULAR
PrivateSubLabel1_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubWindowsMediaPlayer1_OpenStateChange(ByValNewStateAsLong)
EndSub
9.4 SECCIONCIRCULAR
192
PrivateSubLabel1_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubWindowsMediaPlayer1_OpenStateChange(ByValNewStateAsLong)
EndSub
193
10. EJERCICIOSDEAPLICACION
10.1 PROFUNDIDADESALTERNAS
PrivateSubCommand1_Click()
IfText1=""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText2=""Then
MsgBox"NTRODUZCAUNVALORPARALAENERGIAE(m)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText1=0Then
MsgBox"ELCAUDALUNITARIOq(m^3/s)*mNOPUEDESERCERO(0)",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText2=0Then
MsgBox"LAENERGIAE(m)NOPUEDESERCERO(0)",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
If(Text2/Text1)<0.9Then
MsgBox"LOSDATOSESTANFUERADELRANGODELMODELO
HIDRAULICOYMATEMATICO,SEHAPRODUCIDOUNDESBORDAMIENTOENLAS
ITERACIONES,MODIFICARELCAUDALUNITARIOOLAENERGIA",16,"DATOS
ERRONEOS"
APLICAC_1.Show
Text1=""
Text2=""
Else
Q=CCur(Text1)
E=CCur(Text2)
APLICA_2.Text1=Q
APLICA_2.Text11=CCur(Round((Q^2/9.81)^(1/3),3))
194
x=0
ForI=1To100
x=CCur(Sqr(Q^2/(19.62*(E x))))
NextI
Y0=x
X1=Y0+E/3
ForI=1To100
X1=E Q^2/(19.62*X1^2)
NextI
Y1=X1
F0=Sqr(Q ^2/(9.81*Y0^3))
F1=Sqr(Q^2/(9.81*Y1^3))
IfF0<1Then
APLICA_2.Text4="SubCritico"
EndIf
IfF0=1Then
APLICA_2.Text4="critico"
EndIf
IfF0>1Then
APLICA_2.Text4="Supecritico"
EndIf
IfF1<1Then
APLICA_2.Text7="SubCritico"
EndIf
IfF1=1Then
APLICA_2.Text7="critico"
EndIf
IfF1>1Then
APLICA_2.Text7="Supecritico"
EndIf
APLICA_2.Text2=Round(Y0,3)
APLICA_2.Text5=Round(Y1,3)
APLICA_2.Text3=Round(F0,3)
APLICA_2.Text6=Round(F1,3)
APLICA_2.Text8=Round(Y0,3)
APLICA_2.Text9=Round(Y1,3)
APLICA_2.Show
UnloadMe
EndIf
195
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubCommand2_Click()
IfText3 =""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText4=""Then
MsgBox"NTRODUZCAUNVALORPARALABASEb(m)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText5=""Then
MsgBox"INTRODUZCAUNVALORPARAELTALUDz",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
IfText3=0Then
MsgBox"ELCAUDALQ(m^3/s)NOPUEDESERCERO(0)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText4=0Then
MsgBox"LABASEb(m)NOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
IfText5=0Then
MsgBox"SIELTALUDzESCEROELCANALSERARECTANGULAR",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
QM=CCur(Text3)
bc=CCur(Text4)
zc=CCur(Text5)
X2=0
ForI=1To100
X2=CCur(((QM)^2/(9.81*(bc+ zc*X2)^2))^(1/3))
NextI
196
YC=CCur(X2)
AC=CCur((bc+zc*YC)*YC)
vc=CCur(QM/AC)
APLICA_3.Text1=Round(YC,3)
APLICA_3.Text4=Round(YC,3)
APLICA_3.Text2=Round(AC,3)
APLICA_3.Text3=Round(vc,3)
APLICA_3.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubCommand3_Click()
IfText7=""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText6=""Then
MsgBox"NTRODUZCAUNVALORPARALABASEb(m)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText8=""Then
MsgBox"INTRODUZCAUNVALORPARALAPROFUNDIDADYo(m)",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText7=0Then
MsgBox"ELCAUDALQ(m^3/s)NOPUEDESERCERO(0)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText6=0Then
MsgBox"LABASEb(m)NOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
197
Else
IfText8=0Then
MsgBox"LAPROFUNDIDADYo(m)NOPUEDESERCERO",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
B=CCur(Text6)
Q=CCur(Text7)
Y0=CCur(Text8)
QU=CCur(Q/B)
E0=CCur(Y0+Q^2/(2*9.81*B^2*Y0^2))
x=0
ForI=1To100
x=(QU^2/(2*9.81*(E0 x)))^0.5
NextI
Y1=CCur(x)
YC=CCur((QU^2/9.81)^0.5)
F1=CCur(QU/(Y1 *(9.81*Y1)^0.5))
Y2=CCur((Y1/2)*(1+(1+8*F1^2)^0.5))
DE=(1)*CCur((Y1 Y2)^3/(4*Y1*Y2))
P=CCur(9810*Q*DE)
FE0=CCur((Y0^2/2)+(QU^2/(9.81*Y0)))
FE1=CCur((Y1^2/2)+(QU^2/(9.81*Y1)))
F=CCur(9810*B*(FE0 FE1))
IfF1<1Then
APLCA_4Text14="SubCritico"
EndIf
IfF1=1Then
APLCA_4.Text14="critico"
EndIf
IfF1>1Then
APLCA_4.Text14="Supecritico"
EndIf
APLCA_4.Text1=Round(QU,3)
APLCA_4.Text2=Round(E0,3)
APLCA_4.Text3=Round(Y1,3)
APLCA_4.Text4=Round(YC,3)
APLCA_4.Text5=Round(Y0,3)
APLCA_4.Text6=Round(Y1,3)
APLCA_4.Text7=Round(F1,3)
198
APLCA_4.Text8=Round(Y2,3)
APLCA_4.Text9=Round(DE,3)
APLCA_4.Text10=Round(P,3)
APLCA_4.Text11=Round(FE0,3)
APLCA_4.Text12=Round(FE1,3)
APLCA_4.Text13=Round(F,3)
APLCA_4.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubDLKFLDKFLKDLFKL_Click()
APLICAC_1.PrintForm
EndSub
PrivateSubLDKFKDLSFLSDKL_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLKLFKDLFKDKFL_Click()
End
EndSub
PrivateSubDFDLFLD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubText1_KeyPress(KeyAsciiAsInteger)
DimVALOR AsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
199
EndIf
EndSub
PrivateSubText3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText4_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText5_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText6_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText7_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText8_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
200
EndIf
EndIf
EndSub
FORMULARIONUMERO2
PrivateSubERTERTERT_Click()
End
EndSub
PrivateSubFDGFDGFDGDF_Click()
APLICA_2.PrintForm
EndSub
PrivateSubFGFDGDFGDF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLabel1_Click()
EndSub
PrivateSubRETRTRET_Click()
APLICAC_1.Show
APLICAC_1.Frame1.Visible=True
APLICAC_1.Frame3.Visible=False
APLICAC_1.Frame5.Visible=False
UnloadMe
EndSub
PrivateSubRTERRT_Click()
MDIForm1.Show
UnloadMe
EndSub
10.2 PROFUNDIDADCRTICA
PrivateSubCommand1_Click()
IfText1=""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText2=""Then
201
MsgBox"NTRODUZCAUNVALORPARALAENERGIAE(m)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText1=0Then
MsgBox"ELCAUDALUNITARIOq(m^3/s)*mNOPUEDESERCERO(0)",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText2=0Then
MsgBox"LAENERGIAE(m)NOPUEDESERCERO(0)",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
If(Text2/Text1)<0.9Then
MsgBox"LOSDATOSESTANFUERADELRANGODELMODELO
HIDRAULICOYMATEMATICO,SEHAPRODUCIDOUNDESBORDAMIENTOENLAS
ITERACIONES,MODIFICARELCAUDALUNITARIOOLAENERGIA",16,"DATOS
ERRONEOS"
APLICAC_1.Show
Text1=""
Text2=""
Else
Q=CCur(Text1)
E=CCur(Text2)
APLICA_2.Text1= Q
APLICA_2.Text11=CCur(Round((Q^2/9.81)^(1/3),3))
x=0
ForI=1To100
x=CCur(Sqr(Q^2/(19.62*(E x))))
NextI
Y0=x
X1=Y0+E/3
ForI=1To100
X1=E Q^2/(19.62*X1^2)
NextI
Y1=X1
F0=Sqr(Q^2/(9.81*Y0^3))
202
F1=Sqr(Q^2/(9.81*Y1^3))
IfF0<1Then
APLICA_2.Text4="SubCritico"
EndIf
IfF0=1Then
APLICA_2.Text4="critico"
EndIf
IfF0>1Then
APLICA_2.Text4="Supecritico"
EndIf
IfF1<1Then
APLICA_2.Text7="SubCritico"
EndIf
IfF1=1Then
APLICA_2.Text7="critico"
EndIf
IfF1>1Then
APLICA_2.Text7="Supecritico"
EndIf
APLICA_2.Text2=Round(Y0,3)
APLICA_2.Text5=Round(Y1,3)
APLICA_2.Text3=Round(F0,3)
APLICA_2.Text6=Round(F1,3)
APLICA_2.Text8=Round(Y0,3)
APLICA_2.Text9=Round(Y1,3)
APLICA_2.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSub Command2_Click()
IfText3=""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText4=""Then
MsgBox"NTRODUZCAUNVALORPARALABASEb(m)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
203
Else
IfText5=""Then
MsgBox"INTRODUZCAUNVALORPARAELTALUDz",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
IfText3=0Then
MsgBox"ELCAUDALQ(m^3/s)NOPUEDESERCERO(0)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText4=0Then
MsgBox"LABASEb(m)NOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
IfText5=0Then
MsgBox"SIELTALUDzESCEROELCANALSERARECTANGULAR",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
QM=CCur(Text3)
bc=CCur(Text4)
zc=CCur(Text5)
X2=0
ForI=1To100
X2=CCur(((QM)^2/(9.81*(bc+zc*X2)^2))^(1/3))
NextI
YC=CCur(X2)
AC=CCur((bc+zc*YC)*YC)
vc=CCur(QM/AC)
APLICA_3.Text1=Round(YC,3)
APLICA_3.Text4=Round(YC,3)
APLICA_3.Text2=Round(AC,3)
APLICA_3.Text3=Round(vc,3)
APLICA_3.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
204
EndIf
EndSub
PrivateSubCommand3_Click()
IfText7=""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText6=""Then
MsgBox"NTRODUZCAUNVALORPARALABASEb(m)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText8=""Then
MsgBox"INTRODUZCAUNVALORPARALAPROFUNDIDADYo(m)",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText7=0Then
MsgBox"ELCAUDALQ(m^3/s)NOPUEDESERCERO(0)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText6=0Then
MsgBox"LABASEb(m)NOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
IfText8= 0Then
MsgBox"LAPROFUNDIDADYo(m)NOPUEDESERCERO",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
B=CCur(Text6)
Q=CCur(Text7)
Y0=CCur(Text8)
QU=CCur(Q/B)
E0=CCur(Y0+Q^2/(2*9.81*B^2*Y0^2))
x=0
ForI=1To100
x=(QU^2/(2*9.81*(E0 x)))^0.5
205
NextI
Y1=CCur(x)
YC=CCur((QU^2/9.81)^0.5)
F1=CCur(QU/(Y1*(9.81*Y1)^0.5))
Y2=CCur((Y1/2)*(1+(1+8*F1^2)^0.5))
DE=(1)*CCur((Y1 Y2)^3/(4*Y1*Y2))
P=CCur(9810*Q*DE)
FE0=CCur((Y0^2/2)+(QU^2/(9.81*Y0)))
FE1=CCur((Y1^2/2)+(QU^2/(9.81*Y1)))
F=CCur(9810*B*(FE0 FE1))
IfF1<1Then
APLCA_4Text14="SubCritico"
EndIf
IfF1=1Then
APLCA_4.Text14="critico"
EndIf
IfF1>1Then
APLCA_4.Text14= "Supecritico"
EndIf
APLCA_4.Text1=Round(QU,3)
APLCA_4.Text2=Round(E0,3)
APLCA_4.Text3=Round(Y1,3)
APLCA_4.Text4=Round(YC,3)
APLCA_4.Text5=Round(Y0,3)
APLCA_4.Text6=Round(Y1,3)
APLCA_4.Text7=Round(F1,3)
APLCA_4.Text8=Round(Y2,3)
APLCA_4.Text9=Round(DE,3)
APLCA_4.Text10=Round(P,3)
APLCA_4.Text11=Round(FE0,3)
APLCA_4.Text12=Round(FE1,3)
APLCA_4.Text13=Round(F,3)
APLCA_4.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubDLKFLDKFLKDLFKL_Click()
206
APLICAC_1.PrintForm
EndSub
PrivateSubLDKFKDLSFLSDKL_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLKLFKDLFKDKFL_Click()
End
EndSub
PrivateSubDFDLFLD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubText1_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText4_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
207
EndIf
EndSub
PrivateSubText5_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSub Text6_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText7_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText8_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
FORMULARIONUMERO2
PrivateSubDFKLDKFFG_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubDFLDFKFKLGF_Click()
APLICAC_1.Show
APLICAC_1.Frame1.Visible=False
APLICAC_1.Frame3.Visible=True
APLICAC_1.Frame5.Visible=False
UnloadMe
EndSub
208
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubGFHFFHGFH_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubGHGFHGFH_Click()
End
EndSub
PrivateSubKLKDFKSDKFLF_Click()
APLICA_3.PrintForm
EndSub
10.3 RESALTOHIDRAULICO
PrivateSubCommand1_Click()
IfText1=""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText2=""Then
MsgBox"NTRODUZCAUNVALORPARALAENERGIAE(m)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText1=0Then
MsgBox"ELCAUDALUNITARIOq(m^3/s)*mNOPUEDESERCERO(0)",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText2=0Then
MsgBox"LAENERGIAE(m)NOPUEDESERCERO(0)",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
If(Text2/Text1)<0.9Then
209
MsgBox"LOSDATOSESTANFUERADELRANGODELMODELO
HIDRAULICOYMATEMATICO,SEHAPRODUCIDOUNDESBORDAMIENTOENLAS
ITERACIONES,MODIFICARELCAUDALUNITARIOOLAENERGIA",16,"DATOS
ERRONEOS"
APLICAC_1.Show
Text1=""
Text2=""
Else
Q=CCur(Text1)
E=CCur(Text2)
APLICA_2.Text1=Q
APLICA_2.Text11=CCur(Round((Q^2/9.81)^(1/3),3))
X=0
ForI=1To100
X=CCur(Sqr(Q^2/(19.62*(E X))))
NextI
Y0=X
X1=Y0+E/3
ForI=1To100
X1=E Q^2/(19.62*X1^2)
NextI
Y1=X1
F0=Sqr(Q^2/(9.81*Y0^3))
F1=Sqr(Q^2/(9.81*Y1^3))
IfF0<1Then
APLICA_2.Text4="SubCritico"
EndIf
IfF0=1Then
APLICA_2.Text4="critico"
EndIf
IfF0>1Then
APLICA_2.Text4="Supecritico"
EndIf
IfF1<1Then
APLICA_2.Text7="SubCritico"
EndIf
IfF1=1Then
APLICA_2.Text7="critico"
EndIf
210
IfF1>1Then
APLICA_2.Text7="Supecritico"
EndIf
APLICA_2.Text2=Round(Y0,3)
APLICA_2.Text5=Round(Y1,3)
APLICA_2.Text3=Round(F0,3)
APLICA_2.Text6=Round(F1,3)
APLICA_2.Text8=Round(Y0,3)
APLICA_2.Text9=Round(Y1,3)
APLICA_2.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubCommand2_Click()
IfText3=""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText4=""Then
MsgBox"NTRODUZCAUNVALORPARALABASEb(m)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText5=""Then
MsgBox"INTRODUZCAUNVALORPARAELTALUDz",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
IfText3=0Then
MsgBox"ELCAUDALQ(m^3/s)NOPUEDESERCERO(0)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText4=0Then
MsgBox"LABASEb(m)NOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
IfText5=0Then
211
MsgBox"SIELTALUDzESCEROELCANALSERARECTANGULAR",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
QM=CCur(Text3)
bc=CCur(Text4)
zc=CCur(Text5)
X2=0
ForI=1To100
X2=CCur(((QM)^2/(9.81*(bc+zc*X2)^2))^(1/3))
NextI
YC=CCur(X2)
AC=CCur((bc+zc*YC)*YC)
vc=CCur(QM/AC)
APLICA_3.Text1=Round(YC,3)
APLICA_3.Text4=Round(YC,3)
APLICA_3.Text2=Round(AC,3)
APLICA_3.Text3=Round(vc,3)
APLICA_3.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubCommand3_Click()
IfText7=""Then
MsgBox"INTRODUZCAUNVALORPARAELCAUDALQ(m^3/s)",16,
"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText6=""Then
MsgBox"NTRODUZCAUNVALORPARALABASEb(m)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText8=""Then
212
MsgBox"INTRODUZCAUNVALORPARALAPROFUNDIDADYo(m)",
16,"ERRORDECOMPLETACION"
APLICAC_1.Show
Else
IfText7=0Then
MsgBox"ELCAUDALQ(m^3/s)NOPUEDESERCERO(0)",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
IfText6=0Then
MsgBox"LABASEb(m)NOPUEDESERCERO",16,"ERRORDE
COMPLETACION"
APLICAC_1.Show
Else
IfText8=0Then
MsgBox"LAPROFUNDIDADYo(m)NOPUEDESERCERO",16,"ERROR
DECOMPLETACION"
APLICAC_1.Show
Else
B=CCur(Text6)
Q=CCur(Text7)
Y0=CCur(Text8)
QU=CCur(Q/B)
E0=CCur(Y0+Q^2/(2*9.81*B^2*Y0^2))
X=0
ForI=1To100
X=(QU^2/(2*9.81*(E0 X)))^0.5
NextI
Y1=CCur(X)
YC=CCur((QU^2/9.81)^0.5)
F1=CCur(QU/(Y1*(9.81*Y1)^0.5))
Y2=CCur((Y1/2)*(1+(1+8*F1^2)^0.5))
DE=(1)*CCur((Y1 Y2)^3/(4*Y1*Y2))
P=CCur(9810* Q*DE)
FE0=CCur((Y0^2/2)+(QU^2/(9.81*Y0)))
FE1=CCur((Y1^2/2)+(QU^2/(9.81*Y1)))
F=CCur(9810*B*(FE0 FE1))
IfF1<1Then
APLCA_4Text14="SubCritico"
213
EndIf
IfF1=1Then
APLCA_4.Text14="critico"
EndIf
IfF1>1Then
APLCA_4.Text14="Supecritico"
EndIf
APLCA_4.Text1=Round(QU,3)
APLCA_4.Text2=Round(E0,3)
APLCA_4.Text3=Round(Y1,3)
APLCA_4.Text4=Round(YC,3)
APLCA_4.Text5=Round(Y0,3)
APLCA_4.Text6=Round(Y1,3)
APLCA_4.Text7=Round(F1,3)
APLCA_4.Text8=Round(Y2,3)
APLCA_4.Text9=Round(DE,3)
APLCA_4.Text10=Round(P,3)
APLCA_4.Text11=Round(FE0,3)
APLCA_4.Text12=Round(FE1,3)
APLCA_4.Text13=Round(F,3)
APLCA_4.Show
UnloadMe
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndSub
PrivateSubDLKFLDKFLKDLFKL_Click()
APLICAC_1.PrintForm
EndSub
PrivateSubLDKFKDLSFLSDKL_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLKLFKDLFKDKFL_Click()
End
EndSub
PrivateSubDFDLFLD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubText1_KeyPress(KeyAsciiAsInteger)
214
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText2_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText3_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText4_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
If InStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText5_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText6_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
215
PrivateSubText7_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
PrivateSubText8_KeyPress(KeyAsciiAsInteger)
DimVALORAsInteger
IfKeyAscii<>8Then
IfInStr(1,"0123456789,.",Chr(KeyAscii))=0Then
Beep
KeyAscii=0
EndIf
EndIf
EndSub
FORMULARIONUMERO2
PrivateSubDFKLFKDLFKLDF_Click()
APLICAC_1.Show
APLICAC_1.Frame1.Visible=False
APLICAC_1.Frame3.Visible=False
APLICAC_1.Frame5.Visible=True
UnloadMe
EndSub
PrivateSubDLFKDKLFKLDFL_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubFFFGFGFDG_Click()
End
EndSub
PrivateSubFKLGKFLGKLFFG_Click()
APLCA_4.PrintForm
EndSub
PrivateSubLabel15_Click()
EndSub
PrivateSubLFDLGLF_Click()
Form19.Show
UnloadMe
EndSub
216
11. GLOSARIO
11.1 HIDRAULICADECANALES
PrivateSubCommand1_Click()
GLO_A.Show
EndSub
PrivateSubCommand10_Click()
GLO_M.Show
EndSub
PrivateSubCommand11_Click()
GLO_N.Show
EndSub
PrivateSubCommand12_Click()
GLO_P.Show
EndSub
PrivateSubCommand13_Click()
GLO_R.Show
EndSub
PrivateSubCommand14_Click()
GLO_S.Show
EndSub
PrivateSubCommand15_Click()
GLO_T.Show
EndSub
PrivateSubCommand16_Click()
GLO_V.Show
EndSub
PrivateSubCommand17_Click()
GLO_W.Show
EndSub
PrivateSubCommand18_Click()
GLO_Z.Show
EndSub
PrivateSubCommand19_Click()
GLO_BIBLI.Show
EndSub
PrivateSubCommand2_Click()
GLO_B.Show
EndSub
217
PrivateSubCommand3_Click()
GLO_C.Show
EndSub
PrivateSubCommand4_Click()
GLO_D.Show
EndSub
PrivateSubCommand5_Click()
GLO_E.Show
EndSub
PrivateSubCommand6_Click()
GLO_F.Show
EndSub
PrivateSubCommand7_Click()
GLO_G.Show
EndSub
PrivateSub Command8_Click()
GLO_I.Show
EndSub
PrivateSubCommand9_Click()
GLO_L.Show
EndSub
PrivateSubFrameXp1_MouseDown(ButtonAsInteger,ShiftAsInteger,xAsSingle,YAsSingle)
EndSub
PrivateSubJKSDJFKSDLJF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKLDFLGFDKLK_Click()
End
EndSub
PrivateSubLKKSDLKFSDKLFS_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLKSLDFLKLGF_Click()
GLOSARIO.PrintForm
EndSub
FORMULARIONUMERO1
PrivateSubDFGDFGDFGF_Click()
218
End
EndSub
Private SubJKSDJKFJKLF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLabel1_Click()
EndSub
PrivateSubLSDKLSDKFLSD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLPDSDFLKDLKF_Click()
GLO_A.PrintForm
EndSub
PrivateSubSDKLKFSDLFK_Click()
MDIForm1.Show
UnloadMe
EndSub
FORMULARIONUMERO2
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubKDJFKDSKLFKKLFSDDS_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKDKFKLGLDFL_Click()
End
EndSub
PrivateSubKLDFKLDKFKDLF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubKLSDJFKJKLFJSD_Click()
219
GLO_B.PrintForm
EndSub
PrivateSubLDSKFKLF_Click()
Form19.Show
UnloadMe
EndSub
FORMULARIONUMERO3
PrivateSubKLDFLKSDKFKLFSD_Click()
GLO_BIBLI.PrintForm
EndSub
PrivateSubKSDKLFKDFKLSD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKSKLKFLSDKLF_Click()
End
EndSub
PrivateSubLabel1_Click()
EndSub
PrivateSubLDKLFDKLFKLSDF_Click()
GLOSARIO.Show
UnloadMe
EndSub
Private SubLSDKLFSDLLSDF_Click()
Form19.Show
UnloadMe
EndSub
FORMULARIONUMERO4
PrivateSubDFFDFDDDDDDD_Click()
End
EndSub
PrivateSubJKLDJKLFKLKFSD_Click()
MDIForm1.Show
UnloadMe
220
EndSub
PrivateSubKDKLFKDFLK_Click()
GLO_C.PrintForm
EndSub
PrivateSubKLFKLGFDKLGF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubKLKFDLFKFKLDF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLabel1_Click()
EndSub
FORMULARIONUMERO5
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,Y AsSingle)
EndSub
PrivateSubKDLKSFLDSKFLSD_Click()
End
EndSub
PrivateSubLKDLKLDSKLFD_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLLDSLSLDLF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubPAGINA_Click()
GLO_D.PrintForm
EndSub
PrivateSubTTRRTRRRRRR_Click()
MDIForm1.Show
UnloadMe
EndSub
221
FORMULARIONUMERO5
PrivateSubFGDFLGLDF_Click()
End
EndSub
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubGHGHGH_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubJDKSJFKJKFF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubJKDJKJFDKSFJKLSD_Click()
GLO_E.PrintForm
EndSub
PrivateSubLDLKFLKF_Click()
GLOSARIO.Show
UnloadMe
EndSub
FORMULARIONUMERO6
PrivateSubKJSKDJKFKLKSJDF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKLDJKFLJDKLSF_Click()
End
EndSub
PrivateSubKLDKJKFLKLDSF_Click()
GLO_F.PrintForm
EndSub
PrivateSubLabel1_Click()
EndSub
222
PrivateSubLKDFLDLFKL_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLDKLKSDFLFKLFD_Click()
Form19.Show
UnloadMe
EndSub
FORMULARIONUMERO7
PrivateSubDFLKFLDKLFDKGL_Click()
End
EndSub
PrivateSubFGKFDLGKFDG_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubFrame1_DragDrop(Source AsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubJKDJFKLJKFJKSD_Click()
GLO_G.PrintForm
EndSub
PrivateSubKLDJKLSDJKLFSD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubMGKDFLKGDFKGLDF_Click()
Form19.Show
UnloadMe
EndSub
FORMULARIONUMERO8
PrivateSubDKFLDKFD_Click()
GLOSARIO.Show
UnloadMe
EndSub
223
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubJKDKLFSDJKFKFJKL_Click()
End
EndSub
PrivateSubKDJKJSKLF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKKSDKLFDKLFF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLKFLKLDFKLGF_Click()
GLO_I.PrintForm
EndSub
FORMULARIONUMERO9
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubJKSDJKFSDJKF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKFDKLDFKLGDF_Click()
GLO_L.PrintForm
EndSub
PrivateSubKLDKLFJSDKLF_Click()
End
EndSub
PrivateSubLDFKLFDLGLF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLDSKLFKSDLF_Click()
Form19.Show
224
UnloadMe
EndSub
FORMULARIONUMERO10
PrivateSubDFJKJGKLDFG_Click()
End
EndSub
PrivateSubFLLGFKLDG_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubKLDSKLFSDF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLDKLKFDLFDS_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLDSKLKFLF_Click()
GLO_M.PrintForm
EndSub
FORMULARIONUMERO11
PrivateSubDLKLSDKFL_Click()
GLO_N.PrintForm
EndSub
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
225
PrivateSubJKDJFKLSDJKDF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKLSDLKSDLKDFS_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLDFLFLGKLDF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLDLKFSDLKF_Click()
End
EndSub
FORMULARIONUMERO12
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubJKJDFKLJFD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLDFDF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLDKFLKLFD_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLSDLFLSDLF_Click()
End
EndSub
PrivateSubLSDKLKLDKFDSF_Click()
GLO_P.PrintForm
EndSub
226
FORMULARIONUMERO13
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubKLDKFKLSDFSF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubKLDSFKLKDLF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLKLKLGFGF_Click()
End
EndSub
PrivateSubLKLDFKLFDF_Click()
GLO_R.PrintForm
EndSub
PrivateSubLFFLFSF_Click()
GLOSARIO.Show
UnloadMe
EndSub
FORMULARIONUMERO14
PrivateSubDJKJFKLJFDKSL_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubLGKFLGKDFG_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLKDFLKLDFSDDF_Click()
MDIForm1.Show
UnloadMe
227
EndSub
PrivateSubLKDLFKDKFD_Click()
GLO_S.PrintForm
EndSub
PrivateSubDSLFLFL_Click()
End
EndSub
FORMULARIONUMERO15
PrivateSubDKFKLSDKFKDSF_Click()
GLO_T.PrintForm
EndSub
PrivateSubDFDFSDFSDL_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubFrame1_DragDrop(SourceAsControl, XAsSingle,YAsSingle)
EndSub
PrivateSubJSDJKFKSDJFSD_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubLDKKLKLFSDF_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubLKLFKLSDFSD_Click()
End
EndSub
FORMULARIONUMERO16
PrivateSubDFSDLFLDS_Click()
Form19.Show
UnloadMe
228
EndSub
PrivateSubFrame1_DragDrop(IndexAsInteger,SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubLFDLKFLSDKDSDF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLSKFKLSDFDSF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubSDFKLKSDFKLS_Click()
GLO_V.PrintForm
EndSub
PrivateSubTRTRTERTER_Click()
End
EndSub
FORMULARIONUMERO17
PrivateSubFrame1_DragDrop(IndexAsInteger,SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubJKLSDLFKLDKSF_Click()
End
EndSub
PrivateSubKLFKGKGGF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubKLKSDLKFLSDKF_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubKSDLKFLSDKFLD_Click()
GLO_W.PrintForm
EndSub
PrivateSubLSDKLFKDSLFK_Click()
229
Form19.Show
UnloadMe
EndSub
FORMULARIONUMERO18
PrivateSubASDLASLDSA_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubFrame1_DragDrop(IndexAsInteger,SourceAsControl,XAsSingle,YAsSingle)
EndSub
PrivateSubLKLADKFSDFSDFS_Click()
End
EndSub
PrivateSubLKSDFKFLSDF_Click()
GLO_Z.PrintForm
EndSub
PrivateSubMKDFKFLDSFSD_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubDASFLSDFLFSD_Click()
Form19.Show
UnloadMe
EndSub
230
12. ACERCADE..
12.1 AYUDA
12.1.1 DELPROGRAMA
PrivateSubCommand1_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubCommand2_Click()
GLO_BIBLI.Show
UnloadMe
EndSub
PrivateSubCommand3_Click()
End
EndSub
PrivateSubFrame1_DragDrop(SourceAsControl,XAsSingle,YAsSingle)
EndSub
12.2 AGRADECIMIENTOS
PrivateSubcmdOK_Click()
MDIForm1.Show
UnloadMe
EndSub
PrivateSubCommand1_Click()
Form33.Show
UnloadMe
EndSub
PrivateSubCommand2_Click()
Form32.Show
UnloadMe
EndSub
PrivateSubCommand3_Click()
231
Form22.Show
UnloadMe
EndSub
PrivateSubCommand4_Click()
Form35.Show
UnloadMe
EndSub
PrivateSubFrameXp1_MouseDown(ButtonAsInteger,ShiftAsInteger,xAsSingle,YAsSingle)
EndSub
FORMULARIONUMERO1
PrivateSubcmdOK_Click()
Form34.Show
UnloadMe
EndSub
PrivateSubForm_Load()
Timer1.Interval=60
VScroll1.Max=Picture1.Height
VScroll1.Min=0 Text3.Height
VScroll1.Value=VScroll1.Max
EndSub
PrivateSubImage1_Click()
EndSub
PrivateSubText3_Change()
EndSub
PrivateSubTimer1_Timer()
IfVScroll1.Value>=VScroll1.Min+80Then
VScroll1.Value=VScroll1.Value 35
Else
VScroll1.Value=VScroll1.Max
DoEvents
EndIf
Text3.Top=VScroll1.Value
Text3.Visible=True
DoEvents
232
EndSub
PrivateSubTimer3_Timer()
EndSub
PrivateSubTimer2_Timer()
EndSub
FORMULARINUMERO2
PrivateSubcmdOK_Click()
Form34.Show
UnloadMe
EndSub
PrivateSubForm_Load()
Timer1.Interval=60
VScroll1.Max =Picture1.Height
VScroll1.Min=0 Text3.Height
VScroll1.Value=VScroll1.Max
EndSub
PrivateSubPicture1_Click()
EndSub
PrivateSubTimer1_Timer()
IfVScroll1.Value>=VScroll1.Min+80Then
VScroll1.Value=VScroll1.Value 35
Else
VScroll1.Value=VScroll1.Max
DoEvents
EndIf
Text3.Top=VScroll1.Value
Text3.Visible=True
DoEvents
EndSub
FORMULARIONUMERO3
PrivateSubcmdOK_Click()
Form34.Show
UnloadMe
233
EndSub
PrivateSubForm_Load()
Timer1.Interval=60
VScroll1.Max=Picture1.Height
VScroll1.Min=0 Text3.Height
VScroll1.Value=VScroll1.Max
EndSub
PrivateSubPicture1_Click()
EndSub
PrivateSubTimer1_Timer()
IfVScroll1.Value>=VScroll1.Min+80Then
VScroll1.Value=VScroll1.Value 35
Else
VScroll1.Value=VScroll1.Max
DoEvents
EndIf
Text3.Top=VScroll1.Value
Text3.Visible=True
DoEvents
EndSub
FORMULARIONUMERO4
PrivateSubcmdOK_Click()
Form34.Show
UnloadMe
EndSub
PrivateSubForm_Load()
Timer1.Interval=10
VScroll1.Max=Picture1.Height
VScroll1.Min=0 Text3.Height
VScroll1.Value=VScroll1.Max
EndSub
PrivateSubPicture1_Click()
EndSub
PrivateSubTimer2_Timer()
IfVScroll1.Value>=VScroll1.Min+80Then
VScroll1.Value=VScroll1.Value 35
Else
VScroll1.Value=VScroll1.Max
DoEvents
EndIf
Text3.Top=VScroll1.Value
Text3.Visible=True
DoEvents
EndSub
234
13. SALIR
13.1 ESTASEGURODESALIR?
bTimer1_Timer()
EndSub
PrivateSubASDS_Click()
Form2.Show
UnloadMe
EndSub
PrivateSubCIRCU_Click()
Form5.Show
UnloadMe
EndSub
PrivateSubCVMCVKJCVK_Click()
Form11.Show
UnloadMe
EndSub
PrivateSubDLKFDFKFLGLF_Click()
GENER2.Show
UnloadMe
EndSub
PrivateSubDSFFGFGFGFD_Click()
Form26.TEXTRUGOSIDAD=""
Form26.Q=""
Form26.S=""
Form26.L=""
Form26.Z=""
Form26.V=""
Form26.Show
UnloadMe
EndSub
PrivateSubFDFDFDFDS_Click()
Form3.Show
UnloadMe
EndSub
Private SubJIJIJIJIJI_Click()
FORM14.Show
UnloadMe
235
EndSub
PrivateSubFFGFDGFG_Click()
PRAC2.Show
UnloadMe
EndSub
PrivateSubJDJKSDFJFJFK_Click()
LAB2_ECUA.Show
UnloadMe
EndSub
PrivateSubJDKJKJDJFKDK_Click()
GENER.Show
UnloadMe
EndSub
Private SubJJIJKKKOKO_Click()
Form13.Show
UnloadMe
EndSub
PrivateSubJKJKJKCDCDF_Click()
Form12.Show
UnloadMe
EndSub
PrivateSubJSDJSDFKLSDKLFKSDL_Click()
LAB1_ECUA.Show
UnloadMe
EndSub
PrivateSubKDKKVKCVCK_Click()
Form16.Show
UnloadMe
EndSub
PrivateSubKFJKDFJKLDJFKLKFKL_Click()
Form18.Show
UnloadMe
EndSub
PrivateSubKIJIJJIJIJI_Click()
Form4.Show
UnloadMe
EndSub
PrivateSubKJDKFJKSDJFKLSD_Click()
Form30.Show
UnloadMe
236
EndSub
PrivateSubKJKFJFKGJKFGJKLFG_Click()
Form29.Show
UnloadMe
EndSub
PrivateSubKLSDJKFJKFJKRL_Click()
Form34.Show
UnloadMe
EndSub
PrivateSubKOKDFJDFIDJF_Click()
Dimbyt_SalirAsByte
byt_Salir=MsgBox("DeseaSalirdeOpenFlow?",vbYesNo+vbQuestion,"SALIRDEL
PROGRAMA")
Ifbyt_Salir =vbYesThenEnd
EndSub
PrivateSubMJFDKFLLFKGLFKG_Click()
Form9.Show
UnloadMe
EndSub
PrivateSubKSDJFKLJFJDSFJKLSF_Click()
Form31.Show
UnloadMe
EndSub
PrivateSubKSJSDKLFJKDLSFJKSD_Click()
Form20.Show
UnloadMe
EndSub
PrivateSubLKSDFLKLKFLG_Click()
CRITERIO_DIS_1.Show
UnloadMe
EndSub
PrivateSubLFLDSLFD_Click()
APLICAC_1.Show
APLICAC_1.Frame1.Visible=False
APLICAC_1.Frame3.Visible=True
APLICAC_1.Frame5.Visible=False
UnloadMe
EndSub
PrivateSubLKDLFKGLFKGFL_Click()
APLICAC_1.Show
APLICAC_1.Frame1.Visible=False
237
APLICAC_1.Frame3.Visible=False
APLICAC_1.Frame5.Visible=True
UnloadMe
EndSub
PrivateSubLKFKLDFKGLF_Click()
GLOSARIO.Show
UnloadMe
EndSub
PrivateSubLSDKFLKSDLFK_Click()
APLICAC_1.Show
APLICAC_1.Frame1.Visible=True
APLICAC_1.Frame3.Visible=False
APLICAC_1.Frame5.Visible=False
UnloadMe
EndSub
PrivateSubLSDKFLKLFKSDLFKS_Click()
Form25.Show
UnloadMe
EndSub
PrivateSublskdlskdlkdfklf_Click()
LAB2_IMAGEN.Show
UnloadMe
EndSub
PrivateSubOIOIOIOIO_Click()
Form10.Show
UnloadMe
EndSub
PrivateSubPLSDFNDJKFJDK_Click()
Form17.Show
UnloadMe
EndSub
PrivateSubSECCIONRECTANGULAR_Click()
Form6.Show
UnloadMe
EndSub
PrivateSubSECCIONTRAPEZOIDAL_Click()
Form7.Show
UnloadMe
EndSub
PrivateSubSECCIONTRIANGULAR_Click()
238
Form8.Show
UnloadMe
EndSub
PrivateSubSJDKSJDKS_Click()
Form15.Show
UnloadMe
EndSub
PrivateSubSKJDKSJDKSJ_Click()
Form19.Show
UnloadMe
EndSub
PrivateSubSKSDJSJKJFG_Click()
PRAC1.Show
UnloadMe
MsgBox"Introducirlaslecturasdelosniveles,deMayoraMenoren(mm)",16,
"AYUDASDECALCULO"
PRAC1.Show
EndSub
239
CONTENIDO
GENERALIDADES
INTRODUCCIN
DERECHOS DE AUTOR
RESPONSABILIDADES
AUTORES
ALCANCEGENERALDELPROGRAMAOPENFLOWUNISALLE
REQUISITOSMINIMOSDEEQUIPO
1.0INSTALACIONDE OPENFLOWUNISALLE
10
2.0PANTALLASEIMGENESDELSOFTWAREOPENFLOWUNISALLE
13
13
14
15
2.3.1 CALCULODEELEMENTOSHIDRULICOSYGEOMTRICOSENFLUJOCRTICO
16
19
2.3.3 CALCULODEELEMENTOSHIDRULICOSYGEOMTRICOSENFLUJOUNIFORME
22
2.3.4 CALCULODELBORDELIBREENCANALESABIERTOS
25
2.3.5 CALCULODEELEMENTOSGEOMTRICOS
27
2.3.6 DISEODECANALESABIERTOS
31
2.3.7 LABORATORIOSDEHIDRULICADECANALES
52
82
2.3.9. ANIMACIONES
85
88
LISTADEIMGENES
IMAGEN1INSTALADOR DELSOFTWAREOPENFLOWUNISALLE.
10
IMAGEN2INSTALACINDEL SOFTWAREOPENFLOWUNISALLE,PRIMERAPANTALLA.
11
IMAGEN3INSTALACINDELSOFTWAREOPENFLOWUNISALLE,SEGUNDAPANTALLA.
12
IMAGEN4INSTALACINDELSOFTWAREOPENFLOWUNISALLE,TERCERAPANTALLA.
12
IMAGEN5INSTALACINDELSOFTWAREOPENFLOWUNISALLE,CUARTAPANTALLA.
13
IMAGEN6PANTALLAINICIALDELSOFTWAREOPENFLORUNISALLE.
14
IMAGEN7PANTALLAPRINCIPALDEOPENFLOR UNISALLE.
15
IMAGEN8MENPARAELCLCULODELFLUJOCRITICODESDELAPANTALLAPRINCIPAL 16
IMAGEN9PANTALLADE INGRESODATOSGENERALESPARAELCALCULODELFLUJO
CRITICOENLASECCINRECTANGULAR
17
IMAGEN10PANTALLADERESULTADOSENELFLUJOCRITICODELASECCIN
RECTANGULAR.
18
IMAGEN11MENPARAELCLCULODELAFUERZAESPECIFICADESDELAPANTALLA
PRINCIPAL
19
IMAGEN12PANTALLADEINGRESODATOSGENERALESPARAELCALCULOLAFUERZA
ESPECIFICAENLASECCINTRIANGULAR.
20
IMAGEN13PANTALLADERESULTADOSDELAFUERZAESPECIFICAPARAUNASECCIN
TRIANGULAR.
21
IMAGEN14MENPARAELCLCULODELFLUJOUNIFORMEDESDELAPANTALLA
PRINCIPAL
22
IMAGEN15PANTALLADEINGRESODATOSGENERALESPARAELCALCULODELFLUJO
UNIFORMEENLASECCINRECTANGULAR.
23
IMAGEN16PANTALLADERESULTADOSENELFLUJOUNIFORMEENLASECCIN
RECTANGULAR.
24
IMAGEN17MENPARAELCLCULODELBORDELIBREDESDELAPANTALLAPRINCIPAL 25
IMAGEN18PANTALLADEINGRESODATOSGENERALESPARAELCALCULODELBORDE
LIBREENUNCANALABIERTO.
26
IMAGEN19PANTALLADERESULTADOSENELBORDELIBREENCANALESABIERTOS.
27
IMAGEN20MENPARAELCLCULODELOSELEMENTOSGEOMTRICOSENCANALES
ABIERTOSDESDELAPANTALLAPRINCIPAL.
28
IMAGEN21PANTALLADEINGRESODATOSGENERALESPARAELCALCULODELOS
ELEMENTOSGEOMTRICOSENCANALESABIERTOS.
30
IMAGEN22PANTALLADERESULTADOSGENERALESPORELCALCULODELOSELEMENTOS
GEOMTRICOSENCANALESABIERTOS.
31
IMAGEN23MENPARAELDISEODECANALESABIERTOSDESDELAPANTALLA
PRINCIPAL.
33
IMAGEN24MENPARAELDISEODECANALESABIERTOSREVESTIDOSDESDELA
PANTALLAPRINCIPAL.
34
IMAGEN25PANTALLADEINGRESODATOSGENERALESPARAELDISEODECANALES
ABIEROSREVESTIDOSCONSECCINHIDRULICAMENTEOPTIMA.
37
IMAGEN26PANTALLADERESULTADOSPRIMARIOSGENERALESPARAELDISEODE
CANALESREVESTIDOSCONSECCINHIDRULICAMENTEOPTIMA.
38
IMAGEN27PANTALLADATOSPARAELCALCULODELOSCOSTOSPOREXCAVACIN,
TRANSPORTEYREVESTIMIENTOPARAELDISEODECANALESREVESTIDOSCON
SECCINHIDRULICAMENTEOPTIMA.
40
IMAGEN28PANTALLADERESULTADOSDECOSTOSGENERALESPARAEL DISEODE
CANALESREVESTIDOSCONSECCINHIDRULICAMENTEOPTIMA
41
IMAGEN29MENPARAELDISEODECANALESABIERTOSNOREVESTIDOSDESDE LA
PANTALLAPRINCIPAL.
42
IMAGEN30PANTALLADEINGRESODATOSGENERALESPARAELDISEODECANALES
ABIERTOSNOREVESTIDOSCONVELOCIDADMXIMAPERMISIBLE.
45
IMAGEN31PANTALLADERESULTADOSPRIMARIOSGENERALESENELDISEODE
CANALESABIERTOSNOREVESTIDOSCONVELOCIDADMXIMAPERMISIBLE.
46
IMAGEN32PANTALLADERESULTADOSPRIMARIOSGENERALESENELDISEODE
CANALESABIERTOSNOREVESTIDOSCONVELOCIDADMXIMAPERMISIBLE,CUADRO
DEADVERTENCIA.
47
IMAGEN33PANTALLADERESULTADOSGENERALESENELDISEODE CANALESABIERTOS
NOREVESTIDOSCONVELOCIDADMXIMAPERMISIBLE.
48
IMAGEN34PANTALLADERESULTADOSGENERALESENELDISEODECANALESABIERTOS
NOREVESTIDOSCONVELOCIDADMXIMAPERMISIBLE.
49
IMAGEN35PANTALLADATOSPARAELCALCULODELOSCOSTOSPOREXCAVACINY
TRANSPORTEPARAELDISEODECANALESNOREVESTIDOSCONVELOCIDAD
PERMISIBLE.
50
IMAGEN36MENPARALABORATORIOSDEHIDRULICADECANALESEN LAUNIVERSIDAD
DELASALLE.
53
54
IMAGEN38PANTALLADEINTRODUCCINPARAELLABORATORIOGEOMETRADELA
SECCION.
55
56
57
IMAGEN41PANTALLAPARAENTRADADELECTURASDENIVELES.
58
IMAGEN42PANTALLAPARAELINGRESODELOSDATOSDEAFORODECAUDAL.
59
IMAGEN43PANTALLACONDATOSINGRESADOS.
60
IMAGEN44PANTALLADERESULTADOSPRIMARIOS.
61
IMAGEN45PANTALLADERESULTADOSSECUNDARIOS.
62
IMAGEN46PANTALLADERESULTADOSFINALES.
63
IMAGEN47GRAFICADE LAENERGAESPECIFICA.
64
IMAGEN48GRAFICADE LAFUERZAESPECIFICA.
65
IMAGEN49INGRESOAL MEN"ECUACIONESUSADAS"
66
IMAGEN50PANTALLADEECUACIONES.
67
IMAGEN51PANTALLADEINTRODUCCIN.
68
IMAGEN52INGRESOPARALAREALIZACINDELOSCLCULOS.
69
IMAGEN53PANTALLADEENTRADA.
70
IMAGEN54INGRESODE DATOS.
71
IMAGEN55PUESTADEDATOS.
72
IMAGEN56PANTALLADERESULTADOSINICIALESDELAPRACTICADE LABORATORIO,
RESULTADOSGENERALES.
73
IMAGEN57PANTALLADERESULTADOSDELAPRACTICADELABORATORIO,RESULTADOS
DELAPRACTICAS.
74
IMAGEN58PANTALLADERESULTADOSDELAPRACTICADELABORATORIO,RESULTADOS
DELAPRACTICAS
75
IMAGEN59PANTALLADERESULTADOSDELAPRACTICADELABORATORIO,ERRORDELA
PRACTICADEBIDOALDESARROLLODELAPRACTICA.
76
IMAGEN60PANTALLADERESULTADOSDELAPRACTICADELABORATORIO,GRAFICASDE
ENERGAESPECIFICAPARADADADATO.
77
IMAGEN62PANTALLADERESULTADOSDELAPRACTICADELABORATORIO,GRAFICASDE
FUERZAESPECIFICAPARADADADATO.
78
IMAGEN63PANTALLADEIMAGENDELABORATORIO.
79
IMAGEN64IMGENESDELASAPLICACIONESDELRESALTOHIDRULICO.
80
IMAGEN65PANTALLAPRINCIPAL
81
IMAGEN66PANTALLADERESULTADOS.
82
IMAGEN67INGRESOA CRITERIOSDEDISEO.
83
IMAGEN68SUBMEN"CRITERIOSDEDISEO"
84
IMAGEN69MEN"DISEODECANALES"
85
IMAGEN70INGRESOALASANIMACIONES.
86
IMAGEN71ACCESOALAANIMACIN.
87
IMAGEN72PANTALLADEVISUALIZACIONDELAANIMACION.
88
IMAGEN73INGRESOALOSEJERCICIOSDEAPLICACINDESDELAPANTALLAPREINCIPAL
89
MANUALDEUSUARIOOPENFLOWUNISALLE
GENERALIDADES
INTRODUCCIN
El presente programa fue creado para el diseo de canales abiertos, canales
revestidos bajo el mtodo de la seccin hidrulicamente ptima y canales no
revestidosconelmtododelavelocidadpermisible.
REQUERIMIENTOSDELSISTEMA
Paraqueelprogramafuncionecorrectamente,senecesita:
1.PCconprocesadorPentiumIIIosuperior
2.128MegasdememoriaRam.
4.Espaciodisponibleendiscodurode1.5Gb.
5.UnidaddeCDoDVD.
6.Resolucinmnimade600*800pxeles.
6
7.Perifricosdeaudio.
DERECHOSDEAUTOR
Elpresenteprogramaestprotegidoporlasleyesnacionaleseinternacionalesde
derechosdeautor.
RESPONSABILIDADES
Nilosdiseadores,nilaUniversidadDeLaSallesonresponsablesdeloserrores
einconsistenciasdelpresentesoftware.Aunqueelprogramahasidosometidoa
pruebasdecalidad,todoslosresultadosdebenserestudiadosyverificadosporel
usuario.
AUTORES
El programa fue creado por los ingenieros Jairo Alexander Barragn Mendoza,
Andrs Ricardo Reyes Carrillo, y Lus E. Acosta Velsquez bajo la asesora y
supervisintcnicadelosingenierosRobertoVzquezMaderodelaUniversidad
DeLaSalleyJuanFajardodeTuxstonesolucionesydelDepartamentotcnicode
C.O.E.CLtda.
Bogot,D.C.Noviembredelao2001
ALCANCEGENERALDELPROGRAMAOPENFLOWUNISALLE
NOTA: El usuario del programa OPEN FLOW UNISALLE, debe suponer que lo
quenoseindiqueexplcitamenteesunaLIMITACIN.
Lassiguientessonalgunaslimitacionesqueeldiseadorousuariodebenteneren
cuenta.
1. Para los modelos matemticos e hidrulicos que requieren iteraciones se
utilizancondicionalesdecien(100)iteraciones.
2. Para el desarrollo de las prcticas de laboratorio de hidrulica de canales, se
debe ingresar todos los datos, se requieren diez lecturas para cada una de las
prcticasmodeladas.
3. En la solucin de sistemas de ecuaciones lineales se utilizo el mtodo de
aproximacionessucesivasdeNewton.
4.Noseincluyeelanlisisdelflujocrticoparalaseccincircular.
5.Noseincluyeelanlisisdelflujouniformeparalaseccincircular.
6. En el diseo de canales no se tiene en cuenta el efecto de la curvatura ni la
sinuosidaddelcanal.
7.Eneldiseodecanalesnorevestidossetienenencuentacientodiezyocho,
coeficientes de Manning cargados en una base de datos .mdb que se encuentra
adjuntaalacarpetadearchivosdelprograma.Estearchivopuedeseractualizado
porelusuariodesernecesario.
REQUISITOSMINIMOSDEEQUIPO
MUYIMPORTANTE:
ParaunbuendesempeodelprogramadediseoOPENFLOWUNISALLE,debe
disponersemnimodelsiguienteequipo:
1.PCconprocesadorPentiumIIIosuperior
2.128MegasdememoriaRam.
4.Espaciodisponibleendiscodurode1.5Gb.
5.UnidaddeCDoDVD.
6.Resolucinmnimade600*800pxeles.
7.Perifricosdeaudio.
1.0 INSTALACIONDEOPENFLOWUNISALLE
Imagen1InstaladordelsoftwareOpenFlowUnisalle.
10
Imagen2InstalacindelsoftwareOpenFlowUnisalle,primerapantalla.
11
Imagen3InstalacindelsoftwareOpenFlowUnisalle,segundapantalla.
Imagen4InstalacindelsoftwareOpenFlowUnisalle,tercerapantalla.
12
Imagen5InstalacindelsoftwareOpenFlowUnisalle,cuartapantalla.
2.0PANTALLASEIMGENESDELSOFTWAREOPENFLOWUNISALLE
2.1PANTALLAINICIAL
La pantalla inicial es una presentacin del programa dura 6 segundos tiene la
propiedad de ir variando la tonalidad de la ella en el rango del azul, adems el
titulo correspondiente al nombre del programa tiene movimiento cclico sobre la
pantallasisedeseaomitirestapresentacinsedebedarclicsobrelapantalla.
13
Imagen6PantallainicialdelsoftwareOpenFlorUnisalle.
2.2PANTALLAPRINCIPAL
En la pantalla principal se encuentran las funciones principales del programa las
cualesseencuentrancomo mensdesplegables.Desdeestaprimerapantallase
invocanlasrutinasparaelclculoydesarrollode:
Flujocritico
Fuerzaespecifica
Flujouniforme
Bordelibre
Elementosgeomtricos
Diseodecanales
Laboratorios
Criteriosdediseo
14
Animaciones
Ejerciciosdeaplicaciones
Glosario
Acercade
Salir
Imagen7PantallaprincipaldeOpenFlorUnisalle.
2.3PANTALLASDECLCULO
Elaccesodeestaspantallasseefectapormediodelapantallaprincipal,en
estaspantallasseingresanvaloresnumricosquecorrespondenalosdatos
necesariosparaefectuarlosclculosydiseoscorrespondientes.
15
2.3.1Calculodeelementoshidrulicosygeomtricosenflujocrtico
Paraelclculodelflujocritico,elsoftwareOpenFlowUnisalledisponedetres
opciones,quecorrespondenalasseccionestransversalesdecanalesmas
utilizadas.
Imagen8Menparaelclculodelflujocriticodesdelapantallaprincipal
Para el clculo del flujo crtico en cualquiera de las secciones se debe de dar
dobleclicsobrelaseccinelegida,acontinuacinaparecerlapantalladeingreso
paralosdatosgenerales.Segnlaseccintransversalseleccionadasetieneque
parala:
SeccinTriangular:SedebedeingresarelcaudalQen(m3/s),eltaludz
ylaaceleracindebidaalagravedadgen(m/s2).
Cadapantallaparaelingresodedatostieneincorporadaunaimagendondeubica
losdatosquedeberincorporarelusuario.Losdatosseingresantecleandosobre
cadacasillaelvalorcorrespondiente,sepuedeutilizarlateclatabparausuarios
queomitanutilizarelmouse,parainiciarlosclculossedebedarenterodoble
ClicsobreelbotonREALIZARCALCULOS.
Imagen9Pantalladeingresodatosgeneralesparaelcalculodelflujocriticoenlaseccin
rectangular
Laprofundidadcrtica(m).
reacrtica(m2).
17
Velocidadcrtica(m).
Energacrtica(m).
Sedisponedeunaimagendondeseubicanlosresultados.
Imagen10Pantalladeresultadosenelflujocriticodelaseccinrectangular.
18
2.3.2Calculodelafuerzaespecficaencanalesabiertos
Paraelclculodelafuerzaespecificaencanalesabiertos,elsoftwareOpenFlow
Unisalle dispone de cuatro opciones, que corresponden a las secciones
transversalesdecanalesabiertosmasutilizadas.
Imagen11Menparaelclculodelafuerzaespecificadesdelapantallaprincipal
Paraelclculodelafuerzaespecficacualquieradelasseccionessedebededar
dobleclicsobrelaseccinelegida,acontinuacinaparecerlapantalladeingreso
paralosdatosgenerales.Segnlaseccintransversalseleccionadasetieneque
parala:
19
Seccincircular:SedebedeingresarelcaudalQen(m3/s),laprofundidad
delflujoyen(m)yeldimetroDen(m).
Cadapantallaparaelingresodedatostieneincorporadaunaimagendondeubica
losdatosquedeberincorporarelusuario.Losdatosseingresantecleandosobre
cadacasillaelvalorcorrespondiente,sepuedeutilizarlateclatabparausuarios
queomitanutilizarelmouse,parainiciarlosclculossedebedarenterodoble
ClicsobreelbotonREALIZARCALCULOS.
Imagen 12 Pantalla de ingreso datos generales para el calculo la fuerza especifica en la
seccintriangular.
20
Laenergaespecfica(m).
Sedisponedeunaimagendondeseubicanlosresultados.
Imagen13Pantalladeresultadosdelafuerzaespecificaparaunaseccintriangular.
21
2.3.3Calculodeelementoshidrulicosygeomtricosenflujouniforme
Paraelclculodelafuerzaespecificaencanalesabiertos,elsoftwareOpenFlow
Unisalle dispone de tres opciones, que corresponden a las secciones
transversalesdecanalesabiertosmasutilizadas.
Imagen14Menparaelclculodelflujouniformedesdelapantallaprincipal
22
SeccinTrapezoidal::SedebedeingresarelcaudalQen(m3/s),labase
ben(m),lapendienteS,elcoeficientedeManningnyeltaludz.
Imagen 15 Pantalla de ingreso datos generales para el calculo del flujo uniforme en la
seccinrectangular.
Cadapantallaparaelingresodedatostieneincorporadaunaimagendondeubica
losdatosquedeberincorporarelusuario.
23
Laprofundidadnormal(m).
reanormal(m2).
Permetronormal(m).
Radiohidruliconormal(m).
Velocidadnormal(m/s)
Sedisponedeunaimagendondeseubicanlosresultados.
Imagen16Pantalladeresultadosenelflujouniformeenlaseccinrectangular.
2.3.4Calculodelbordelibreencanalesabiertos
Paraelclculodelbordelibreencanalesabiertos,elsoftwareOpenFlowUnisalle
lodeterminamedianteunacorrelacinqueestaenfuncindeunaconstanteCy
deprofundidadydelflujo,laconstanteCestarelacionadaconelcaudalQ.
Imagen17Menparaelclculodelbordelibredesdelapantallaprincipal
Lapantallaparaelingresodedatostieneincorporadaunaimagendondeubicalos
datosquedeberincorporarelusuario.
25
Losdatosquesedebeningresarson:
ElcaudalQen(m3/s)
Laprofundidaddelflujoyen(m)
Imagen 18 Pantalla de ingreso datos generales para el calculo del borde libre en un canal
abierto.
Elbordelibreen(m).
Laalturatotaldelcanal(m).
26
Sedisponedeunaimagendondeseubicanlosresultados
Imagen19Pantalladeresultadosenelbordelibreencanalesabiertos.
2.3.5Calculodeelementosgeomtricos
Imagen20Menparaelclculodeloselementosgeomtricosencanalesabiertosdesdela
pantallaprincipal.
28
Seccinrectangular:Laprofundidaddelflujoyen(m)ylabaseben(m).
SeccinTrapezoidal:Laprofundidaddelflujoyen(m),labaseben(m)
yeltaludz.
SeccinTriangular:Laprofundidaddelflujoyen(m)yeltaludz.
Seccincircular:Laprofundidaddelflujoyen(m)yeldimetroDen(m).
Lapantallaparaelingresodedatostieneincorporadaunaimagendondeubicalos
datosquedeberincorporarelusuario.
29
Imagen21Pantalladeingresodatosgeneralesparaelcalculodeloselementosgeomtricos
encanalesabiertos.
ElreamojadaA(m).
ElpermetromojadoP(m).
ElradiohidrulicoR(m).
ElanchosuperficialT(m).
Elpermetromojado(m).
LaprofundidadhidrulicaD(m).
ElfactordeseccinZ(m).
30
Imagen22Pantalladeresultadosgeneralesporelcalculodeloselementosgeomtricosen
canalesabiertos.
2.3.6Diseodecanalesabiertos
31
32
Imagen23Menparaeldiseodecanalesabiertosdesdelapantallaprincipal.
2.3.6.1Diseodecanalesrevestidosconelmtododelaseccinhidrulicamente
optima
Imagen24Menparaeldiseodecanalesabiertosrevestidosdesdelapantallaprincipal.
ElcaudalQen(m3/s)
Lavelocidaddediseoven(m/s)
sugerido
podr
ser
modificado
si
el
usuario
lo
desea.
Eltalud(z),paraingresarestedatosetienendiezposibilidadesdecanales
construidos en distintos materiales, o excavados en suelos con distintas
topologas,estosdatosseadquirierondeChowV.TyFrench.R.Hasaber:
A) Talud recomendado para canales construidos en roca, en este caso el
programa de manera automticamente asigna el valor correspondiente el
cual es sugerido y podr ser modificado si el usuario lo desea.
B)Taludrecomendadoparacanalesconstruidosensueloorgnico,eneste
caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
C)Taludrecomendadoparacanalesconstruidosensuelodeturba,eneste
caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
D) Talud recomendado para canales construidos en arcilla dura, en este
caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
E) Talud recomendado para canales construidos en tierra dura con
revestimiento en concreto, en este caso el programa de manera
automticamente asigna el valor correspondiente el cual es sugerido y
podr
ser
modificado
si
el
usuario
lo
desea.
desea.
G) Talud recomendado para canales construidos en tierra arenosa suelta,
en este caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
H)Taludrecomendadoparacanalesconstruidosenlimosarenosossueltos,
en este caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
I) Talud recomendado para canales construidos en arcilla porosa, en este
caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
J) Otros materiales, el usuario definir cual es el valor que considere
adecuadoparaeltalud.
Los datos que se ingresan en esta rutina del programa generan el diseo
geomtricosegnelprincipiodelaseccinhidrulicamenteoptima.
36
Imagen25Pantalladeingresodatosgeneralesparaeldiseodecanalesabierosrevestidos
conseccinhidrulicamenteoptima.
ElreamojadaA(m).
Laprofundidaddelflujoy(m).
Labaseb(m).
Labaseb(m).
Labaseb(m).
ElbordelibreF(m).
Laalturasobreelrevestimientol(m).
Volumendeexcavacin((m3/s)/ml)
Volumenderevestimiento(m3/s)
37
Imagen26 Pantalladeresultadosprimariosgeneralesparaeldiseodecanalesrevestidos
conseccinhidrulicamenteoptima.
Alfinalizarestarutinaelprogramaleofrecelaposibilidaddecalcularloscostosdel
canal debido a la excavacin, al transporte y al revestimiento o de salir de la
rutinadeclculos.Paraaccederacadaunadelasopcionessedebedeoprimiro
teclearsobrelasteclasCALCULARCOSTOSDEEXCAVACION,TRANSPORTE
YREVESTIMIENTOoFINALIZARsegnseaelcaso.
38
39
Imagen 27 Pantalla datos para el calculo de los costos por excavacin, transporte y
revestimientoparaeldiseodecanalesrevestidosconseccinhidrulicamenteoptima.
Enlapantalladeclculodecostossetienenlossiguientesresultadosson:
Costodeexcavacinporcadatipodematerialseleccionado($).
Costodetransporteporcadatipodematerialseleccionado($).
Numerodeviajesarealizar(n).
Costototaldelaexcavacin($).
Costototaldeltransporte($).
Numerototaldeviajesarealizar(n).
Costodelrevestimiento($).
Costototaldelproyecto($).
Setienelaopcindeverunasimulacindeuncanaltrapezoidalrevestido,donde
seidealizaeldiseodelcanal.Estasimulacinesanimadayparaaccederaella
sedebededarclicsobreelrecuadrodeimagenqueapareceenlapantalla.
40
Imagen28Pantalladeresultadosdecostosgeneralesparaeldiseodecanalesrevestidos
conseccinhidrulicamenteoptima
2.3.6.2Diseodecanalesnorevestidosconelmtododelasvelocidades
permisibles.
41
Eldiseodecanalesnorevestidosconelmtododelasvelocidadespermisibles
es aplicable de manera exclusiva para canales trapezoidales, el software Open
FlowUnisallerealizaunpredimensionamientodelcanalyrealizaunestudiodelos
costosqueconllevalarealizacindedichaestructura.
Imagen29Menparaeldiseodecanalesabiertosnorevestidosdesdelapantallaprincipal.
ElcoeficientedeManningn,estecoeficientesepuedeseleccionarsegn
el tipo de canal y material. Para seleccionarlo se debe de seleccionar la
solicitacin y el valor del coeficiente de Manning ser cargado
42
ElcaudalQen(m3/s).
LapendienteSo.
Eltalud(z),paraingresarestedatosetienendiezposibilidadesdecanales
construidos en distintos materiales, o excavados en suelos con distintas
topologas,estosdatosseadquirierondeChowV.TyFrench.R.Hasaber:
A) Talud recomendado para canales construidos en roca, en este caso el
programa de manera automticamente asigna el valor correspondiente el
cual es sugerido y podr ser modificado si el usuario lo desea.
B)Taludrecomendadoparacanalesconstruidosensueloorgnico,eneste
caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
C)Taludrecomendadoparacanalesconstruidosensuelodeturba,eneste
caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
D) Talud recomendado para canales construidos en arcilla dura, en este
caso el programa de manera automticamente asigna el valor
correspondienteelcualessugeridoypodrsermodificadosielusuariolo
desea.
E) Talud recomendado para canales construidos en tierra dura con
revestimiento en concreto, en este caso el programa de manera
43
ser
modificado
si
el
usuario
lo
desea.
ParainiciarlosclculossedebedeteclearelbotnREALIZARCLCULOS.
44
Losresultadossedividenentrespantallas,caracterizandoeltipodeflujoparaas
realizar un diseo racional y econmico. En los resultados, inicialmente se
obtienendosposiblessolucionesparalaprofundidaddelflujoy,estassegnel
modelomatemticoehidrulicomismodelmtododelavelocidadpermisible.Los
datosentregadosporelprogramaenestaetapadeldiseoson:
Unaprofundidaddeflujodenominaday1enm.
LacaracterizacindeltipodeflujosegnelNF1elflujopuedeser
subcrtico,criticoospercritico.
Unaprofundidaddeflujodenominaday2enm
LacaracterizacindeltipodeflujosegnelNF2elflujopuedeser
subcrtico,criticoospercritico.
Alescogercualquieropcinelprogramadeterminaraloselementosgeomtricos,
bordelibre,dimensionesgeneralesdelcanalyvolmenesdematerialaremover.
El software genera cuadros de dialogo donde advierte al diseador acerca de la
viabilidaddeldiseo,estosdilogossoninterpretacionesdelosresultadosdelas
ecuacionesbsicasdediseo.
46
47
Imagen33 Pantalladeresultadosgeneraleseneldiseodecanalesabiertosnorevestidos
convelocidadmximapermisible.
48
Imagen34Pantalladeresultadosgeneraleseneldiseodecanalesabiertosnorevestidos
convelocidadmximapermisible.
Alfinalizarestarutinaelprogramaleofrecelaposibilidaddecalcularloscostosdel
canal debido a la excavacin, al transporte y al revestimiento o de salir de la
rutinadeclculos.Paraaccederacadaunadelasopcionessedebedeoprimiro
teclear sobre las teclas CALCULAR COSTOS DE EXCAVACIN Y
TRANSPORTEoFINALIZARsegnseaelcaso.
unitarios.
B) Cantidad de materiales a excavar, se tienen tres posibilidades es decir
sepuedeseleccionarhastatrestiposdematerialparaexcavarsielusuario
desea puede seleccionar uno o dos segn las necesidades propias.
C) Rendimiento de la excavacin segn cada material (m3/hr). .
D) Porcentaje de expansin de cada material (%). .
E)Porcentajedecadamaterialaexcavar(%).
Imagen35Pantalladatosparaelcalculodeloscostosporexcavacinytransporteparael
diseodecanalesnorevestidosconvelocidadpermisible.
50
Enlapantalladeclculodecostossetienenlossiguientesresultadosson:
Costodeexcavacinporcadatipodematerialseleccionado($).
Costodetransporteporcadatipodematerialseleccionado($).
Numerodeviajesarealizar(n).
Costototaldelaexcavacin($).
Costototaldeltransporte($).
Numerototaldeviajesarealizar(n).
Costototaldelproyecto($).
Setienelaopcindeverunasimulacindeuncanaltrapezoidalrevestido,donde
seidealizaeldiseodelcanal.Estasimulacinesanimadayparaaccederaella
sedebededarclicsobreelrecuadrodeimagenqueapareceenlapantalla.
51
2.3.7Laboratoriosdehidrulicadecanales
Geometradelaseccin.
Resaltohidrulico
52
Imagen36MenparalaboratoriosdehidrulicadecanalesenlaUniversidadDeLaSalle.
2.3.7.1Practicadelaboratoriogeometradelaseccin.
La aplicacin correspondiente a la practica de laboratorio GEOMETRA DE LA
SECCION, se compone de tres opciones, en las cuales el usuario accede a los
preliminares de la practica, ingresa los datos experimentales y obtiene los
resultadosconsusrespectivasgraficas.
53
Laspantallasquecomponenestaaplicacinson:
Ingresardatos
Resultados
54
Imagen38Pantalladeintroduccinparaellaboratorio GEOMETRADELASECCION .
Introduccindedatos
55
OpenFlowUnisalle.
56
Imagen40Pantalla deentradadedatosconopcionesdedatos.
57
Imagen41Pantallaparaentradadelecturasdeniveles.
En esta parte podemos ver los espacios para el ingreso de los niveles de agua
tomados en la practica. Estos datos se deben ingresarsen en milmetros (mm) y
conunacantidadde10datosporpractica.
58
Imagen42Pantallaparaelingresodelosdatosdeaforodecaudal.
Pesodelbaldeorecipienteconqueserealiceelaforo.
Pesodelconjunto,equivalentealpesodelbalde+elfluido.
Tiempoenelcualsellenaelbaldeorecipiente.
59
Imagen43Pantallacondatosingresados.
Enestapantallasev,latotalidaddedatosingresadosylistosparasercalculados
dandoclicenelbotncalcular.
60
Imagen44Pantalladeresultadosprimarios.
Enestaprimerapantalladeresultadosnosarrojaloselementosgeomtricosdela
seccintrabajada.Paracontinuar,darclicsobrecontinuar
61
Imagen45Pantalladeresultadossecundarios.
Enestasegundapantalladeresultados,obtenemosloselementoshidrulicosde
la seccin trabajada, dando como resultadoel caudal(Q),expresado en (m3/s) y
en(l/s).
62
Imagen46Pantalladeresultadosfinales.
Acobtenemoslosresultadosfinalescomoloson:
Caudal.
Caudalunitario.
Profundidadcritica.
Energaespecifica.
Adems de los datos para realizar las graficas de energa especifica y fuerza
especifica.
Dando clic sobre los botones de graficas se obtienen dichas graficas, como se
puedeverenlassiguientespantallas.
63
Imagen47Graficadelaenergaespecifica.
EstagraficaestaelaboradabajoExcelysetienevariosdetallescomosepueden
observar.
64
Imagen48Graficadelafuerzaespecifica.
LapresentegraficaseelaboroenExcelycondatosrepresentativos.
65
Imagen49Ingresoalmen" ecuacionesusadas"
De esta manera se puede ingresar para visualizar las diferentes ecuaciones que
seutilizaroneneldesarrollodellaboratorio.
66
Imagen50Pantalladeecuaciones.
Allseaprecianlasecuacionesusadasparaeldesarrollodellaboratorio.
Yenelmenseencuentranlasopcionesdeimpresinysedeseanusar.
2.3.7.2PracticadelaboratorioResaltoHidrulico.
Lapresentepracticadelaboratorioconstadecuatrosubmens.
Introduccin.
Realizarclculos.
Imgenes.
Ecuacionesusadas.
67
Imagen51Pantalladeintroduccin.
Estapantallavisualizalosobjetivosyeldesarrollodelapractica.
68
Imagen52Ingresoparalarealizacindelosclculos.
69
Imagen53Pantalladeentrada.
Enestapantallasetienenlasopcionesparaingresarlosdatosde:
Anchodelcanal.
Temperatura
Pesodelbalde.
Pesodelconjunto.
Tiempo.
Paraelingresodelosdatossedebendarclicenlaslecturas.
70
Imagen54Ingresodedatos.
Luegodehaberdadoclicsobrelaslecturas,seactivanlascasillasdeingresode
datos.Paraestelaboratoriosenecesitandiezdatos.
Ingresardiezlecturasparalosniveles.
Ingresarcuatroaforosparaelcaudal.
Eltiemponopuedesemenoroigualacero.
Elpesodelbaldenopuedeserigualosuperioraldelconjunto.
71
Imagen55Puestadedatos.
Luegodelaintroduccindelosdatos,sedebehacerclicenelbotncalcular.
72
Enestapantallaseaprecianlosresultadosinicialesdelaprcticaloscualesson:
Pesodelagua(grs)
Tiempo(s)
Volumen(m3)
Caudalparacadaaforo(m3/s)
Caudalparacadaaforo(lts)
Caudalpromediopararealizarlaprctica(m3/s)
Caudalpromediopararealizarlaprctica(lts)
Paracontinuar,sedebehacerclicenelbotncalcular.
73
Imagen57Pantalladeresultadosdelapracticadelaboratorio,resultadosdelapracticas.
Enestapantallaseaprecianlosresultadosdelaprcticaloscualesson:
Energaespecificaparacadalectura(m).
NumerodeFroude.
CaracterizacindelflujosegnelnmerodeFroude.
Profundidady2(m)
Perdidadeenerga(m))
Potenciadisipada(watts)
Caudalpromediopararealizarlaprctica(m3/s)
Caudalpromediopararealizarlaprctica(lts)
Caudalunitariopararealizarlaprctica(m3/s)
Basedelcanal(m)
Paracontinuar,sedebehacerclicenelbotncalcular.
74
Imagen58Pantalladeresultadosdelapracticadelaboratorio,resultadosdelapracticas
Enestapantallaseaprecianlosresultadosfinales delaprcticaloscualesson:
Profundidady0(m)
Profundidady1(m)
Profundidady2(m)
Fuerzaespecificafe0(m).
Fuerzaespecificafe1(m).
Fuerzadevolcamientosobrelaestructura(N).
Paracontinuar,sedebehacerclicenelbotncalcular.
75
Imagen59Pantalladeresultadosdelapracticadelaboratorio,errordelapracticadebidoal
desarrollodelapractica.
Enestapantallaseaprecianlosresultadosfinalesyelcalculodeerrorquese
presentaenlaprctica,estosdatosson:
Profundidady0practica(m).
Profundidady1practica(m).
Profundidady2practica(m).
Profundidady1terica(m).
Profundidady2errorenelcalculo(%).
Profundidady1errorenelcalculo(%).
Profundidady2errorenelcalculo(%).
Errorpromedioenlapractica(%).
Paracontinuar,sedebehacerclicenelbotnvolveradeestaformasellegaaal
pantalladeresultadosytecleamoselbotngraficas.
76
Imagen60Pantalladeresultadosdelapracticadelaboratorio,graficasdeenergaespecifica
paradadadato.
Recomendacin.
SelerecomiendaalusuariodenoguardarcambiosalfinalizarExcel.
77
Imagen61Pantalladeresultadosdelapracticadelaboratorio,graficasdefuerzaespecifica
paradadadato.
Enestapaginasepuedeobservarlasdiferentesgraficasdefuerzaespecificapara
cadadato.
Recomendacin.
SelerecomiendaalusuariodenoguardarcambiosalfinalizarExcel.
78
Imagen62Pantalladeimagendelaboratorio.
79
Imagen63Imgenesdelasaplicacionesdelresaltohidrulico.
80
Imagen64Pantallaprincipal
Enestapantallaseindicalaformadeentraravisualizarlasecuacionesusadasen
eldesarrollodellaboratorio.
81
Imagen65pantalladeresultados.
Enlapresentepantallasevenlasecuacionesqueseutilizaronparaeldesarrollo
dellaboratorio.
2.3.8CRITERIOSDEDISEO
El presente software, cuenta con una serie de compilados relacionados con el
diseodecanalesabiertos,loscualessonfundamentalestenerlosencuentaala
horadedisearuncanal.
82
Imagen66Ingresoacriteriosdediseo.
Enestapantallavemoslaformadeingresarporelmenprincipalaloscriteriosde
diseo.
83
Imagen67Submen" criteriosdediseo"
84
Imagen68Men" diseodecanales"
Dando clic sobre cualquier botn que se mira en este men, se vera la base de
datoscorrespondienteasueleccin.
2.3.9.ANIMACIONES
OpenFlowUnisalle,pensqueparaunamejorcomprensindelosejerciciosolos
diseos, es la visualizacin del mismo, por lo cual realizo una serie de
animacionesen3D,conelfinderealizarmejoresdiseosalllevaraldiseadora
tenerunaconcepcinmejordelproyecto.
85
Imagen69Ingresoalasanimaciones.
86
Imagen70Accesoalaanimacin.
87
Imagen71Pantalladevisualizaciondelaanimacion.
2.3.10EJERCICIOSDEAPLICACIN.
Losejerciciosdeaplicacinsonfundamentalparaelaprendizajedelestudianteo
profesional que manipule el software, puesto que se genera una interactividad
entreelsoftwareyelusuario.
Estepartedelsoftwarecuantacontresejemplosinteractivos.
Profundidadesalternas.
Profundidadescriticas
Resaltohidrulico.
88
Imagen72Ingresoalosejerciciosdeaplicacindesdelapantallapreincipal
.
Entrandoporelmenprincipalseveelmenejerciciosdeaplicacinyluegoen
lossubmenscorrespondientesseleccionareltipodeproblema.
89