iccsa-20-wind

Virtual Testbed: Simulation of Air Flow Around Ship Hull and Its Effect on Ship Motions
git clone https://git.igankevich.com/iccsa-20-wind.git
Log | Files | Refs

cylinder.gnuplot (818B)


      1 set terminal svg dynamic size 1080/5, 1080/5 round enhanced font 'Liberation Sans, 10'
      2 #set key outside top center
      3 unset key
      4 set xtics -50,25,50 out nomirror offset 0,0.5
      5 set ytics -50,25,50 out nomirror offset 0.5,0
      6 set xrange [-52:52]
      7 set yrange [-52:52]
      8 set border 1+2
      9 set size square
     10 set size ratio -1
     11 load 'gnuplot/rdbu.pal'
     12 set cbrange [0:100]
     13 set xlabel 'x, m' offset 0,1
     14 set ylabel 'y, m' offset 1,0
     15 set cblabel 'Velocity, m/s' offset -1,0
     16 s = 0.05
     17 set object 1 circle front at 0,0 size 54.8858/2 fillcolor rgb "black" lw 0.5
     18 set output "build/gnuplot/cylinder-1.svg"
     19 plot 'gnuplot/wind.orig' using 1:2:($3*s):($4*s):(sqrt($3**2+$4**2)) with vectors lw 0.1 lc palette
     20 set output "build/gnuplot/cylinder-2.svg"
     21 plot 'gnuplot/wind.our' using 1:2:($3*s):($4*s):(sqrt($3**2+$4**2)) with vectors lw 0.1 lc palette
     22