|
16 | 16 | # |
17 | 17 | # If you are only interested in a subset of combinations, remove the respective lines. |
18 | 18 |
|
| 19 | +WATCHPOINTS_DIR="./reference-results/watchpoints/" |
| 20 | + |
| 21 | +gnuplot -p << EOF |
| 22 | + set grid |
| 23 | + set title 'x-displacement of the flap tip (selected combinations)' |
| 24 | + set xlabel 'time [s]' |
| 25 | + set ylabel 'x-displacement [m]' |
| 26 | + set term pngcairo enhanced size 900,654 |
| 27 | + set output "images/tutorials-perpendicular-flap-displacement-selected-watchpoints.png" |
| 28 | + plot "${WATCHPOINTS_DIR}/openfoam-calculix-v2404.log" using 1:4 with lines title "OpenFOAM-CalculiX", \ |
| 29 | + "${WATCHPOINTS_DIR}/openfoam-dealii-v2404.log" using 1:4 with lines title "OpenFOAM-deal.II", \ |
| 30 | + "${WATCHPOINTS_DIR}/openfoam-fenics-v2404.log" using 1:4 with lines title "OpenFOAM-FEniCS", \ |
| 31 | + "${WATCHPOINTS_DIR}/su2-calculix-v2404.log" using 1:4 with lines title "SU2-CalculiX", \ |
| 32 | + "${WATCHPOINTS_DIR}/su2-dealii-v2404.log" using 1:4 with lines title "SU2-deal.II", \ |
| 33 | + "${WATCHPOINTS_DIR}/su2-fenics-v2404.log" using 1:4 with lines title "SU2-FEniCS", \ |
| 34 | + "${WATCHPOINTS_DIR}/nutils-calculix-v2404.log" using 1:4 with lines title "Nutils-CalculiX", \ |
| 35 | + "${WATCHPOINTS_DIR}/nutils-dealii-v2404.log" using 1:4 with lines title "Nutils-deal.II" |
| 36 | +EOF |
| 37 | + |
| 38 | +gnuplot -p << EOF |
| 39 | + set grid |
| 40 | + set title 'x-displacement of the flap tip (comparison of flow solvers)' |
| 41 | + set xlabel 'time [s]' |
| 42 | + set ylabel 'x-displacement [m]' |
| 43 | + set term pngcairo enhanced size 900,654 |
| 44 | + set output "images/tutorials-perpendicular-flap-displacement-flow-comparison-watchpoints.png" |
| 45 | + plot "${WATCHPOINTS_DIR}/openfoam-calculix-v2404.log" using 1:4 with lines title "OpenFOAM-CalculiX", \ |
| 46 | + "${WATCHPOINTS_DIR}/su2-calculix-v2404.log" using 1:4 with lines title "SU2-CalculiX", \ |
| 47 | + "${WATCHPOINTS_DIR}/nutils-calculix-v2404.log" using 1:4 with lines title "Nutils-CalculiX", \ |
| 48 | + "${WATCHPOINTS_DIR}/fake-calculix-v2404.log" using 1:4 with lines title "fake-CalculiX" |
| 49 | +EOF |
| 50 | + |
| 51 | +gnuplot -p << EOF |
| 52 | + set grid |
| 53 | + set title 'x-displacement of the flap tip (incompressible flow with OpenFOAM)' |
| 54 | + set xlabel 'time [s]' |
| 55 | + set ylabel 'x-displacement [m]' |
| 56 | + set term pngcairo enhanced size 900,654 |
| 57 | + set output "images/tutorials-perpendicular-flap-displacement-openfoam-watchpoints.png" |
| 58 | + plot "${WATCHPOINTS_DIR}/openfoam-calculix-v2404.log" using 1:4 with lines title "OpenFOAM-CalculiX", \ |
| 59 | + "${WATCHPOINTS_DIR}/openfoam-dealii-v2404.log" using 1:4 with lines title "OpenFOAM-deal.II", \ |
| 60 | + "${WATCHPOINTS_DIR}/openfoam-dune-v2404.log" using 1:4 with lines title "OpenFOAM-DUNE", \ |
| 61 | + "${WATCHPOINTS_DIR}/openfoam-fenics-v2404.log" using 1:4 with lines title "OpenFOAM-FEniCS", \ |
| 62 | + "${WATCHPOINTS_DIR}/openfoam-nutils-v2404.log" using 1:4 with lines title "OpenFOAM-Nutils", \ |
| 63 | + "${WATCHPOINTS_DIR}/openfoam-solids4foam-v2404.log" using 1:4 with lines title "OpenFOAM-solids4Foam" |
| 64 | +EOF |
| 65 | + |
| 66 | +gnuplot -p << EOF |
| 67 | + set grid |
| 68 | + set title 'x-displacement of the flap tip (compressible flow with SU2)' |
| 69 | + set xlabel 'time [s]' |
| 70 | + set ylabel 'x-displacement [m]' |
| 71 | + set term pngcairo enhanced size 900,654 |
| 72 | + set output "images/tutorials-perpendicular-flap-displacement-su2-watchpoints.png" |
| 73 | + plot "${WATCHPOINTS_DIR}/su2-calculix-v2404.log" using 1:4 with lines title "SU2-CalculiX", \ |
| 74 | + "${WATCHPOINTS_DIR}/su2-dealii-v2404.log" using 1:4 with lines title "SU2-deal.II", \ |
| 75 | + "${WATCHPOINTS_DIR}/su2-dune-v2404.log" using 1:4 with lines title "SU2-DUNE", \ |
| 76 | + "${WATCHPOINTS_DIR}/su2-fenics-v2404.log" using 1:4 with lines title "SU2-FEniCS", \ |
| 77 | + "${WATCHPOINTS_DIR}/su2-nutils-v2404.log" using 1:4 with lines title "SU2-nutils", \ |
| 78 | + "${WATCHPOINTS_DIR}/su2-solids4foam-v2404.log" using 1:4 with lines title "SU2-solids4Foam" |
| 79 | +EOF |
| 80 | + |
| 81 | +gnuplot -p << EOF |
| 82 | + set grid |
| 83 | + set title 'x-displacement of the flap tip (incompressible flow with Nutils)' |
| 84 | + set xlabel 'time [s]' |
| 85 | + set ylabel 'x-displacement [m]' |
| 86 | + set term pngcairo enhanced size 900,654 |
| 87 | + set output "images/tutorials-perpendicular-flap-displacement-nutils-watchpoints.png" |
| 88 | + plot "${WATCHPOINTS_DIR}/nutils-calculix-v2404.log" using 1:4 with lines title "Nutils-CalculiX", \ |
| 89 | + "${WATCHPOINTS_DIR}/nutils-dealii-v2404.log" using 1:4 with lines title "Nutils-deal.II", \ |
| 90 | + "${WATCHPOINTS_DIR}/nutils-dune-v2404.log" using 1:4 with lines title "Nutils-DUNE", \ |
| 91 | + "${WATCHPOINTS_DIR}/nutils-fenics-v2404.log" using 1:4 with lines title "Nutils-FEniCS", \ |
| 92 | + "${WATCHPOINTS_DIR}/nutils-nutils-v2404.log" using 1:4 with lines title "Nutils-Nutils", \ |
| 93 | + "${WATCHPOINTS_DIR}/nutils-solids4foam-v2404.log" using 1:4 with lines title "Nutils-solids4Foam" |
| 94 | +EOF |
| 95 | + |
19 | 96 | gnuplot -p << EOF |
20 | 97 | set grid |
21 | | - set title 'x-displacement of the flap tip' |
| 98 | + set title 'x-displacement of the flap tip (dummy force data with fluid-fake)' |
22 | 99 | set xlabel 'time [s]' |
23 | 100 | set ylabel 'x-displacement [m]' |
24 | 101 | set term pngcairo enhanced size 900,654 |
25 | | - set output "images/tutorials-perpendicular-flap-displacement-all-watchpoints.png" |
26 | | - plot "watchpoints/openfoam-calculix.log" using 1:4 with lines title "OpenFOAM-CalculiX", \ |
27 | | - "watchpoints/openfoam-dealii.log" using 1:4 with lines title "OpenFOAM-deal.II", \ |
28 | | - "watchpoints/openfoam-fenics.log" using 1:4 with lines title "OpenFOAM-FEniCS", \ |
29 | | - "watchpoints/openfoam-dune.log" using 1:4 with lines title "OpenFOAM-DUNE", \ |
30 | | - "watchpoints/openfoam-openfoam.log" using 1:4 with lines title "OpenFOAM-OpenFOAM", \ |
31 | | - "watchpoints/openfoam-solids4foam.log" using 1:4 with lines title "OpenFOAM-solids4Foam", \ |
32 | | - "watchpoints/openfoam-nutils.log" using 1:4 with lines title "OpenFOAM-Nutils", \ |
33 | | - "watchpoints/su2-calculix.log" using 1:4 with lines title "SU2-CalculiX", \ |
34 | | - "watchpoints/su2-dealii.log" using 1:4 with lines title "SU2-deal.II", \ |
35 | | - "watchpoints/su2-fenics.log" using 1:4 with lines title "SU2-FEniCS", \ |
36 | | - "watchpoints/su2-dune.log" using 1:4 with lines title "SU2-DUNE", \ |
37 | | - "watchpoints/su2-openfoam.log" using 1:4 with lines title "SU2-OpenFOAM", \ |
38 | | - "watchpoints/su2-solids4foam.log" using 1:4 with lines title "SU2-solids4Foam", \ |
39 | | - "watchpoints/su2-nutils.log" using 1:4 with lines title "SU2-nutils", \ |
40 | | - "watchpoints/nutils-calculix.log" using 1:4 with lines title "Nutils-CalculiX", \ |
41 | | - "watchpoints/nutils-dealii.log" using 1:4 with lines title "Nutils-deal.II", \ |
42 | | - "watchpoints/nutils-fenics.log" using 1:4 with lines title "Nutils-FEniCS", \ |
43 | | - "watchpoints/nutils-dune.log" using 1:4 with lines title "Nutils-DUNE", \ |
44 | | - "watchpoints/nutils-openfoam.log" using 1:4 with lines title "Nutils-OpenFOAM", \ |
45 | | - "watchpoints/nutils-solids4foam.log" using 1:4 with lines title "Nutils-solids4Foam", \ |
46 | | - "watchpoints/nutils-nutils.log" using 1:4 with lines title "Nutils-Nutils" |
| 102 | + set output "images/tutorials-perpendicular-flap-displacement-fake-watchpoints.png" |
| 103 | + plot "${WATCHPOINTS_DIR}/fake-calculix-v2404.log" using 1:4 with lines title "fake-CalculiX", \ |
| 104 | + "${WATCHPOINTS_DIR}/fake-dealii-v2404.log" using 1:4 with lines title "fake-deal.II", \ |
| 105 | + "${WATCHPOINTS_DIR}/fake-dune-v2404.log" using 1:4 with lines title "fake-DUNE", \ |
| 106 | + "${WATCHPOINTS_DIR}/fake-fenics-v2404.log" using 1:4 with lines title "fake-FEniCS", \ |
| 107 | + "${WATCHPOINTS_DIR}/fake-nutils-v2404.log" using 1:4 with lines title "fake-Nutils", \ |
| 108 | + "${WATCHPOINTS_DIR}/fake-solids4foam-v2404.log" using 1:4 with lines title "fake-solids4Foam" |
47 | 109 | EOF |
0 commit comments