2 2

Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation   Contents   Index

Running Simulation - Convergence Monitoring - Head

head can be followed during the simulation. Head is plot by efficiency function object (configured in system/efficiency.fun). Simple script head.gp can plot the head during computation:

 

set grid
set xlabel "iterations"
set ylabel "Head [m]"
set key box above
set yrange [10.:20.]

plot "< cat ./log | grep 'head = ' | awk '{print $3}' " with lines title "Head [ m ]"
     
pause 10
reread

Run the script:

# gnuplot head.gp

openfoam example head water turbine

Figure: Water turbine CFD, head monitoring plot example.