aboutsummaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-01-18 16:31:22 +0100
committerAdrian Kummerlaender2019-01-18 16:31:22 +0100
commit5770cbf3327ed4d1a70a81c9dd0fc997ce1a804c (patch)
tree596a8c15500edd6e60d1b242cd24b8270ff8a50a /img
parentb885be1862dcdfa15e5a5e337370da66ff1147e4 (diff)
downloadgrid_refinement_bsc_thesis-5770cbf3327ed4d1a70a81c9dd0fc997ce1a804c.tar
grid_refinement_bsc_thesis-5770cbf3327ed4d1a70a81c9dd0fc997ce1a804c.tar.gz
grid_refinement_bsc_thesis-5770cbf3327ed4d1a70a81c9dd0fc997ce1a804c.tar.bz2
grid_refinement_bsc_thesis-5770cbf3327ed4d1a70a81c9dd0fc997ce1a804c.tar.lz
grid_refinement_bsc_thesis-5770cbf3327ed4d1a70a81c9dd0fc997ce1a804c.tar.xz
grid_refinement_bsc_thesis-5770cbf3327ed4d1a70a81c9dd0fc997ce1a804c.tar.zst
grid_refinement_bsc_thesis-5770cbf3327ed4d1a70a81c9dd0fc997ce1a804c.zip
Add poiseuille2d setup figure
Diffstat (limited to 'img')
-rw-r--r--img/poiseuille2d_setup.tikz38
1 files changed, 38 insertions, 0 deletions
diff --git a/img/poiseuille2d_setup.tikz b/img/poiseuille2d_setup.tikz
new file mode 100644
index 0000000..c4e50f5
--- /dev/null
+++ b/img/poiseuille2d_setup.tikz
@@ -0,0 +1,38 @@
+\begin{tikzpicture}[
+ scale=0.375,
+ coarse/.style={circle,thick,inner sep=2},
+ fine/.style={cross out,thick,inner sep=0.75},
+ legend/.style={minimum height=1,minimum width=1}
+]
+
+\foreach \x in {0,...,20}
+ \foreach \y in {0,...,10}{
+ \ifthenelse{\equal{\y}{0} \OR \equal{\y}{10}}{
+ \node[coarse,draw=black] at (\x,\y){ };
+ }{
+ \ifthenelse{\equal{\x}{0}}{
+ \node[coarse,draw=green] at (\x,\y){ };
+ }{
+ \node[coarse,draw=blue] at (\x,\y){ };
+ }
+ }
+ }
+
+\foreach \x in {0,...,42}
+ \foreach \y in {0,...,20}{
+ \ifthenelse{\equal{\y}{0} \OR \equal{\y}{20}}{
+ \node[fine,draw=black] at (19+\x*0.5,\y*0.5){ };
+ }{
+ \ifthenelse{\equal{\x}{42}}{
+ \node[fine,draw=red] at (19+\x*0.5,\y*0.5){ };
+ }{
+ \node[fine,draw=blue] at (19+\x*0.5,\y*0.5){ };
+ }
+ }
+ }
+
+\node[legend,fill=blue,label=0:Fluid] at (9+0*6,-2) { };
+\node[legend,fill=black,label=0:Wand] at (9+1*6,-2) { };
+\node[legend,fill=green,label=0:Einfluss] at (9+2*6,-2) { };
+\node[legend,fill=red,label=0:Ausfluss] at (9+3*6,-2) { };
+\end{tikzpicture}