diff --git a/doc/handbook/tutorial-coupled.tex b/doc/handbook/tutorial-coupled.tex index 8d836eb69b7708dc6e236964a0f04d837d4a53a2..f0a190e33e9fe8cd42c2f5993daeed16f6c396e6 100644 --- a/doc/handbook/tutorial-coupled.tex +++ b/doc/handbook/tutorial-coupled.tex @@ -339,7 +339,7 @@ The following exercises will give you the opportunity to learn how you can change soil parameters, boundary conditions, run-time parameters and fluid properties in \Dumux. Possible solutions to these exercises are given in the tutorial folder in the sub-folder \texttt{solutions\_coupled} as \texttt{.diff} files. In these files only the lines that are different from the original file are listed. -They can be opened with any editor. +They can be opened using the program \texttt{kompare}, simply type \texttt{kompare SOLUTIONFILE} into the terminal. \subsubsection{Exercise 1} \renewcommand{\labelenumi}{\alph{enumi})} For Exercise 1 you have @@ -372,6 +372,8 @@ For the visualization of the results using paraview please refer to section \ref run the model as explained above. \item \textbf{Changing the Shape of the Discrete Elements} \\ + In order to complete this exercise you need a grid module capable of handeling + simplex grids, like \texttt{ALUSimplexGrid}. If this is not the case please skip this exercise. Change the types of elements used for discretizing the domain. In line \ref{tutorial-coupled:set-gridcreator} of the problem file the type of gridcreator is chosen. By choosing a different grid creator you can discretize the domain with different elements. Hint: You can find gridcreators in \texttt{dumux/common/}, change for example from \texttt{cubegridcreator.hh} to \texttt{simplexgridcreator.hh}. @@ -437,7 +439,7 @@ Call the \texttt{set}-functions from the constructor of the \texttt{tutorialspat \includegraphics[width=0.5\linewidth,keepaspectratio]{EPS/exercise1_c.eps} \caption{Exercise 1f: Set-up of a model domain with a heterogeneity. $\Delta x = 20 \;\text{m}$ $\Delta y = 20\;\text{m}$.}\label{tutorial-coupled:exercise1_d} \end{figure} -domain. You can use the fluids of exercise 1c).\\ +domain. You can use the fluids of exercise 1b).\\ \textbf{Hint:} The current position of the control volume can be obtained using \texttt{element\allowbreak.geometry()\allowbreak.corner(scvIdx)}, which returns a vector of the global coordinates of the current position.\\ When does the front cross the material border? In paraview, the @@ -461,10 +463,11 @@ guardian macros in lines \ref{tutorial-coupled:guardian1} and \ref{tutorial-coupled:guardian1} in the header files (e.g. change \mbox{\texttt{DUMUX\_TUTORIALPROBLEM\_COUPLED\_HH}} to\\ -\mbox{\texttt{DUMUX\_EX2\_TUTORIALPROBLEM\_COUPLED\_HH}}). +\mbox{\texttt{DUMUX\_EX2\_TUTORIALPROBLEM\_COUPLED\_HH}}). Include the new problem file in \texttt{tutorial\_coupled.cc}. Besides adjusting the guardian macros, the new problem file should define and use a new type tag for the problem as well as a new problem class -e.g. \mbox{\texttt{Ex2TutorialProblemCoupled}}. Similarly adjust your new spatial parameters file. If you are using Eclipse there is +e.g. \mbox{\texttt{Ex2TutorialProblemCoupled}}. The type tag definition has to be adjusted in \texttt{tutorial\_coupled.cc} too (see line \ref{tutorial-coupled:set-type-tag}). +Similarly adjust your new spatial parameters file. If you are using Eclipse there is a very helpful function called \texttt{Refactor} which you can use to change all similar variables or types in your current file in one go. Just place the cursor at the variable or type you want to change and use the \texttt{Refactor} $\rightarrow$ \texttt{Rename} functionality. Make sure to assign your