Torques are located in directory postProcessing/$region according to forces function object setup in system/forces.fun. Simple script torques.gp can plot the torques during the computation:
set grid
set xlabel "iterations"
set ylabel "torque [N.m]"
set key box above
set yrange [-10:5]
plot "< cat ./postProcessing/rotor/forcesBlade/0/forces.dat | grep -v '#' | sed 's/[(,)]/ /g' | awk '{print $11}' " with lines title "torque from pressure - x", \
"< cat ./postProcessing/rotor/forcesBlade/0/forces.dat | grep -v '#' | sed 's/[(,)]/ /g' | awk '{print $12}' " with lines title "torque from pressure - y", \
"< cat ./postProcessing/rotor/forcesBlade/0/forces.dat | grep -v '#' | sed 's/[(,)]/ /g' | awk '{print $13}' " with lines title "torque from pressure - z", \
"< cat ./postProcessing/rotor/forcesBlade/0/forces.dat | grep -v '#' | sed 's/[(,)]/ /g' | awk '{print $14}' " with lines title "torque from viscous - x", \
"< cat ./postProcessing/rotor/forcesBlade/0/forces.dat | grep -v '#' | sed 's/[(,)]/ /g' | awk '{print $15}' " with lines title "torque from viscous - y", \
"< cat ./postProcessing/rotor/forcesBlade/0/forces.dat | grep -v '#' | sed 's/[(,)]/ /g' | awk '{print $16}' " with lines title "torque from viscous - z"
pause 10
reread
Run the script:
# gnuplot torques.gp
Figure: Water turbine CFD, torques monitoring plot example.