Add continuum mechanics' P2 lab session

Change-Id: Ia6c229f2297a1ff24c27bbfb48212ba7812198ae
diff --git a/quad8/continuummechanics/lab/p2/informecurt/main.tex b/quad8/continuummechanics/lab/p2/informecurt/main.tex
new file mode 100644
index 0000000..7ce09f1
--- /dev/null
+++ b/quad8/continuummechanics/lab/p2/informecurt/main.tex
@@ -0,0 +1,145 @@
+\documentclass[11pt,a4paper]{article}
+\usepackage[utf8]{inputenc}
+\usepackage[spanish]{babel}
+\usepackage{fancyhdr}
+\usepackage{graphicx}
+\usepackage[labelfont=bf]{caption}
+\usepackage{siunitx}
+\usepackage{geometry}
+\geometry{top=25mm}
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{booktabs}
+\usepackage{chemformula}
+\usepackage{multicol}
+\usepackage{hyperref}
+\usepackage{adjustbox}
+\usepackage{float}
+
+\usepackage{pgfplotstable}
+\pgfplotsset{compat=1.17}
+\pgfplotstableset{
+empty cells with={--}, % replace empty cells with ’--’
+every head row/.style={before row=\toprule,after row=\midrule},
+every last row/.style={after row=\bottomrule}%,
+%every even row/.style={
+%before row={\rowcolor[gray]{0.9}}}, % Add this for stylish tables ;)
+%begin table=\begin{longtable},
+%end table=\end{longtable}
+}
+\usepackage{chngcntr}
+\counterwithin{figure}{section}
+\counterwithin{table}{section}
+
+% Who the heck calls tables "cuadros"? We should call RAE to add an entry to thepage
+% word "tabla", so it can be used like "cuadro" ;)
+\addto\captionsspanish{%
+\def\tablename{Tabla}%
+}
+
+% Yep, it's not a SI unit, but screw it! ;)
+\DeclareSIUnit\rpm{RPM}
+
+\sisetup{separate-uncertainty=true}
+\setlength{\parskip}{1em}
+\pagestyle{fancy}
+\fancyhf{}
+\rhead{David Díaz, Adrià Vilanova}
+\lhead{Práctica 2}
+\rfoot{\thepage}
+
+%%%% Title %%%%
+\title{\vspace{-4ex}Práctica 2. Determinación de la viscosidad}
+\author{David Díaz, Adrià Vilanova}
+\date{Primavera 2020-21}
+\begin{document}
+  {\parskip=0pt
+    \maketitle
+  }
+
+  \section{Gel de baño}
+
+  \begin{table}[H]
+    \centering
+    \pgfplotstabletypeset[
+      columns={0, 1, 2, 3},
+      columns/0/.style={column name=$\omega \, (\si{\rpm})$, fixed, precision=0},
+      columns/1/.style={column name=$\eta \, (\si{\milli\pascal\per\second})$, fixed, fixed zerofill, precision=1},
+      columns/2/.style={column name=\% \textit{torque}, fixed, fixed zerofill, precision=1},
+      columns/3/.style={column name=$T \, (\si{\celsius})$, fixed, fixed zerofill, precision=1}
+    ]{../data/gel.dat}
+    \caption{Datos experimentales obtenidos para el gel de baño mediante el viscosímetro de rotación usando la varilla L4.}
+  \end{table}
+
+  \begin{figure}[ht]
+    \centering
+    \begin{minipage}{0.46\textwidth}
+      \centering
+      \input{../output/gel_viscosity_vs_rpm.tex}
+      \captionof{figure}{Viscosidad en función de la velocidad de rotación para el gel de baño.}
+    \end{minipage}\hfill
+    \begin{minipage}{0.46\textwidth}
+      \centering
+      \input{../output/gel_torque_vs_rpm.tex}
+      \captionof{figure}{\textit{Torque} en función de la velocidad de rotación para el gel de baño.}
+    \end{minipage}
+  \end{figure}
+
+  \textbf{Tipo de fluido según sus características reológicas}: pseudoplástico o \textit{shear thinning}.
+
+  \section{Glicerina}
+
+  \begin{table}[H]
+    \centering
+    \pgfplotstabletypeset[
+      columns={0, 1, 2, 3},
+      columns/0/.style={column name=$\omega \, (\si{\rpm})$, fixed, precision=0},
+      columns/1/.style={column name=$\eta \, (\si{\milli\pascal\per\second})$, fixed, fixed zerofill, precision=1},
+      columns/2/.style={column name=\% \textit{torque}, fixed, fixed zerofill, precision=1},
+      columns/3/.style={column name=$T \, (\si{\celsius})$, fixed, fixed zerofill, precision=1}
+    ]{../data/glicerina.dat}
+    \caption{Datos experimentales obtenidos para la glicerina mediante el viscosímetro de rotación usando la varilla L3.}
+  \end{table}
+
+  \vspace{4ex}
+
+  \begin{figure}[ht]
+    \centering
+    \begin{minipage}{0.45\textwidth}
+      \centering
+      \input{../output/glicerina_viscosity_vs_rpm.tex}
+      \captionof{figure}{Viscosidad en función de la velocidad de rotación para la glicerina.}
+    \end{minipage}\hfill
+    \begin{minipage}{0.45\textwidth}
+      \centering
+      \input{../output/glicerina_torque_vs_rpm.tex}
+      \captionof{figure}{\textit{Torque} en función de la velocidad de rotación para la glicerina.}
+    \end{minipage}
+  \end{figure}
+
+  \vspace{4ex}
+
+  \textbf{Tipo de fluido según sus características reológicas}: newtoniano.
+
+  \newpage
+
+  \section{Glicerina. Viscosidad en función de la temperatura}
+  \begin{table}[H]
+    \centering
+    \pgfplotstabletypeset[
+      columns={3, 1, 3, 1},
+      display columns/0/.style={select equal part entry of={0}{2}, column name=$\eta \, (\si{\milli\pascal\per\second})$, fixed, fixed zerofill, precision=1},
+      display columns/1/.style={select equal part entry of={0}{2}, column name=$T \, (\si{\celsius})$, fixed, fixed zerofill, precision=1, column type/.add={}{||}},
+      display columns/2/.style={select equal part entry of={1}{2}, column name=$\eta \, (\si{\milli\pascal\per\second})$, fixed, fixed zerofill, precision=1},
+      display columns/3/.style={select equal part entry of={1}{2}, column name=$T \, (\si{\celsius})$, fixed, fixed zerofill, precision=1}
+    ]{../data/glicerina_temperatura.dat}
+    \caption{Datos experimentales obtenidos para la glicerina mientras se enfriaba mediante el viscosímetro de rotación usando la varilla L3, y una rotación fija de $\SI{200}{\rpm}$.}
+  \end{table}
+
+  \begin{figure}[H]
+    \centering
+    \input{../output/glicerina_viscosity_vs_t.tex}
+    \caption{Viscosidad en función de la temperatura para la glicerina.}
+  \end{figure}
+
+\end{document}