aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to 'img')
-rw-r--r--img/cylinder2d_deltap_comparison.tikz5
-rw-r--r--img/cylinder2d_drag_lift_comparison.tikz (renamed from img/cylinder2d_drag_comparison.tikz)46
-rw-r--r--img/cylinder2d_high_res_drag_comparison.tikz33
-rw-r--r--img/cylinder2d_high_res_lift_deltap_comparison.tikz (renamed from img/cylinder2d_high_res_comparsion.tikz)29
-rw-r--r--img/cylinder2d_lift_comparison.tikz41
5 files changed, 79 insertions, 75 deletions
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_lift_comparison.tikz
index 82746f3..ca4bb02 100644
--- a/img/cylinder2d_drag_comparison.tikz
+++ b/img/cylinder2d_drag_lift_comparison.tikz
@@ -5,16 +5,15 @@
\begin{axis}[
scale only axis,
- height=8cm,
+ height=7.5cm,
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
+ ylabel absolute, every axis y label/.append style={yshift=0.2cm}
]
\addplot[
@@ -23,7 +22,6 @@
] table [
x expr=\thisrow{time}, y=drag
] {\uniform};
-\addlegendentry {Uniformes \(N=12\) Gitter};
\addplot[
color=green!70!black,
@@ -31,11 +29,47 @@
] 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}
+\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_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_comparsion.tikz b/img/cylinder2d_high_res_lift_deltap_comparison.tikz
index 97d6ba7..358a893 100644
--- a/img/cylinder2d_high_res_comparsion.tikz
+++ b/img/cylinder2d_high_res_lift_deltap_comparison.tikz
@@ -5,30 +5,7 @@
\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,
+ height=7.5cm,
width=0.9*\textwidth,
legend cell align=left,
legend pos=south east,
@@ -50,8 +27,8 @@
\begin{axis}[
scale only axis,
- yshift=-14cm,
- height=6cm,
+ yshift=-8.5cm,
+ height=7.5cm,
width=0.9*\textwidth,
legend cell align=left,
legend pos=south east,
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}
-