From 075ae15277c04fd96180a5f93b501d995d1b9a43 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 1 Mar 2019 11:33:39 +0100 Subject: Relayout cylinder2d coefficient section --- img/cylinder2d_deltap_comparison.tikz | 5 +- img/cylinder2d_drag_comparison.tikz | 41 ----------- img/cylinder2d_drag_lift_comparison.tikz | 75 ++++++++++++++++++++ img/cylinder2d_high_res_comparsion.tikz | 80 ---------------------- img/cylinder2d_high_res_drag_comparison.tikz | 33 +++++++++ ...cylinder2d_high_res_lift_deltap_comparison.tikz | 57 +++++++++++++++ img/cylinder2d_lift_comparison.tikz | 41 ----------- 7 files changed, 168 insertions(+), 164 deletions(-) delete mode 100644 img/cylinder2d_drag_comparison.tikz create mode 100644 img/cylinder2d_drag_lift_comparison.tikz delete mode 100644 img/cylinder2d_high_res_comparsion.tikz create mode 100644 img/cylinder2d_high_res_drag_comparison.tikz create mode 100644 img/cylinder2d_high_res_lift_deltap_comparison.tikz delete mode 100644 img/cylinder2d_lift_comparison.tikz (limited to 'img') diff --git a/img/cylinder2d_deltap_comparison.tikz b/img/cylinder2d_deltap_comparison.tikz index 2d6fd99..709273c 100644 --- a/img/cylinder2d_deltap_comparison.tikz +++ b/img/cylinder2d_deltap_comparison.tikz @@ -5,7 +5,7 @@ \begin{axis}[ scale only axis, - height=8cm, + height=7.5cm, width=0.9*\textwidth, legend cell align=left, legend pos=south east, @@ -16,7 +16,8 @@ ylabel={Druckdifferenz}, x unit=s, y unit=N/m^2, - y tick label style={/pgf/number format/.cd, use comma} + y tick label style={/pgf/number format/.cd, use comma}, + ylabel absolute, every axis y label/.append style={yshift=0.2cm}, ] \addplot[ diff --git a/img/cylinder2d_drag_comparison.tikz b/img/cylinder2d_drag_comparison.tikz deleted file mode 100644 index 82746f3..0000000 --- a/img/cylinder2d_drag_comparison.tikz +++ /dev/null @@ -1,41 +0,0 @@ -\begin{tikzpicture} -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_optimized_refinement_n5_re100_drag_lift_deltap.csv}\refined -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n12_re100_drag_lift_deltap.csv}\uniform -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n40_re100_drag_lift_deltap.csv}\uniformHighRes - -\begin{axis}[ - scale only axis, - height=8cm, - width=0.9*\textwidth, - legend cell align=left, - legend pos=south east, - grid=both, - domain=0:16, - xmin=0, xmax=16, - xlabel={Simulierte physikalische Zeit}, - ylabel={Widerstandskoeffizient}, - x unit=s -] - -\addplot[ - color=blue!50!white, - very thin -] table [ - x expr=\thisrow{time}, y=drag -] {\uniform}; -\addlegendentry {Uniformes \(N=12\) Gitter}; - -\addplot[ - color=green!70!black, - thick -] table [ - x expr=8*\thisrow{time}, y=drag -] {\refined}; -\addlegendentry {Problembezogen verfeinertes \(N=5\) Gitter}; - -\addplot[color=black]{3.23}; -\addlegendentry {Gemittelte Referenzlösung \(c_\text{Wmax} := \num{3.23}\)}; - -\end{axis} -\end{tikzpicture} - diff --git a/img/cylinder2d_drag_lift_comparison.tikz b/img/cylinder2d_drag_lift_comparison.tikz new file mode 100644 index 0000000..ca4bb02 --- /dev/null +++ b/img/cylinder2d_drag_lift_comparison.tikz @@ -0,0 +1,75 @@ +\begin{tikzpicture} +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_optimized_refinement_n5_re100_drag_lift_deltap.csv}\refined +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n12_re100_drag_lift_deltap.csv}\uniform +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n40_re100_drag_lift_deltap.csv}\uniformHighRes + +\begin{axis}[ + scale only axis, + height=7.5cm, + width=0.9*\textwidth, + legend cell align=left, + legend pos=south east, + grid=both, + domain=0:16, + xmin=0, xmax=16, + ylabel={Widerstandskoeffizient}, + ylabel absolute, every axis y label/.append style={yshift=0.2cm} +] + +\addplot[ + color=blue!50!white, + very thin +] table [ + x expr=\thisrow{time}, y=drag +] {\uniform}; + +\addplot[ + color=green!70!black, + thick +] table [ + x expr=8*\thisrow{time}, y=drag +] {\refined}; + +\addplot[color=black]{3.23}; +\addlegendentry {Gemittelte Referenzlösung \(c_\text{Wmax} := \num{3.23}\)}; + +\end{axis} + +\begin{axis}[ + scale only axis, + height=7.5cm, + yshift=-8.75cm, + width=0.9*\textwidth, + legend cell align=left, + legend pos=south west, + grid=both, + domain=0:16, + xmin=0, xmax=16, + xlabel={Simulierte physikalische Zeit}, + ylabel={Auftriebskoeffizient}, + ylabel absolute, every axis y label/.append style={yshift=0.2cm}, + x unit=s +] + +\addplot[ + color=blue!50!white, + very thin +] table [ + x expr=\thisrow{time}, y=lift +] {\uniform}; +\addlegendentry {Uniformes \(N=12\) Gitter}; + +\addplot[ + color=green!70!black, + thick +] table [ + x expr=8*\thisrow{time}, y=lift +] {\refined}; +\addlegendentry {Problembezogen verfeinertes \(N=5\) Gitter}; + +\addplot[color=black]{1.0}; +\addlegendentry {Gemittelte Referenzlösung \(c_\text{Lmax} := 1\)}; + +\end{axis} + +\end{tikzpicture} diff --git a/img/cylinder2d_high_res_comparsion.tikz b/img/cylinder2d_high_res_comparsion.tikz deleted file mode 100644 index 97d6ba7..0000000 --- a/img/cylinder2d_high_res_comparsion.tikz +++ /dev/null @@ -1,80 +0,0 @@ -\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}\uniformMiddle -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n80_re100_drag_lift_deltap.csv}\uniformHigh - -\begin{axis}[ - scale only axis, - height=6cm, - width=0.9*\textwidth, - legend cell align=left, - legend pos=south east, - grid=both, - domain=0:16, - xmin=6, xmax=16, - ylabel={Widerstandskoeffizient}, - ylabel absolute, every axis y label/.append style={yshift=0.4cm}, - y tick label style={/pgf/number format/.cd, use comma} -] - -\addplot[color=black]{3.23}; -\addlegendentry {Gemittelte Referenzlösung \(c_\text{Wmax} := \num{3.23}\)}; -\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} - -\begin{axis}[ - scale only axis, - yshift=-7cm, - height=6cm, - width=0.9*\textwidth, - legend cell align=left, - legend pos=south east, - grid=both, - domain=0:16, - xmin=6, xmax=16, - ylabel={Auftriebskoeffizient}, - ylabel absolute, every axis y label/.append style={yshift=0.4cm}, - y tick label style={/pgf/number format/.cd, use comma} -] - -\addplot[color=black]{1.0}; -\addlegendentry {Gemittelte Referenzlösung \(c_\text{Lmax} := 1\)}; -\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} - -\begin{axis}[ - scale only axis, - yshift=-14cm, - height=6cm, - width=0.9*\textwidth, - legend cell align=left, - legend pos=south east, - grid=both, - domain=0:16, - xmin=6, xmax=16, - xlabel={Simulierte physikalische Zeit}, - ylabel={Druckdifferenz}, - x unit=s, - y unit=N/m^2, - ylabel absolute, every axis y label/.append style={yshift=0.4cm}, - y tick label style={/pgf/number format/.cd, use comma} -] - -\addplot[color=black]{2.48}; -\addlegendentry {Gemittelte Referenzlösung \(\Delta P := \num{2.48}\)}; -\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} - -\end{tikzpicture} diff --git a/img/cylinder2d_high_res_drag_comparison.tikz b/img/cylinder2d_high_res_drag_comparison.tikz new file mode 100644 index 0000000..8ecdcbd --- /dev/null +++ b/img/cylinder2d_high_res_drag_comparison.tikz @@ -0,0 +1,33 @@ +\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}\uniformMiddle +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n80_re100_drag_lift_deltap.csv}\uniformHigh + +\begin{axis}[ + scale only axis, + height=7.5cm, + width=0.9*\textwidth, + legend cell align=left, + legend pos=south east, + grid=both, + domain=0:16, + xmin=6, xmax=16, + xlabel={Simulierte physikalische Zeit}, + x unit=s, + ylabel={Widerstandskoeffizient}, + ylabel absolute, every axis y label/.append style={yshift=0.4cm}, + y tick label style={/pgf/number format/.cd, use comma} +] + +\addplot[color=black]{3.23}; +\addlegendentry {Gemittelte Referenzlösung \(c_\text{Wmax} := \num{3.23}\)}; +\addplot[color=blue!50!white,thin,densely dashed] table [x expr=\thisrow{time}, y=drag] {\uniformHigh}; +\addlegendentry {Uniformes \(N=80\) Gitter mit \(\sim 577000\) Knoten}; +\addplot[color=blue!50!white,thin] table [x expr=\thisrow{time}, y=drag] {\uniformMiddle}; +\addlegendentry {Uniformes \(N=48\) Gitter mit \(\sim 208000\) Knoten}; +\addplot[color=green!70!black,thick] table [x expr=8*\thisrow{time}, y=drag] {\refined}; +\addlegendentry {Verfeinertes \(N=20\) Gitter mit \(\sim 208000\) Knoten}; + +\end{axis} + +\end{tikzpicture} diff --git a/img/cylinder2d_high_res_lift_deltap_comparison.tikz b/img/cylinder2d_high_res_lift_deltap_comparison.tikz new file mode 100644 index 0000000..358a893 --- /dev/null +++ b/img/cylinder2d_high_res_lift_deltap_comparison.tikz @@ -0,0 +1,57 @@ +\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}\uniformMiddle +\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n80_re100_drag_lift_deltap.csv}\uniformHigh + +\begin{axis}[ + scale only axis, + height=7.5cm, + width=0.9*\textwidth, + legend cell align=left, + legend pos=south east, + grid=both, + domain=0:16, + xmin=6, xmax=16, + ylabel={Auftriebskoeffizient}, + ylabel absolute, every axis y label/.append style={yshift=0.4cm}, + y tick label style={/pgf/number format/.cd, use comma} +] + +\addplot[color=black]{1.0}; +\addlegendentry {Gemittelte Referenzlösung \(c_\text{Lmax} := 1\)}; +\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} + +\begin{axis}[ + scale only axis, + yshift=-8.5cm, + height=7.5cm, + width=0.9*\textwidth, + legend cell align=left, + legend pos=south east, + grid=both, + domain=0:16, + xmin=6, xmax=16, + xlabel={Simulierte physikalische Zeit}, + ylabel={Druckdifferenz}, + x unit=s, + y unit=N/m^2, + ylabel absolute, every axis y label/.append style={yshift=0.4cm}, + y tick label style={/pgf/number format/.cd, use comma} +] + +\addplot[color=black]{2.48}; +\addlegendentry {Gemittelte Referenzlösung \(\Delta P := \num{2.48}\)}; +\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} + +\end{tikzpicture} diff --git a/img/cylinder2d_lift_comparison.tikz b/img/cylinder2d_lift_comparison.tikz deleted file mode 100644 index 644a6b8..0000000 --- a/img/cylinder2d_lift_comparison.tikz +++ /dev/null @@ -1,41 +0,0 @@ -\begin{tikzpicture} -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_optimized_refinement_n5_re100_drag_lift_deltap.csv}\refined -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n12_re100_drag_lift_deltap.csv}\uniform -\pgfplotstableread[col sep=comma]{img/data/cylinder2d_unrefined_n40_re100_drag_lift_deltap.csv}\uniformHighRes - -\begin{axis}[ - scale only axis, - height=8cm, - width=0.9*\textwidth, - legend cell align=left, - legend pos=south west, - grid=both, - domain=0:16, - xmin=0, xmax=16, - xlabel={Simulierte physikalische Zeit}, - ylabel={Auftriebskoeffizient}, - x unit=s -] - -\addplot[ - color=blue!50!white, - very thin -] table [ - x expr=\thisrow{time}, y=lift -] {\uniform}; -\addlegendentry {Uniformes \(N=12\) Gitter}; - -\addplot[ - color=green!70!black, - thick -] table [ - x expr=8*\thisrow{time}, y=lift -] {\refined}; -\addlegendentry {Problembezogen verfeinertes \(N=5\) Gitter}; - -\addplot[color=black]{1.0}; -\addlegendentry {Gemittelte Referenzlösung \(c_\text{Lmax} := 1\)}; - -\end{axis} -\end{tikzpicture} - -- cgit v1.2.3