avm99963 | 33fc057 | 2021-05-28 00:20:41 +0200 | [diff] [blame] | 1 | \documentclass[11pt,a4paper]{article} |
| 2 | \usepackage[utf8]{inputenc} |
| 3 | \usepackage[catalan]{babel} |
| 4 | \usepackage{fancyhdr} |
| 5 | \usepackage{graphicx} |
| 6 | \usepackage[labelfont=bf]{caption} |
| 7 | \usepackage{siunitx} |
| 8 | \usepackage{geometry} |
| 9 | \geometry{margin=20mm} |
| 10 | \usepackage{amsmath} |
| 11 | \usepackage{amsfonts} |
| 12 | \usepackage{booktabs} |
| 13 | \usepackage{chemformula} |
| 14 | \usepackage{multicol} |
| 15 | \usepackage{hyperref} |
| 16 | |
| 17 | \usepackage{pgfplotstable} |
| 18 | \pgfplotsset{compat=1.16} |
| 19 | \pgfplotstableset{ |
| 20 | empty cells with={--}, % replace empty cells with ’--’ |
| 21 | every head row/.style={before row=\toprule,after row=\midrule}, |
| 22 | every last row/.style={after row=\bottomrule}, |
| 23 | set thousands separator={\,}%, |
| 24 | %every even row/.style={ |
| 25 | %before row={\rowcolor[gray]{0.9}}}, % Add this for stylish tables ;) |
| 26 | %begin table=\begin{longtable}, |
| 27 | %end table=\end{longtable} |
| 28 | } |
| 29 | |
| 30 | \sisetup{separate-uncertainty=true} |
| 31 | |
| 32 | \setlength{\parskip}{1em} |
| 33 | |
| 34 | \pagestyle{fancy} |
| 35 | \fancyhf{} |
| 36 | \rhead{Adrià Vilanova Martínez} |
| 37 | \lhead{Práctica 5} |
| 38 | \rfoot{\thepage} |
| 39 | |
| 40 | %%%% Title %%%% |
| 41 | \title{\vspace{-2ex}Pràctica 5. Anàlisi de la inestabilitat de Rayleigh-Bénard mitjançant dinàmica de fluids computacional} |
| 42 | \author{Adrià Vilanova Martínez (D1)\vspace{-2ex} } |
| 43 | \date{Primavera curs 2020-21} |
| 44 | |
| 45 | \begin{document} |
| 46 | \maketitle |
| 47 | |
| 48 | \begin{center} |
| 49 | \centering |
| 50 | \input{../output/noslip.tex} |
| 51 | \captionof{figure}{Gràfica de la corba d'estabilitat en el cas en què les condicions de contorn són de \textit{no-slip}.} |
| 52 | \end{center} |
| 53 | |
| 54 | \begin{center} |
| 55 | \centering |
| 56 | \pgfplotstabletypeset[ |
| 57 | columns = {0, 2, 3, 4}, |
| 58 | columns/0/.style={column name=$L \, (\si{\meter})$}, |
| 59 | columns/2/.style={column name=$\lambda_x \, (\si{\meter})$, fixed zerofill, precision=2}, |
| 60 | columns/3/.style={column name=$K_x \, (\si{\per\meter})$, fixed zerofill, precision=2}, |
| 61 | columns/4/.style={column name=$Ra^* \, (\pm 10)$} |
| 62 | ]{../data/noslip.dat} |
| 63 | \captionof{table}{Dades obtinguts a les simulacions en el cas en què les condicions de contorn són de \textit{no-slip}.} |
| 64 | \end{center} |
| 65 | |
| 66 | \begin{center} |
| 67 | \centering |
| 68 | \input{../output/slip.tex} |
| 69 | \captionof{figure}{Gràfica de la corba d'estabilitat en el cas en què les condicions de contorn són de \textit{slip}.} |
| 70 | \end{center} |
| 71 | |
| 72 | \begin{center} |
| 73 | \centering |
| 74 | \pgfplotstabletypeset[ |
| 75 | columns = {0, 2, 3, 4}, |
| 76 | columns/0/.style={column name=$L \, (\si{\meter})$}, |
| 77 | columns/2/.style={column name=$\lambda_x \, (\si{\meter})$, fixed zerofill, precision=2}, |
| 78 | columns/3/.style={column name=$K_x \, (\si{\per\meter})$, fixed zerofill, precision=2}, |
| 79 | columns/4/.style={column name=$Ra^* \, (\pm 10)$} |
| 80 | ]{../data/slip.dat} |
| 81 | \captionof{table}{Dades obtinguts a les simulacions en el cas en què les condicions de contorn són de \textit{slip}.} |
| 82 | \end{center} |
| 83 | \end{document} |