iccsa-20-waves

git clone https://git.igankevich.com/iccsa-20-waves.git
Log | Files | Refs

commit 129d8388be272ff8bc6b5afa8dc8afdd2173270f
parent 4bbe273fe6d4a9e477a3391d74f7f7d7860a27f3
Author: Ivan Gankevich <i.gankevich@spbu.ru>
Date:   Sat, 27 Jun 2020 00:35:07 +0300

Slides.

Diffstat:
.gitignore | 1+
Makefile | 34+++++++++++++++++++++++++++++++---
gnuplot/aurora-non-bare.gnuplot | 29+++++++++++++++++++++++++++++
gnuplot/ships.gnuplot | 48++++++++++++++++++++++++++++++++++++++++++++++++
gnuplot/surface-with-ship-3d.gnuplot | 44++++++++++++++++++++++++++++++++++++++++++++
gnuplot/surface-with-ship.gnuplot | 42++++++++++++++++++++++++++++++++++++++++++
inkscape/diffraction.svg | 611+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
slides.tex | 264++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
8 files changed, 1060 insertions(+), 13 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,4 +1,5 @@ /build +CoA_Medium.eps # Created by https://www.gitignore.io/api/vim,linux,latex # Edit at https://www.gitignore.io/?templates=vim,linux,latex diff --git a/Makefile b/Makefile @@ -9,10 +9,11 @@ FLAGS = \ -shell-escape NAME = iccsa-20-waves -SLIDES = iccsa-20-waves-slides +SLIDES = slides all: build/$(NAME).pdf all: build/$(SLIDES).pdf +all: build/287-Gankevich-Ocean-wave-reflection.pdf build/$(NAME).pdf: build/gnuplot/openmp.svg build/$(NAME).pdf: build/gnuplot/surface.eps @@ -25,10 +26,24 @@ build/$(NAME).pdf: @echo " LATEX $<" @-$(LATEXMK) $(FLAGS) -f main.tex +build/$(SLIDES).pdf: build/gnuplot/openmp.svg +build/$(SLIDES).pdf: build/gnuplot/aurora.eps +build/$(SLIDES).pdf: build/gnuplot/aurora-non-bare.eps +build/$(SLIDES).pdf: build/gnuplot/diogen.eps +build/$(SLIDES).pdf: build/gnuplot/micw.eps +build/$(SLIDES).pdf: build/gnuplot/surface-with-ship.eps +build/$(SLIDES).pdf: build/gnuplot/surface-with-ship-3d.eps +build/$(SLIDES).pdf: build/ships/aurora.eps +build/$(SLIDES).pdf: build/ships/diogen.eps +build/$(SLIDES).pdf: build/ships/micw.eps +build/$(SLIDES).pdf: build/inkscape/diffraction.eps build/$(SLIDES).pdf: slides.tex @echo " LATEX $<" @-$(LATEXMK) $(FLAGS) -xelatex -f $< +build/287-Gankevich-Ocean-wave-reflection.pdf: build/slides.pdf + cp $< $@ + build/%.eps: build/%.svg inkscape -z --export-eps=$@ $< @@ -36,6 +51,14 @@ build/gnuplot/%.svg: gnuplot/%.gnuplot @mkdir -p build/gnuplot gnuplot -d $< +build/inkscape/%.eps: inkscape/%.svg + @mkdir -p build/inkscape + inkscape -z --export-eps=$@ $< + +build/gnuplot/diogen.svg build/gnuplot/aurora.svg build/gnuplot/micw.svg: ships/diogen.gnuplot gnuplot/ships.gnuplot + @mkdir -p build/gnuplot + gnuplot -d -c gnuplot/ships.gnuplot $< + build/ships/diogen.svg: ships/diogen.gnuplot gnuplot/vessel.gnuplot @mkdir -p build/ships gnuplot -d -c gnuplot/vessel.gnuplot $< $@ Diogen @@ -48,11 +71,16 @@ build/ships/micw.svg: ships/micw.gnuplot gnuplot/vessel.gnuplot @mkdir -p build/ships gnuplot -d -c gnuplot/vessel.gnuplot $< $@ MICW +build/main.zip: build/gnuplot/*.eps build/ships/*eps main.tex + @mkdir -p build + zip --filesync build/main.zip $^ + +zip: build/main.zip + build: @mkdir -p build clean: @rm -rf build -.PHONY: build clean - +.PHONY: build clean zip diff --git a/gnuplot/aurora-non-bare.gnuplot b/gnuplot/aurora-non-bare.gnuplot @@ -0,0 +1,29 @@ +set terminal svg size 1920/4,1080/4 dynamic +set hidden3d back offset 0 trianglepattern 3 undefined 1 altdiagonal bentover +set view equal xyz +set view ,,4 +#set object 1 rectangle from screen -0.1,-0.1 to screen 1.1,1.1 fillcolor rgb "#f0f0f0" behind +unset key +set title 'Aurora' offset 0,-2 +#unset border +#unset xtics +#unset ytics +#unset ztics +#load 'gnuplot/rdbu.pal' +set ytics -20,20,20 +set ztics 0,10,40 +set palette gray +set pm3d +set style data pm3d +unset colorbox +set xrange [0:130] +set yrange [-20:20] +set zrange [*:20] +set xzeroaxis +set yzeroaxis +set zzeroaxis +set xlabel 'x, m' +set ylabel 'y, m' +set zlabel 'z, m' +set output 'build/gnuplot/aurora-non-bare.svg' +splot 'ships/aurora.gnuplot' diff --git a/gnuplot/ships.gnuplot b/gnuplot/ships.gnuplot @@ -0,0 +1,48 @@ +set terminal svg size 1920/3,1080/3 dynamic font 'Liberation Sans, 14' +set hidden3d back offset 0 trianglepattern 3 undefined 1 altdiagonal bentover +set view equal xyz +set view ,,4 +#set object 1 rectangle from screen -0.1,-0.1 to screen 1.1,1.1 fillcolor rgb "#f0f0f0" behind +unset key +#unset border +#unset xtics +#unset ytics +#unset ztics +#load 'gnuplot/rdbu.pal' +#set ytics -20,20,20 +set ztics 0,10,40 +set palette gray +set pm3d +set style data pm3d +unset colorbox +set xrange [-50:250] +set yrange [-20:200] +set zrange [*:40] +#set xzeroaxis +#set yzeroaxis +#set zzeroaxis +set xlabel 'x, m' +set ylabel 'y, m' +set zlabel 'z, m' +set output 'build/gnuplot/diogen.svg' +set title 'Diogen' offset -15,-11 +set grid +splot 'ships/diogen.gnuplot' using ($1+50):2:3 +unset border +unset xtics +unset ytics +unset ztics +unset grid +unset xzeroaxis +unset yzeroaxis +unset zzeroaxis +unset xlabel +unset ylabel +unset zlabel +set yrange [-20:20] +set output 'build/gnuplot/aurora.svg' +set title 'Aurora' offset 0,-9 +splot 'ships/aurora.gnuplot' +set output 'build/gnuplot/micw.svg' +set title 'MICW' offset 19,-11.5 +splot 'ships/micw.gnuplot' diff --git a/gnuplot/surface-with-ship-3d.gnuplot b/gnuplot/surface-with-ship-3d.gnuplot @@ -0,0 +1,44 @@ +set terminal svg size 1920/3,1080/3 dynamic font 'Liberation Sans, 10' +#set hidden3d back offset 0 trianglepattern 3 undefined 1 altdiagonal bentover +set view equal xyz +set view ,,4 +#set view map +set xrange [-100:100] +set yrange [-100:100] +set cbrange [-2:2] +set cbtics -2,0.5,2 +set palette defined (0 '#404040', 1 '#fffff0', 2 '#0040f0') +unset key +set xtics nomirror out offset 0,0.5 +set ytics nomirror out offset 0.5,0 +unset x2tics +unset y2tics +unset ztics +set border +set xlabel 'x, m' offset 0,1 +set ylabel 'y, m' offset 1,0 +set pm3d +set style data pm3d +set dgrid3d 200,200 exp +set output 'build/gnuplot/surface-with-ship-3d.svg' +#set multiplot +#set colorbox user origin 1,0 +#set cbtics +#set cblabel 'Wave amplitude, m' offset -1,0 +unset colorbox +unset border +unset xtics +unset ytics +unset ztics +unset grid +unset xzeroaxis +unset yzeroaxis +unset zzeroaxis +unset xlabel +unset ylabel +unset zlabel +set palette gray +splot 'data/surface-diffraction-aurora.dat' with pm3d +#unset dgrid3d +#set palette gray +#splot 'ships/aurora.gnuplot' using ($1-123.8/2):2:3 diff --git a/gnuplot/surface-with-ship.gnuplot b/gnuplot/surface-with-ship.gnuplot @@ -0,0 +1,42 @@ +set terminal svg size 1920/3,1080/3 dynamic font 'Liberation Sans, 10' +#set hidden3d back offset 0 trianglepattern 3 undefined 1 altdiagonal bentover +set view equal xyz +#set view ,,4 +set view map +set xrange [-100:100] +set yrange [-100:100] +set cbrange [-2:2] +set cbtics -2,0.5,2 +set palette defined (0 '#404040', 1 '#fffff0', 2 '#0040f0') +unset key +set xtics nomirror out offset 0,0.5 +set ytics nomirror out offset 0.5,0 +unset x2tics +unset y2tics +unset ztics +set border +set xlabel 'x, m' offset 0,1 +set ylabel 'y, m' offset 1,0 +set cblabel 'Wave amplitude, m' offset -1,0 +set pm3d +set style data pm3d +set dgrid3d 200,200 exp +set output 'build/gnuplot/surface-with-ship.svg' +set multiplot +splot 'data/surface-diffraction-aurora.dat' with pm3d +unset dgrid3d +set palette defined (0 '#404040', 1 '#404040') +unset colorbox +unset border +unset xtics +unset ytics +unset ztics +unset grid +unset xzeroaxis +unset yzeroaxis +unset zzeroaxis +unset xlabel +unset ylabel +unset zlabel +splot 'ships/aurora.gnuplot' using ($1-123.8/2):2:3 + diff --git a/inkscape/diffraction.svg b/inkscape/diffraction.svg @@ -0,0 +1,611 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="210mm" + height="210mm" + viewBox="0 0 210 210" + version="1.1" + id="svg8" + inkscape:version="0.92.4 (5da689c313, 2019-01-14)" + sodipodi:docname="diffraction.svg"> + <defs + id="defs2"> + <marker + inkscape:stockid="Arrow1Mend" + orient="auto" + refY="0.0" + refX="0.0" + id="Arrow1Mend" + style="overflow:visible;" + inkscape:isstock="true"> + <path + id="path991" + d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" + transform="scale(0.4) rotate(180) translate(10,0)" /> + </marker> + <marker + inkscape:stockid="Arrow1Lend" + orient="auto" + refY="0.0" + refX="0.0" + id="Arrow1Lend" + style="overflow:visible;" + inkscape:isstock="true"> + <path + id="path985" + d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;stroke-opacity:1;fill:#000000;fill-opacity:1" + transform="scale(0.8) rotate(180) translate(12.5,0)" /> + </marker> + <inkscape:path-effect + effect="bspline" + id="path-effect151" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect147" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect143" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect139" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect135" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect127" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect123" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect119" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect115" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect111" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect107" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect103" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect99" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect95" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect91" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect87" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect83" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect79" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect75" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect67" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect63" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect59" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect55" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect51" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect47" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect43" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect39" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + <inkscape:path-effect + effect="bspline" + id="path-effect16" + is_visible="true" + weight="33.333333" + steps="2" + helper_size="0" + apply_no_weight="true" + apply_with_weight="true" + only_selected="false" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.98994949" + inkscape:cx="370.44576" + inkscape:cy="388.76022" + inkscape:document-units="mm" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1920" + inkscape:window-height="1056" + inkscape:window-x="0" + inkscape:window-y="24" + inkscape:window-maximized="0" /> + <metadata + id="metadata5"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-87)"> + <path + style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" + d="m 55.05857,186.94576 c -1.637836,-6.36274 0.378036,-12.78833 -0.692871,-20.59952 -1.070908,-7.81118 -5.228848,-17.00906 -3.338834,-23.05666 1.890015,-6.04759 9.827617,-8.94545 14.993141,-13.79611 5.165525,-4.85065 7.559469,-11.65449 13.732868,-13.29229 6.173398,-1.63779 16.127237,1.89015 25.576646,0.37816 9.44941,-1.512 18.39498,-8.06368 27.34015,-8.12666 8.94516,-0.063 17.89089,6.36284 25.4506,9.6991 7.55971,3.33626 13.98514,3.59328 16.12695,8.94757 2.14181,5.35429 0.12585,15.81206 -4.66187,25.95457 -4.78773,10.1425 -12.34703,19.9696 -14.92997,28.03326 -2.58294,8.06366 -0.18916,14.36308 -3.21289,19.52879 -3.02372,5.16572 -11.46499,9.19737 -20.5997,8.94541 -9.13471,-0.25197 -18.96173,-4.78751 -29.67103,-6.11047 -10.709298,-1.32296 -22.300428,0.5669 -30.742126,-1.63803 -8.441697,-2.20493 -13.733228,-8.50437 -15.371064,-14.86712 z" + id="path14" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect16" + inkscape:original-d="m 51.40476,187.00893 c 2.016138,-6.42586 4.032012,-12.85145 6.047621,-19.27678 -4.157268,-9.19724 -8.315211,-18.39511 -12.473215,-27.59227 7.937661,-2.89804 15.875264,-5.79589 23.8125,-8.69345 2.394019,-6.80356 4.787963,-13.6074 7.181548,-20.41071 9.95317,3.52735 19.907009,7.05529 29.860116,10.58333 8.94557,-6.55175 17.89114,-13.10344 26.83631,-19.65476 8.9454,6.42512 17.89114,12.85093 26.83631,19.27679 6.17384,0.25171 12.59947,0.5037 18.89881,0.75595 -2.01553,10.45665 -4.03148,20.91442 -6.04762,31.37202 -7.55948,9.8274 -15.11878,19.6545 -22.67857,29.48214 2.39419,6.29953 4.78796,12.59895 7.18155,18.89881 -8.4414,4.03158 -16.88267,8.06323 -25.32441,12.09524 -9.82748,-4.53615 -19.6545,-9.07169 -29.48214,-13.60714 -11.591143,1.88964 -23.182274,3.77949 -34.77381,5.66964 -5.291537,-6.30003 -10.583069,-12.59947 -15.875,-18.89881 z" + transform="translate(-4.1577381,32.127976)" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" + d="m 3.4017857,101.20834 c 15.3712963,0 30.7423283,0 48.1920723,-0.94494 17.449743,-0.944937 36.978848,-2.834851 55.065162,-2.897134 18.08632,-0.06228 34.70431,1.70023 50.89419,2.582162 16.18989,0.881932 31.93912,0.881932 47.68786,0.881932" + id="path37" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect39" + inkscape:original-d="m 3.4017857,101.20834 c 15.3712963,-2.7e-4 30.7423283,-2.7e-4 46.1130953,0 19.528697,-1.890115 39.057802,-3.780029 58.586309,-5.669645 16.63097,1.889589 33.26217,3.527513 49.89286,5.291665 15.74905,-2.6e-4 31.49828,-2.6e-4 47.24702,0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 4.1577381,115.57143 c 19.6550339,-0.62997 39.3097949,-1.25993 55.6886829,-2.39386 16.378888,-1.13393 29.482245,-2.77185 44.979039,-2.77184 15.49679,10e-6 33.38807,1.63795 50.4599,2.45688 17.07183,0.81894 33.32502,0.81894 49.57773,0.81894" + id="path41" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect43" + inkscape:original-d="m 4.1577381,115.57143 c 19.6550259,-0.63022 39.3097869,-1.26018 58.9642849,-1.88988 13.103257,-1.63814 26.206614,-3.27606 39.309527,-4.91369 17.89073,1.6376 35.78201,3.27553 53.67261,4.91369 16.25303,-2.6e-4 32.50622,-2.6e-4 48.75893,0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 5.6696427,131.44643 c 19.0250663,0 38.0498683,0 54.5547513,-1.57491 16.504884,-1.57492 30.490197,-4.72476 46.049976,-4.78773 15.55979,-0.063 32.69509,2.9609 49.07398,4.47278 16.3789,1.51189 32.00211,1.51189 47.62486,1.51189" + id="path45" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect47" + inkscape:original-d="m 5.6696427,131.44643 c 19.0250663,-2.6e-4 38.0498683,-2.6e-4 57.0744053,0 13.985186,-3.15002 27.9705,-6.29986 41.955352,-9.4494 17.13481,3.02348 34.27011,6.04735 51.40476,9.07143 15.62309,-2.7e-4 31.2463,-2.7e-4 46.86905,0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 5.6696427,146.56548 c 20.2849863,0 40.5697073,0 57.3265883,-1.63791 16.756881,-1.63792 29.986221,-4.91375 38.433869,-5.94054 8.44765,-1.02678 12.34089,0.27096 16.12049,1.53083" + id="path49" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect51" + inkscape:original-d="m 5.6696427,146.56548 c 20.2849863,-2.6e-4 40.5697073,-2.6e-4 60.8541653,0 13.229259,-3.27601 26.458598,-6.55185 39.687502,-9.82738 3.65395,1.25963 7.55979,2.51958 11.33928,3.77976" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 153.08036,145.80953 c 3.65396,0.88199 7.30772,1.76393 15.49692,2.07889 8.1892,0.31496 20.91506,0.063 33.63998,-0.18901" + id="path53" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect55" + inkscape:original-d="m 153.08036,145.80953 c 3.65403,0.88168 7.3078,1.76362 10.9613,2.64583 12.72481,-0.25224 25.45067,-0.50423 38.1756,-0.75595" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 8.315476,168.11012 c 9.701653,0 19.403041,0 28.104626,-1.49072 8.701584,-1.49072 16.622874,-4.55702 24.434064,-7.58071" + id="path57" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect59" + inkscape:original-d="m 8.315476,168.11012 c 9.701653,-2.6e-4 19.403041,-2.6e-4 29.104166,0 7.685572,-3.02399 15.623281,-6.04788 23.434524,-9.07143" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 8.6934523,186.25298 c 7.6857497,-0.1281 15.1193157,-0.25199 21.1668777,-1.00796 6.047562,-0.75598 10.583439,-2.14194 15.118836,-3.52775" + id="path61" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect63" + inkscape:original-d="m 8.6934523,186.25298 c 7.6857807,-0.12626 15.1193117,-0.25225 22.6785717,-0.37798 4.535818,-1.38612 9.071692,-2.77209 13.607142,-4.15773" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 9.0714284,208.1756 c 6.9298286,0 13.6074076,0 20.0959056,-1.38593 6.488498,-1.38593 12.662351,-4.15787 18.835641,-6.92955" + id="path65" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect67" + inkscape:original-d="m 9.0714284,208.1756 c 6.9298286,-2.7e-4 13.6074076,-2.7e-4 20.4107136,0 6.173637,-2.77198 12.347488,-5.54392 18.520833,-8.31548" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 10.205357,233.5 c 7.308722,-0.61938 14.867348,-1.25994 21.496259,-2.50329 6.628911,-1.24335 12.453619,-3.10014 18.277786,-4.95677" + id="path73" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect75" + inkscape:original-d="m 10.205357,233.5 c 7.307804,-0.63022 14.867328,-1.26018 22.300594,-1.88988 5.824524,-1.85692 11.649231,-3.71372 17.473451,-5.57018" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 9.0714284,257.69048 c 10.8326596,-0.25192 21.6709066,-0.50397 30.6792486,-4.15778 9.008342,-3.65382 16.190066,-10.70955 23.371346,-17.76484" + id="path77" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect79" + inkscape:original-d="M 9.0714284,257.69048 C 19.90701,257.56422 30.742329,257.18625 41.577381,256.93453 48.759014,249.87888 55.94074,242.82315 63.122023,235.76786" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 9.0714284,279.6131 c 14.4893686,-1.00796 28.9784546,-2.01589 40.9476216,-5.73269 11.969166,-3.7168 21.418755,-10.14252 26.962265,-16.69405 5.54351,-6.55154 7.181457,-13.22933 8.819278,-19.9066" + id="path81" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect83" + inkscape:original-d="m 9.0714284,279.6131 c 14.4893516,-1.0082 28.9784376,-2.01614 43.4672616,-3.02381 9.449485,-6.42574 18.899074,-12.85146 28.348215,-19.27679 1.638107,-6.67763 3.276057,-13.35542 4.913688,-20.03274" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 173.11309,168.86607 c 3.90586,2.01593 7.81161,4.0318 12.41034,5.03971 4.59872,1.00791 9.89052,1.00791 15.18192,1.00791" + id="path101" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect103" + inkscape:original-d="m 173.11309,168.86607 c 3.90602,2.01561 7.81177,4.03149 11.71727,6.04762 5.29179,-2.6e-4 10.58359,-2.6e-4 15.87499,0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 168.57738,184.3631 c 4.55364,1.84607 9.32355,3.77981 14.61519,4.72473 5.29165,0.94491 11.21345,0.94491 17.13481,0.94491" + id="path105" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect107" + inkscape:original-d="m 168.57738,184.3631 c 4.53598,1.88962 9.32368,3.77949 13.98512,5.66964 5.92172,-2.6e-4 11.84352,-2.6e-4 17.76488,0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 157.61607,202.12798 c 5.29178,2.51989 10.58345,5.03974 17.57599,6.29963 6.99254,1.25989 15.68618,1.25989 24.37936,1.25989" + id="path109" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect111" + inkscape:original-d="m 157.61607,202.12798 c 5.29193,2.51958 10.5836,5.03942 15.875,7.55952 8.69353,-2.6e-4 17.38717,-2.6e-4 26.08035,0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 150.8125,227.83036 c 8.31572,0.62998 16.63119,1.25994 24.69458,1.57491 8.06339,0.31497 15.87513,0.31497 23.68637,0.31497" + id="path113" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect115" + inkscape:original-d="m 150.8125,227.83036 c 8.31574,0.6297 16.63121,1.25966 24.94643,1.88988 7.81154,-2.6e-4 15.62328,-2.6e-4 23.43452,0" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 144.76488,240.30357 c 5.79569,4.15778 11.59132,8.31552 20.4751,11.26733 8.88379,2.95181 21.1025,4.7337 33.19752,6.49756" + id="path117" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect119" + inkscape:original-d="m 144.76488,240.30357 c 5.7959,4.15748 11.59153,8.31522 17.3869,12.47322 11.96941,1.76361 24.19074,3.52751 36.28572,5.29167" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 127,244.46131 c 0,5.16541 0,10.33109 4.095,15.05606 4.095,4.72497 12.28406,9.00848 23.93829,12.59923 11.65423,3.59075 26.77346,6.4886 41.8923,9.38638" + id="path133" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect135" + inkscape:original-d="m 127,244.46131 c 2.6e-4,5.16541 2.6e-4,10.33109 0,15.49703 8.19017,4.28368 16.37923,8.56719 24.56845,12.85119 15.11913,2.89751 30.23836,5.79537 45.35714,8.69345" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 106.96726,239.9256 c -0.46523,3.7456 -0.9305,7.49149 0.97516,11.97065 1.90566,4.47916 6.18164,9.69051 11.16796,15.32539 4.98632,5.63487 10.51533,11.51493 19.73028,16.21443 9.21495,4.6995 21.69942,8.04041 34.34999,11.42578" + id="path137" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect139" + inkscape:original-d="m 106.96726,239.9256 c -0.465,3.74563 -0.93027,7.49152 -1.3958,11.23768 4.27691,5.2119 8.55289,10.42324 12.82894,15.63527 5.79114,5.96878 11.22558,11.93777 16.83798,17.90705 12.82922,3.38516 25.30178,6.77057 37.95227,10.15625" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 116.79464,242.57143 c -5.29149,9.19711 -10.58316,18.39453 -19.024752,26.26921 -8.441597,7.87469 -20.03247,14.42605 -30.55294,18.64687 -10.520469,4.22082 -19.969618,6.11065 -29.41933,8.00059" + id="path141" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect143" + inkscape:original-d="m 116.79464,242.57143 c -5.2914,9.19716 -10.58307,18.39458 -15.875,27.59226 -11.591397,6.55155 -23.182274,13.10291 -34.773808,19.65477 -9.449395,1.88966 -18.898544,3.77949 -28.348214,5.66964" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 87.690475,294.35417 c 8.945746,-5.66984 17.891175,-11.33948 25.828535,-17.89098 7.93735,-6.5515 14.86716,-13.98529 18.20581,-19.71784 3.33866,-5.73255 3.08667,-9.76444 2.8347,-13.79594" + id="path145" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect147" + inkscape:original-d="m 87.690475,294.35417 c 8.945702,-5.66991 17.891135,-11.33955 26.836305,-17.00893 6.92959,-7.43354 13.8594,-14.86733 20.78869,-22.30059 -0.2517,-4.03187 -0.5037,-8.06376 -0.75595,-12.09524" /> + <path + style="fill:none;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" + d="m 79.37905,237.3989 c 0.979958,7.6615 1.959946,15.32323 4.989082,22.09424 3.029136,6.77102 8.107106,12.65077 13.452519,18.26346 5.345409,5.61268 10.958049,10.95805 16.570709,16.30344" + id="path149" + inkscape:connector-curvature="0" + inkscape:path-effect="#path-effect151" + inkscape:original-d="m 79.37905,237.3989 c 0.980252,7.66146 1.960239,15.32319 2.939962,22.98518 5.078537,5.87984 10.156508,11.75959 15.234365,17.63978 5.612943,5.34515 11.225583,10.69052 16.837983,16.03618" /> + <text + xml:space="preserve" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + x="88.95842" + y="194.92317" + id="text960"><tspan + sodipodi:role="line" + id="tspan958" + x="88.95842" + y="194.92317" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';stroke-width:0.26458332">obstacle</tspan></text> + <text + xml:space="preserve" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + x="12.057865" + y="109.69038" + id="text960-7"><tspan + sodipodi:role="line" + id="tspan958-6" + x="12.057865" + y="109.69038" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';stroke-width:0.26458332">wave direction</tspan></text> + <path + style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Mend)" + d="M 9.0871638,94.676972 V 122.473" + id="path980" + inkscape:connector-curvature="0" /> + <g + id="g1830" + transform="translate(178.00151,-33.408691)"> + <circle + r="7.6701365" + cy="149.98532" + cx="-45.419369" + id="path1794" + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.65972716;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + <text + id="text960-7-3" + y="153.62593" + x="-48.507034" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';stroke-width:0.26458332" + y="153.62593" + x="-48.507034" + id="tspan958-6-0" + sodipodi:role="line">1</tspan></text> + </g> + <g + id="g1835" + transform="translate(73.76639,24.054257)"> + <circle + r="7.6701365" + cy="183.14319" + cx="-44.366741" + id="path1794-3" + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.65972716;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + <text + id="text960-7-3-0" + y="186.83806" + x="-47.309715" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';stroke-width:0.26458332" + y="186.83806" + x="-47.309715" + id="tspan958-6-0-9" + sodipodi:role="line">2</tspan></text> + </g> + <g + id="g1840" + transform="translate(170.25069,57.730218)"> + <circle + r="7.6701365" + cy="216.55186" + cx="-59.333836" + id="path1794-2" + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.65972716;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + <text + id="text960-7-3-5" + y="220.19505" + x="-62.245804" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';stroke-width:0.26458332" + y="220.19505" + x="-62.245804" + id="tspan958-6-0-4" + sodipodi:role="line">3</tspan></text> + </g> + </g> +</svg> diff --git a/slides.tex b/slides.tex @@ -5,32 +5,276 @@ \usepackage{textcomp} \usepackage{booktabs} +\usepackage{spbu-slides} -\title{TODO} +\tikzset{Arrow/.style={ + solid, + arrows={-Triangle[length=0.15cm,width=0.100cm]}, + draw=spbuDarkGray +}}% + +\tikzset{Dots/.style={ + draw=spbuDarkGray, + line cap=round, dash pattern=on 0pt off 4\pgflinewidth +}}% +\setbeamertemplate{itemize items}[circle] + +% metadata +\usepackage{textcomp} +\usepackage{hyperxmp} +\hypersetup{ + pdfcontactemail={i.gankevich@spbu.ru}, + pdfcontacturl={http://www.apmath.spbu.ru/en/staff/gankevich/index.html}, + pdfcontactaddress={Unversitetskii prospekt 35}, + pdfcontactcity={Petergof}, + pdfcontactregion={Saint Petersburg}, + pdfcontactpostcode={198504}, + pdfcontactcountry={Russia}, + pdflang={en}, + pdfmetalang={en}, + pdflicenseurl={http://creativecommons.org/licenses/by-sa/4.0/}, + pdfcopyright={Copyright \textcopyright{} 2020 Ivan Petriakov\xmpcomma{} Alexander Degtyarev\xmpcomma{} Denis Egorov\xmpcomma{} Ivan Gankevich\xmpcomma{} Anton Gavrikov\xmpcomma{} Artemii Grigorev\xmpcomma{} Vasily Khramushin}, + pdfsubject={Virtual testbed: Simulation of ocean wave reflection from the ship hull}, +} + +\newcommand{\Jacobian}{\mathbb{J}} +\newcommand{\Real}[1]{\operatorname{Re}#1} +\newcommand{\Imag}[1]{\operatorname{Im}#1} +\newcommand{\VectorL}[1]{\left[\begin{array}{l}#1\end{array}\right]} +\newcommand{\VectorR}[1]{\left[\begin{array}{r}#1\end{array}\right]} +\newcommand{\VectorH}[1]{\left(#1\right)} +\newcommand{\DerivativeT}[1]{\frac{\partial{#1}}{\partial{}t}} + +\title{Virtual testbed: Simulation of ocean wave reflection from the ship hull} \author{% I.\:Petriakov \and A.\:Degtyarev \and D.\:Egorov \and - I.\:Gankevich \and + I.\:Gankevich\textsuperscript{*} \and A.\:Gavrikov \and A.\:Grigorev \and V.\:Khramushin% } +\institute{Saint Petersburg State University} \date{July 2020} \begin{document} \frame{\maketitle} +\begin{frame}{Motivation} + Ship motion simulators + \begin{itemize} + \item model ocean waves without diffraction and radiation, + \item model ship resistance to flow using empirical methods (by increasing its mass). + \end{itemize} + \vfill + We want + \begin{itemize} + \item diffraction and radiation, + \item no empirical methods + \end{itemize} + to better understand and more accurately simulate ship motions. +\end{frame} + +\begin{frame}{The law of reflection for ocean waves} + \begin{columns}[T] + \begin{column}{0.40\textwidth} + \includegraphics[width=\textwidth]{build/inkscape/diffraction.eps} + \tiny{}Near the obstacle the wave direction is tangent to the boundary. + \end{column} + \begin{column}{0.60\textwidth} + \footnotesize + Lagrangian description: + \vskip\baselineskip + \begin{tikzpicture}[x=1mm,y=1mm] + \draw plot [smooth] coordinates + {(9.673,28.585) (17.173,35.433) (21.194,36.020) (27.064,35.433) (32.172,24.129)}; + \node at (20,30) {\tiny{}ship hull}; + \path[Arrow] (16.194,41.020) -- (21.194,36.020) {}; + \draw[Dots] (11.194,46.020) -- (21.194,36.020) {}; + \node[left,text width=2cm,align=center] at (11.194,46.020) {\scriptsize{}incident wave direction}; + \node[left,yshift=-3mm] at (16.194,41.020) + {\(\vec{d}_i=\VectorH{u,v,0}\)\strut}; + \path[Arrow] (21.194,36.020) -- (26.194,41.020) {}; + \draw[Dots] (21.194,36.020) -- (31.194,46.020) {}; + \node[right,text width=2cm,align=center] at (31.194,46.020) {\scriptsize{}reflected wave direction}; + \node[right,yshift=-3mm] at (26.194,41.020) {\(\vec{d}_r = + \vec{d}_i-\vec{d}_s = + \vec{d}_i-2\vec{n}\left(\vec{d}_i\cdot\vec{n}\right)\)\strut}; + \path[Arrow] (21.194,36.020) -- (21.194,41.020) {}; + \node[above] at (21.194,41.020) {\(\vec{n}\)}; + \end{tikzpicture} + \vskip\baselineskip + \begin{tabular}{ll} + \(w_i = \exp\left( \left(i\vec{d}_i+\vec{d}_{k}\right)\cdot\vec\zeta - i\omega t\right)\) & incident wave potential \\ + \(w_r = \exp\left( \left(i\vec{d}_r+\vec{d}_{k}\right)\cdot\vec\zeta - i\omega t\right)\) & reflected wave potential \\ + \(w = C_1 w_i + C_2 w_r\) & total potential \\ + \end{tabular} + \vskip\baselineskip + {\tiny{} + \begin{tabular}{ll} + \(\vec{d}_k = \VectorH{0,0,k}\) & damping coefficient \\ + \(u,v\) & wave numbers \\ + \(k=\sqrt{u^2+v^2}\) & wave vector length \\ + \(\vec\zeta=\VectorH{\alpha,\beta,\delta}\) + & initial particle coordinates \\ + \(x,y,z\) & instantaneous particle coordinates \\ + \(\omega=\sqrt{gk}\) & angular frequency \\ + \end{tabular} + } + \end{column} + \end{columns} +\end{frame} + +\begin{frame}{Governing system of equations} + Continuity and motion equation for ideal fluid (Lagrangian description) + \begin{equation*} + \begin{aligned} + & \vec\nabla\left( w_{tt} + g w_\delta + p_1/\rho \right) = 0 \\ + & \Delta w = 0 + \end{aligned} + \end{equation*} + Boundary condition on the ship hull panel (\(\vec\zeta_0\) is the point on the boundary): + \begin{equation*} + \frac{d}{d t} \vec\nabla w \cdot \vec{n} = 0; + \qquad + \vec{n} \cdot \left(\vec\zeta - \vec\zeta_0\right) = 0 + \end{equation*} + The solution for single panel + \begin{equation*} + w = C_1 w_i + C_2 w_r + \qquad + C_1 = 1 + \qquad + C_2 = \exp\left(i\vec{d}_s\cdot\zeta_0\right) + \end{equation*} + The solution for the whole ship + \begin{equation*} + w = \sum\limits_{j} K_j w_j; + \qquad + K_j = \frac{1}{1 + \left|\zeta-\zeta_0\right|^2} + \end{equation*} +\end{frame} + +\begin{frame}{Wave diffraction around Aurora's hull} + \begin{columns}[T] + \begin{column}{0.65\textwidth} + \centering + \includegraphics{build/gnuplot/surface-with-ship.eps} + \end{column} + \begin{column}{0.35\textwidth} + \centering + \includegraphics[scale=0.4]{build/gnuplot/aurora-non-bare.eps} + \end{column} + \end{columns} +\end{frame} + +\begin{frame}{Wave diffraction around Aurora's hull (not shown)} + \centering + \includegraphics[width=\textwidth]{build/gnuplot/surface-with-ship-3d.eps} +\end{frame} + + +\begin{frame}{Performance benchmarks in Virtual Testbed} + \small + Average time in milliseconds that is needed to generate waves with reflection. + \begin{tabular}{l@{\hskip 3mm}r@{\hskip 2mm}r@{\hskip 3mm}r@{\hskip 2mm}r@{\hskip 3mm}r@{\hskip 2mm}rl} + \toprule + & \multicolumn{2}{l}{Diogen} + & \multicolumn{2}{l}{Aurora} + & \multicolumn{2}{l}{MICW} \\ + \cmidrule(r){2-3} + \cmidrule(r){4-5} + \cmidrule(r){6-7} + Node & OpenMP & OpenCL + & OpenMP & OpenCL + & OpenMP & OpenCL \\ + \midrule + Duck + & 5462 & 48 + & 7716 & 41 + & 7725 & 11 + & laptop + \\ + GPUlab + & 5529 & 11 + & 8222 & 10 + & 6481 & \markRectangle{speedup}{3}{lightyellow} + & desktop + \\ + Capybara & 2908 & 16 + & 2091 & 8 + & 2786 & 4 + & server + \\ + \bottomrule + \end{tabular} + \begin{tikzpicture}[remember picture,overlay]% + \node[below of=speedup,yshift=-0.25cm,xshift=-2cm] (labelSpeedup) {2k speedup\strut{}}; + \path[draw=spbuDarkGray,thick] (labelSpeedup) -- (speedup); + \end{tikzpicture} + \vfill + \begin{columns} + \begin{column}{0.55\textwidth} + \begin{tikzpicture}[x=1cm,y=1cm] + \node at (1,-0.25) {\includegraphics[scale=0.50]{build/gnuplot/diogen.eps}}; + \node at (0,0) {\includegraphics[scale=0.50]{build/gnuplot/aurora.eps}}; + \node at (1.5,0.5) {\includegraphics[scale=0.50]{build/gnuplot/micw.eps}}; + \end{tikzpicture} + \end{column} + \begin{column}{0.35\textwidth} + \footnotesize + \begin{itemize} + \item Make storage order linear. + \item Use built-in vector operations. + \item Use local memory of the multiprocessor to optimise global memory + load and stores. + \end{itemize} + \end{column} + \end{columns} + \begin{tikzpicture}[remember picture,overlay]% + \node[anchor=south east] at (current page.south east) + {\tiny{}More information on Virtual Testbed: + \href{https://vtestbed.cmmshq.ru/}{https://vtestbed.cmmshq.ru/}}; + \end{tikzpicture} +\end{frame} + +\begin{frame}{Conclusion and future work} + \begin{itemize} + \item Diffraction alone cannot be used to take into account ship's resistance + to flow (cannot replace the method of added masses). + \item High computational performance, hundreds of times faster on a + graphical accelerator than on a central processor. + \item Future work is to incorporate radiation into the model and compare + damping to the method of added masses. + \end{itemize} +\end{frame} + +\begin{frame} + \centering + \begin{tabular}{lllrr} + \toprule + & & & \multicolumn{2}{c}{GPU GFLOPS} \\ + \cmidrule(r){4-5} + Node & CPU & GPU & Single & Double \\ + \midrule + Duck & Intel i7-3630QM & NVIDIA GT740M & 622 & \\ + GPUlab & AMD FX-8370 & NVIDIA GTX1060 & 4375 & 137 \\ + Capybara & Intel E5-2630 v4 & NVIDIA P5000 & 8873 & 277 \\ + \bottomrule + \end{tabular} +\end{frame} + \begin{frame} - \tiny\vfill - Copyright \textcopyright{} 2020 Ivan Petriakov - \texttt{\href{mailto:st049350@student.spbu.ru}{st049350@student.spbu.ru}}. \\ - \vskip\baselineskip - \vskip\baselineskip - This work is licensed under a \alert{Creative Commons Attribution-ShareAlike 4.0 - International License}. The copy of the license is available at - \url{https://creativecommons.org/licenses/by-sa/4.0/}. + \tiny\vfill + Copyright \textcopyright{} 2020 Ivan Petriakov, Alexander Degtyarev, Denis Egorov, Ivan Gankevich, Anton Gavrikov, Artemii Grigorev, Vasily Khramushin + \texttt{\href{mailto:i.gankevich@spbu.ru}{i.gankevich@spbu.ru}}. \\ + \vskip\baselineskip + \vskip\baselineskip + This work is licensed under a \textit{Creative Commons Attribution-ShareAlike 4.0 + International License}. The copy of the license is available at + \url{https://creativecommons.org/licenses/by-sa/4.0/}. \end{frame} \end{document}