mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
TUT: Updated Allrun scripts for tests. Fixes #710
This commit is contained in:
@ -29,20 +29,23 @@ run resolved
|
||||
# Run with the plenum modelled by a boundary condition
|
||||
run modelled
|
||||
|
||||
# Plot a comparison of the pressure in the neck
|
||||
cat << EOF | gnuplot -persist
|
||||
if ! isTest $@
|
||||
then
|
||||
# Plot a comparison of the pressure in the neck
|
||||
cat << EOF | gnuplot -persist
|
||||
|
||||
set terminal postscript eps size 5,4 enhanced color
|
||||
set terminal postscript eps size 5,4 enhanced color
|
||||
|
||||
set xlabel "Time (s)"
|
||||
set ylabel "Guage pressure in the neck (Pa)"
|
||||
set xlabel "Time (s)"
|
||||
set ylabel "Guage pressure in the neck (Pa)"
|
||||
|
||||
set output "pressure.eps"
|
||||
set output "pressure.eps"
|
||||
|
||||
plot \
|
||||
"resolved/postProcessing/probes/0/p" us 1:(\$4-1e5) t "Resolved Plenum" w l, \
|
||||
"modelled/postProcessing/probes/0/p" us 1:(\$4-1e5) t "Modelled Plenum" w l
|
||||
plot \
|
||||
"resolved/postProcessing/probes/0/p" us 1:(\$4-1e5) t "Resolved Plenum" w l, \
|
||||
"modelled/postProcessing/probes/0/p" us 1:(\$4-1e5) t "Modelled Plenum" w l
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user