diff --git a/exercises/exercise-basic/README.md b/exercises/exercise-basic/README.md index c7d5417d2d35695148e167a38212ed84c4c2a4c7..7ba3cbbdfb4d183edc4979581a4532e8bdc33ca3 100644 --- a/exercises/exercise-basic/README.md +++ b/exercises/exercise-basic/README.md @@ -88,9 +88,9 @@ make exercise_basic_2pni # builds new executable * The following set-up should be realized: - __Boundary conditions:__ Dirichlet conditions for the temperature with a varying temperature of $`\displaystyle T(y) = 283~\text{K} + 0.03~\frac{\text{K}}{\text{m}} \cdot \left( d_\text{aquifer} - y \right) `$, with the aquifer depth $`\displaystyle d_\text{aquifer}=2700~\text{m}`$. - - __Initial conditions:__ The same temperature gradient as in the boundary conditions with an additional lens (with position: 20 < x < 30, 5 < y < 35), which has an initial temperature of 380 K. + __Boundary conditions:__ Dirichlet conditions at the left boundary. For the primary variable 'temperature' use a varying temperature of $`\displaystyle T(y) = 283~\text{K} + 0.03~\frac{\text{K}}{\text{m}} \cdot \left( d_\text{aquifer} - y \right) `$, with the aquifer depth $`\displaystyle d_\text{aquifer}=2700~\text{m}`$. Neumann no-flow for the energy balance in the rest of the boundaries. +e + __Initial conditions:__ The same temperature gradient as in the boundary conditions with an exception in the subdomain (20 < x < 30, 5 < y < 35), where you assign a constant initial temperature of 380 K. <img src="https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/master/exercises/extradoc/exercise1_nonisothermal.png" width="800"> diff --git a/exercises/exercise-basic/injection2pniproblem.hh b/exercises/exercise-basic/injection2pniproblem.hh index f6cc0c82da167277c9989e0a471a4a8bc4ac1b8a..82967461b9d0109fbd623bff9c033f9825dcbf20 100644 --- a/exercises/exercise-basic/injection2pniproblem.hh +++ b/exercises/exercise-basic/injection2pniproblem.hh @@ -175,6 +175,14 @@ public: else bcTypes.setAllNeumann(); + /*! + * TODO:dumux-course-task: + * dumux-course-task: + * set Dirichlet conditions for the energy equation on the left boundary + * and Neumann everywhere else + * think about: is there anything necessary to do here? + */ + return bcTypes; } @@ -187,6 +195,13 @@ public: PrimaryVariables dirichletAtPos(const GlobalPosition &globalPos) const { return initialAtPos(globalPos); + + /*! + * TODO:dumux-course-task: + * dumux-course-task: + * set Dirichlet conditions for the energy equation on the left boundary + * think about: is there anything necessary to do here? + */ } /*! @@ -212,8 +227,8 @@ public: /*! * TODO:dumux-course-task: * dumux-course-task: - * set Neumann noflow conditions for the energy equation everywhere - * hint: use Indices::energyEqIdx) for that + * set Neumann noflow conditions for the energy equation everywhere else except the left boundary + * hint: use Indices::energyEqIdx) for that (if required) */ }