22.01.2014 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.4 System processing sequence <strong>an</strong>d structure of simulation<br />

elements<br />

For easier underst<strong>an</strong>ding of the code as well as to reduce the number of repeated lines, the<br />

program consists of several short subprograms. The main program that reads in the data <strong>an</strong>d<br />

calls the subprograms <strong>for</strong> calculations is called IDH (Internal Diffuser Hydraulics). For easy<br />

input <strong>an</strong>d clarity purposes, the program has a graphical user interface (GUI). Fig. 14 shows<br />

the processing sequence <strong>an</strong>d structure of the code elements, which are furthermore explained<br />

in detail in Table 4. There is a first division in single <strong>an</strong>d multiple <strong>diffuser</strong>s, th<strong>an</strong> a second<br />

division in <strong>diffuser</strong> with <strong>an</strong>d without riser <strong>an</strong>d a third division depending on the parameter to<br />

solve <strong>for</strong> (total head or total discharge <strong>an</strong>d individual discharges).<br />

IDH<br />

complex_setup<br />

clogged_ports<br />

create_boxes_<strong>diffuser</strong><br />

create_boxes_ports<br />

add_local_losses<br />

run<br />

run_complex<br />

calculation<br />

Loc_losses.mat<br />

C_array.mat<br />

firstPort<br />

bend<br />

pressure_no_riser<br />

duckbill<br />

JetLosses<br />

pressure_riser<br />

JetLosses<br />

RiserLosses<br />

Loc_losses.mat<br />

C_array.mat<br />

DiffuserLosses<br />

DiffuserLosses<br />

feeder_pipes<br />

Froude<br />

TotalHead_no_riser<br />

duckbill<br />

JetLosses<br />

feeder_pipes<br />

TotalHead<br />

JetLosses<br />

DiffuserLosses<br />

RiserLosses<br />

barchart<br />

DiffuserLosses<br />

plot_losses<br />

Froude<br />

report.txt<br />

barchart<br />

show_setup<br />

plot_losses<br />

report.txt<br />

in progress<br />

show_setup<br />

Fig. 14: CorHyd org<strong>an</strong>igram <strong>for</strong> the algorithm<br />

Institut für Hydromech<strong>an</strong>ik, Universität Karlsruhe 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!