Files
Henry Weller b6b146058d test: New directory for model tests and validation
The initial set of cases in the test directory are aimed at testing the
reactingEulerFoam populationBalance functionality.

Patch contributed by Institute of Fluid Dynamics, Helmholtz-Zentrum
Dresden - Rossendorf (HZDR) and VTT Technical Research Centre of Finland Ltd.
Integrated with the "tutorials" functionality by CFD Direct Ltd.
2018-03-22 16:42:11 +00:00

28 lines
751 B
Gnuplot
Executable File

#!/usr/bin/gnuplot
set terminal postscript eps monochrome
set output "numberDensity.eps"
set decimalsign "."
set format xy '%g'
set xtics 1e1 mirror
set xlabel 'v(m^{3})'
set ytics 1e1 mirror
set ylabel 'n(m^{-3}m^{-3})'
set logscale xy
set xrange [1e-5:1.5]
set yrange [1e-5:10]
set key center
N0 = 0.05
v0 = 1.0
n(x,t) = N0*exp(-t*x**2.0)*2.0*t*v0
plot "<printf '1 0.05\n1 0\n'" w l t "Init. Cond.",\
n(x,10.0) ls 2 lc rgb "black" t "Ziff and McGrady (1985)",\
'box.all.numberDensity.volume.bubbles.transposed.dat' every ::0::19 u 1:2 w p pt 1 t 'air1',\
'box.all.numberDensity.volume.bubbles.transposed.dat' every ::20::24 u 1:2 w p pt 5 t 'air2',\
'box.all.numberDensity.volume.bubbles.transposed.dat' every ::25::28 u 1:2 w p pt 9 t 'air3'