From 1870a1a06e723086db850d38e2ef1b55c9e06c03 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 22 Feb 2019 19:56:35 +0100 Subject: Done. More or less. --- img/cylinder2d_high_res_comparsion.tikz | 26 +++++++++++++------------- img/cylinder2d_overview.tikz | 4 ++-- img/poiseuille2d_error_comparison.tikz | 2 +- img/poiseuille2d_velocity_outflow.tikz | 4 ++-- 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'img') diff --git a/img/cylinder2d_high_res_comparsion.tikz b/img/cylinder2d_high_res_comparsion.tikz index d9460d9..ae2b3bd 100644 --- a/img/cylinder2d_high_res_comparsion.tikz +++ b/img/cylinder2d_high_res_comparsion.tikz @@ -1,7 +1,7 @@ \begin{tikzpicture} \pgfplotstableread[col sep=comma]{img/data/cylinder2d_optimized_grid_n20_re100_drag_lift_deltap.csv}\refined -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n48_re100_drag_lift_deltap.csv}\unrefined -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n80_re100_drag_lift_deltap.csv}\uniform +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n48_re100_drag_lift_deltap.csv}\uniformMiddle +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n80_re100_drag_lift_deltap.csv}\uniformHigh \begin{axis}[ scale only axis, @@ -19,9 +19,9 @@ \addplot[color=black]{3.23}; \addlegendentry {Gemittelte Referenzlösung \(c_\text{Dmax} := \num{3.23}\)}; -\addplot[color=green!70!black,thin] table [x expr=8*\thisrow{time}, y=drag] {\refined}; -\addplot[color=red!50!white,thin] table [x expr=\thisrow{time}, y=drag] {\unrefined}; -\addplot[color=blue!50!white,thin] table [x expr=\thisrow{time}, y=drag] {\uniform}; +\addplot[color=blue!50!white,thin,densely dashed] table [x expr=\thisrow{time}, y=drag] {\uniformHigh}; +\addplot[color=blue!50!white,thin] table [x expr=\thisrow{time}, y=drag] {\uniformMiddle}; +\addplot[color=green!70!black,thick] table [x expr=8*\thisrow{time}, y=drag] {\refined}; \end{axis} @@ -42,9 +42,9 @@ \addplot[color=black]{1.0}; \addlegendentry {Gemittelte Referenzlösung \(c_\text{Lmax} := 1\)}; -\addplot[color=green!70!black,thin] table [x expr=8*\thisrow{time}, y=lift] {\refined}; -\addplot[color=red!50!white,thin] table [x expr=\thisrow{time}, y=lift] {\unrefined}; -\addplot[color=blue!50!white,thin] table [x expr=\thisrow{time}, y=lift] {\uniform}; +\addplot[color=blue!50!white,thin,densely dashed] table [x expr=\thisrow{time}, y=lift] {\uniformHigh}; +\addplot[color=blue!50!white,thin] table [x expr=\thisrow{time}, y=lift] {\uniformMiddle}; +\addplot[color=green!70!black,thick] table [x expr=8*\thisrow{time}, y=lift] {\refined}; \end{axis} @@ -68,12 +68,12 @@ \addplot[color=black]{2.48}; \addlegendentry {Gemittelte Referenzlösung \(\Delta P := \num{2.48}\)}; -\addplot[color=green!70!black,thin] table [x expr=8*\thisrow{time}, y=deltap] {\refined}; -\addlegendentry {Verfeinertes \(N=20\) Gitter mit \(\sim 208000\) Knoten}; -\addplot[color=red!50!white,thin] table [x expr=\thisrow{time}, y=deltap] {\unrefined}; -\addlegendentry {Uniformes \(N=48\) Gitter mit \(\sim 208000\) Knoten}; -\addplot[color=blue!50!white,thin] table [x expr=\thisrow{time}, y=deltap] {\uniform}; +\addplot[color=blue!50!white,thin,densely dashed] table [x expr=\thisrow{time}, y=deltap] {\uniformHigh}; \addlegendentry {Uniformes \(N=80\) Gitter mit \(\sim 577000\) Knoten}; +\addplot[color=blue!50!white,thin] table [x expr=\thisrow{time}, y=deltap] {\uniformMiddle}; +\addlegendentry {Uniformes \(N=48\) Gitter mit \(\sim 208000\) Knoten}; +\addplot[color=green!70!black,thick] table [x expr=8*\thisrow{time}, y=deltap] {\refined}; +\addlegendentry {Verfeinertes \(N=20\) Gitter mit \(\sim 208000\) Knoten}; \end{axis} diff --git a/img/cylinder2d_overview.tikz b/img/cylinder2d_overview.tikz index d77c1c1..c81eba3 100644 --- a/img/cylinder2d_overview.tikz +++ b/img/cylinder2d_overview.tikz @@ -10,8 +10,8 @@ \draw[very thick,fill=gray!20!white] (2,2) circle (0.5); \draw[Latex-Latex,thin] (3,1.5) -- (3,2.5) node[pos=0.5,right] {\(D\)}; -\draw[Latex-Latex,thin] (3,0) -- (3,1.5) node[pos=0.5,right] {\(\num{1.5} D\)}; -\draw[Latex-Latex,thin] (3,2.5) -- (3,4.1) node[pos=0.5,right] {\(\num{1.6} D\)}; +\draw[Latex-Latex,thin] (3,0) -- (3,1.5) node[pos=0.5,right] {\(\num[round-mode=off]{1.5} D\)}; +\draw[Latex-Latex,thin] (3,2.5) -- (3,4.1) node[pos=0.5,right] {\(\num[round-mode=off]{1.6} D\)}; \draw[Latex-Latex,thin] (0,-0.5) -- (2,-0.5) node[pos=0.5,below] {\(2 D\)}; \draw[Latex-Latex,thin] (2,-0.5) -- (22,-0.5) node[pos=0.5,below] {\(20 D\)}; diff --git a/img/poiseuille2d_error_comparison.tikz b/img/poiseuille2d_error_comparison.tikz index b28f579..7b122ce 100644 --- a/img/poiseuille2d_error_comparison.tikz +++ b/img/poiseuille2d_error_comparison.tikz @@ -1,7 +1,7 @@ \begin{tikzpicture} \begin{axis}[ scale only axis, - height=8cm, + height=7.5cm, width=0.6*\textwidth, symbolic x coords={\texttt{uN10},\texttt{uN20},\texttt{vN10A},\texttt{vN10B}}, xtick=data, diff --git a/img/poiseuille2d_velocity_outflow.tikz b/img/poiseuille2d_velocity_outflow.tikz index b60c6ff..4ebfc24 100644 --- a/img/poiseuille2d_velocity_outflow.tikz +++ b/img/poiseuille2d_velocity_outflow.tikz @@ -7,7 +7,7 @@ \begin{axis}[ scale only axis, - height=8cm, + height=9.8cm, width=0.4*\textwidth, mark size=3, legend cell align=left, @@ -64,7 +64,7 @@ \begin{axis}[ scale only axis, - height=8cm, + height=9.8cm, width=0.4*\textwidth, mark size=3, grid=both, -- cgit v1.2.3