user's manual for corhyd: an internal diffuser hydraulics model - IfH
user's manual for corhyd: an internal diffuser hydraulics model - IfH
user's manual for corhyd: an internal diffuser hydraulics model - IfH
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Table 4: CorHyd subroutines <strong>an</strong>d their purpose<br />
in progress, still to be finished<br />
1. Simple Setup, one <strong>diffuser</strong> only<br />
add_local_losses.m<br />
GUI <strong>for</strong> additional local losses (if the user likes to put input<br />
more losses on a port or riser th<strong>an</strong> the ones applied in the<br />
code)<br />
barchart.m prints the results into a bar chart output<br />
bend.m<br />
calculates the <strong>an</strong>gles of pipe bends having the node function<br />
calculations.m<br />
locations (x,y,z)<br />
calculates diameters <strong>an</strong>d areas, length <strong>an</strong>d slope of the<br />
<strong>diffuser</strong>/feeder Section, the static external heads outside<br />
of the ports from input data<br />
input <strong>an</strong>d some<br />
preparatory<br />
calculations<br />
check_length.m checks if the input is possible input check<br />
choose system GUI input<br />
clearVar.m clears all variables function<br />
clogged_ports.m<br />
checks <strong>an</strong>d sorts the ports which the user marked to be<br />
clogged. These ports have no discharge in the calculation<br />
<strong>an</strong>d should not be considered<br />
function<br />
commonData.m reads in common data <strong>an</strong>d starts calculations.m input<br />
commonfeederpipe.m calculates velocities <strong>an</strong>d losses in the feeder pipe (no function<br />
ports or risers attached)<br />
create_boxes_<strong>diffuser</strong>.m creates additional input boxes <strong>for</strong> the complex system input<br />
create_boxes_ports.m creates additional input boxes <strong>for</strong> the complex system input<br />
darcy.m calculates λ the friction coefficient function<br />
deviation_Thead.m calculates the deviation of the total head <strong>for</strong> the system output function<br />
<strong>diffuser</strong>losses.m calculates the loss coefficients ζ <strong>for</strong> the <strong>diffuser</strong> function<br />
duckbill.m calculates losses ζ <strong>for</strong> duckbill valves function<br />
feeder_pipes.m calculates the pressure along the feeder pipe general function<br />
firstport.m<br />
calculates the coordinates of first port of group <strong>an</strong>d starts function<br />
riser_location.m<br />
firstuncloggedport.m locates the clogged ports <strong>an</strong>d puts zero discharge on them function<br />
Froude.m<br />
calculates the port densimetric Froude number, necessary function<br />
<strong>for</strong> further <strong>diffuser</strong> <strong>an</strong>alysis, like purging<br />
idh.m main program start<br />
idh_txt.m main program without GUI but with txt input start txt<br />
jetlosses.m calculates the loss coefficients ζ <strong>for</strong> the ports function<br />
lastcommon.m calculates parameter at last common coordinate function<br />
local_losses.m calculates <strong>an</strong>d summarizes the local losses function<br />
losses.m GUI <strong>for</strong> additional local losses input<br />
losses_common_feeder.m calculates the pressure in common feeder pipes function<br />
plot_losses.m plots the energy grade line <strong>an</strong>d the hydraulic grade line output<br />
pressure_riser.m<br />
main function <strong>for</strong> calculating the pressures <strong>an</strong>d discharges main function<br />
along the <strong>diffuser</strong><br />
readvariables.m reads in the variables input<br />
report.m creates the text output file output<br />
riser_location.m<br />
calculates the locations of the riser using the x,y,z input<br />
of the nodes<br />
riserlosses.m calculates the losses ζ in a riser function<br />
run.m starts the different calculations start after GUI<br />
sedimentation.m<br />
calculates a criteria <strong>for</strong> start of sedimentation in the function<br />
<strong>diffuser</strong><br />
show_setup.m displays the <strong>diffuser</strong> setup in a graph output<br />
totalhead.m<br />
calculates the maximum total discharge <strong>for</strong> a given starts the iteration<br />
maximum total head<br />
with given total<br />
Institut für Hydromech<strong>an</strong>ik, Universität Karlsruhe 34