Skip to content
Snippets Groups Projects
Commit 7f6591a7 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'feature/update-mainfile-exercise' into 'master'

[mainfile] fix readme

Closes #32

See merge request !169
parents 88b1a77c 57c94b09
No related branches found
No related tags found
1 merge request!169[mainfile] fix readme
Pipeline #30408 passed
...@@ -14,11 +14,11 @@ To summarize, the problems differ in: ...@@ -14,11 +14,11 @@ To summarize, the problems differ in:
* exercise mainfile b: a one-phase compressible, stationary problem * exercise mainfile b: a one-phase compressible, stationary problem
* exercise mainfile c: a one-phase compressible, instationary problem * exercise mainfile c: a one-phase compressible, instationary problem
The problem set-up for all three examples is always the same: It is a two dimensional problem and the domain is $`1 m`$ by $`1 m`$. It is a heterogeneous set-up with a lens in the middle of the domain which has a lower permeability ($`1\cdot 10^{-12} m^2`$ compared to $`1\cdot 10^{-10} m^2`$ in the rest of the domain). The problem set-up for all three examples is always the same: It is a two dimensional problem and the domain is $1 m$ by $1 m$. It is a heterogeneous set-up with a lens in the middle of the domain which has a lower permeability ($1\cdot 10^{-12} m^2$ compared to $1\cdot 10^{-10} m^2$ in the rest of the domain).
<img src="https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/master/exercises/extradoc/exercise1_1p_setup.png" width="1000"> <img src="https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/master/exercises/extradoc/exercise1_1p_setup.png" width="1000">
In the beginning, there is a uniform pressure of $`1\cdot 10^5 Pa`$ in the whole domain. On the top and the bottom border, dirichlet boundary conditions are set with a pressure of $`1\cdot 10^5 Pa`$ on top and $`2 \cdot 10^5 Pa`$ on the bottom. At the sides, there is no in- or outflow and there are no source terms. In the beginning, there is a uniform pressure of $1\cdot 10^5 Pa$ in the whole domain. On the top and the bottom border, dirichlet boundary conditions are set with a pressure of $1\cdot 10^5 Pa$ on top and $2 \cdot 10^5 Pa$ on the bottom. At the sides, there is no in- or outflow and there are no source terms.
## Preparing the exercise ## Preparing the exercise
...@@ -183,10 +183,10 @@ paraview 1p_incompressible_stationary.pvd ...@@ -183,10 +183,10 @@ paraview 1p_incompressible_stationary.pvd
### Task 3: Analytical differentiation ### Task 3: Analytical differentiation
<hr> <hr>
In the input file `exercise_1p_a.input`, you will see that there is a variable `BaseEpsilon`. In the input file `exercise_mainfile_a.input`, you will see that there is a variable `BaseEpsilon`.
This defines the base for the epsilon used in the numeric differentiation. This defines the base for the epsilon used in the numeric differentiation.
If that value is too small, you will see that the solution of the numeric differentiation is not correct. If that value is too small, you will see that the solution of the numeric differentiation is not correct.
Change that value to $`1 \cdot 10^{-15}`$ and have a look at the solution. Change that value to $1 \cdot 10^{-15}$ and have a look at the solution.
For the incompressible one phase problem, it is also possible to have an analytic solution method. For the incompressible one phase problem, it is also possible to have an analytic solution method.
In this case, the epsilon does not play a role anymore, since the derivatives are calculated analytically. In this case, the epsilon does not play a role anymore, since the derivatives are calculated analytically.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment