aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-01-27 15:36:02 +0100
committerAdrian Kummerlaender2019-01-27 15:36:02 +0100
commit26ee480bc4729d3d8269fa48910990d4a50e5d2e (patch)
tree083cff7ba520959758b984f5231591d595dc0303 /img
parent25e9105bfa39d4f672e77d31ab57f7d96b0d70e9 (diff)
downloadgrid_refinement_bsc_thesis-26ee480bc4729d3d8269fa48910990d4a50e5d2e.tar
grid_refinement_bsc_thesis-26ee480bc4729d3d8269fa48910990d4a50e5d2e.tar.gz
grid_refinement_bsc_thesis-26ee480bc4729d3d8269fa48910990d4a50e5d2e.tar.bz2
grid_refinement_bsc_thesis-26ee480bc4729d3d8269fa48910990d4a50e5d2e.tar.lz
grid_refinement_bsc_thesis-26ee480bc4729d3d8269fa48910990d4a50e5d2e.tar.xz
grid_refinement_bsc_thesis-26ee480bc4729d3d8269fa48910990d4a50e5d2e.tar.zst
grid_refinement_bsc_thesis-26ee480bc4729d3d8269fa48910990d4a50e5d2e.zip
Add small poiseuille grid structure schematics
Diffstat (limited to 'img')
-rw-r--r--img/poiseuille2d_error_comparison.tikz60
1 files changed, 48 insertions, 12 deletions
diff --git a/img/poiseuille2d_error_comparison.tikz b/img/poiseuille2d_error_comparison.tikz
index 54e4ac8..d9b63e2 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=6.5cm,
width=0.7*\textwidth,
symbolic x coords={\texttt{uN10},\texttt{uN20},\texttt{vN10A},\texttt{vN20A},\texttt{vN10B},\texttt{vN20B}},
xtick=data,
@@ -37,16 +37,52 @@
\end{tikzpicture}
\bigskip
-\begin{tabular}{l l l l}
+
+\begin{tabular}{l m{4cm} l l}
& Gitterstruktur & Geschwindigkeitsfehler & Druckfehler \\
-\hline
-\texttt{uN10} & \(11 \times 41\) & 1.88337e-3 & 3.11534e-3 \\
-\hline
-\texttt{uN20} & \(21 \times 81\) & 1.16253e-3 & 2.27404e-3 \\
-\hline
-\texttt{vN10A} & \(11 \times 21\) & 1.00761e-2 & 2.71447e-2 \\
-\texttt{vN20A} & \hphantom{\(11 \times 21\)} \(21 \times 43\) & 1.02424e-2 & 2.07924e-2 \\
-\hline
-\texttt{vN10B} & \(11 \times 41\) & 1.77561e-3 & 3.11244e-3 \\
-\texttt{vN20B} & \hphantom{\(11 \times 41\)} \(17 \times 41\) & 2.04335e-3 & 3.39432e-3 \\
+\hline \\[-1.75ex]
+
+\texttt{uN10}
+& \begin{tikzpicture}
+\draw[fill=gray!20!white] (0,0) rectangle (4,1) node[pos=.5] {\(11 \times 41\)};
+\end{tikzpicture}
+& 1.88337e-3 & 3.11534e-3 \\
+\hline \\[-1.75ex]
+
+\texttt{uN20}
+& \begin{tikzpicture}
+\draw[fill=gray!20!white] (0,0) rectangle (4,1) node[pos=.5] {\(21 \times 81\)};
+\end{tikzpicture}
+& 1.16253e-3 & 2.27404e-3 \\
+\hline \\[-1.75ex]
+
+\texttt{vN10A}
+& \begin{tikzpicture}
+\draw[fill=gray!20!white] (0,0) rectangle (2,1) node[pos=.5] {\(11 \times 21\)};
+\draw (2,0) rectangle (4,1) node[pos=.5] {\(21 \times 43\)};
+\end{tikzpicture}
+& 1.00761e-2 & 2.71447e-2 \\
+\texttt{vN20A}
+& \begin{tikzpicture}
+\draw (0,0) rectangle (2,1) node[pos=.5] {\(11 \times 21\)};
+\draw[fill=gray!20!white] (2,0) rectangle (4,1) node[pos=.5] {\(21 \times 43\)};
+\end{tikzpicture}
+& 1.02424e-2 & 2.07924e-2 \\
+\hline \\[-1.75ex]
+
+\texttt{vN10B}
+& \begin{tikzpicture}
+\draw[fill=gray!20!white] (0,0) rectangle (4,1);
+\draw[gray!20!white,text=black] (0,0) rectangle (2,1) node[pos=0.5] {\(11 \times 41\)};
+\draw (0,0) rectangle (4,1);
+\draw[fill=white,text=black] (2,0.1) rectangle (3.9,0.9) node[pos=.5] {\(17 \times 41\)};
+\end{tikzpicture}
+& 1.77561e-3 & 3.11244e-3 \\
+\texttt{vN20B}
+& \begin{tikzpicture}
+\draw[white,text=black] (0,0) rectangle (2,1) node[pos=0.5] {\(11 \times 41\)};
+\draw (0,0) rectangle (4,1);
+\draw[fill=gray!20!white,text=black] (2,0.1) rectangle (3.9,0.9) node[pos=.5] {\(17 \times 41\)};
+\end{tikzpicture}
+& 2.04335e-3 & 3.39432e-3 \\
\end{tabular}