This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/FSI/fsiFoam/beamInCrossFlow/fluid/gpForce

15 lines
386 B
Text
Executable file

set terminal postscript enhanced color solid
set output "force.ps"
set xlabel "Time, t [s]"
set ylabel "Fx [N]"
set y2label "Fy [N]"
set grid
set y2tics
plot [0.1:] "< sed s/[\\(\\)]//g ./forces/0/forces.dat" using 1:($2+$5) axis x1y1 title "Fx" with lines, \
"< sed s/[\\(\\)]//g ./forces/0/forces.dat" using 1:($3+$6) axis x1y2 title "Fy" with lines
#set output
#set terminal x11