mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-23 16:00:01 -06:00
- added a tiny exercise to the coupled tutorial: change from cubes to simplex
This commit is contained in:
parent
790cae9592
commit
70fb80746e
@ -42,6 +42,7 @@
|
||||
\usepackage{enumerate}
|
||||
\usepackage{rotating}
|
||||
\usepackage{subfig}
|
||||
\usepackage{units}
|
||||
|
||||
\ifpdf
|
||||
\usepackage{auto-pst-pdf}
|
||||
|
@ -351,9 +351,9 @@ to make only some small changes in the tutorial files.
|
||||
|
||||
\item \textbf{Changing the Model Domain and the Boundary Conditions} \\
|
||||
Change the size of the model domain so that you get a rectangle with
|
||||
edge lengths of $\text{x} = 400 m$ and $\text{y} = 500 m$ and with
|
||||
discretization lengths of $\Delta \text{x} = 20$ m and $\Delta
|
||||
\text{y} = 20$ m.
|
||||
edge lengths of $\text{x} = \unit[400]{m}$ and $\text{y} = \unit[500]{m}$ and with
|
||||
discretization lengths of $\Delta \text{x} = \unit[20]{m}$ and $\Delta
|
||||
\text{y} = \unit[20]{m}$.
|
||||
|
||||
Change the boundary conditions in the file
|
||||
\texttt{tutorialproblem\_coupled.hh} so that water enters from the
|
||||
@ -363,6 +363,9 @@ to make only some small changes in the tutorial files.
|
||||
Compile the main file by typing \texttt{make tutorial\_coupled} and
|
||||
run the model as explained above.
|
||||
|
||||
\item \textbf{Changing the shape of the discrete elements} \\
|
||||
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/}. The shape of the employed elements can be visualized in paraview by choosing \texttt{Surface with Edges}.
|
||||
|
||||
\item \textbf{Changing Fluids} \\
|
||||
Now you can change the fluids. Use DNAPL instead of Oil and Brine instead of Water. To do that, you have to select different components via the property system in the problem file:
|
||||
\begin{enumerate}
|
||||
|
@ -57,7 +57,7 @@ SET_PROP(TutorialProblemCoupled, Problem) /*@\label{tutorial-coupled:set-problem
|
||||
|
||||
// Set grid and the grid creator to be used
|
||||
SET_TYPE_PROP(TutorialProblemCoupled, Grid, Dune::YaspGrid</*dim=*/2>); /*@\label{tutorial-coupled:set-grid}@*/
|
||||
SET_TYPE_PROP(TutorialProblemCoupled, GridCreator, Dumux::CubeGridCreator<TypeTag>); /*@\label{tutorial-coupled:set-grid}@*/
|
||||
SET_TYPE_PROP(TutorialProblemCoupled, GridCreator, Dumux::CubeGridCreator<TypeTag>); /*@\label{tutorial-coupled:set-gridcreator}@*/
|
||||
|
||||
// Set the wetting phase
|
||||
SET_PROP(TutorialProblemCoupled, WettingPhase) /*@\label{tutorial-coupled:2p-system-start}@*/
|
||||
|
Loading…
Reference in New Issue
Block a user