diff --git a/exercises/exercise-basic/README.md b/exercises/exercise-basic/README.md index c7d5417d2d35695148e167a38212ed84c4c2a4c7..7dab4bb7b3a48cd7f3113fe384337f27bdb4898c 100644 --- a/exercises/exercise-basic/README.md +++ b/exercises/exercise-basic/README.md @@ -88,9 +88,13 @@ 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}$. + __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}$. +Assign Neumann no-flow for the energy balance to the rest of the boundaries. - __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. + __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. 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) */ } diff --git a/slides/dumux-course-intro.pdf b/slides/dumux-course-intro.pdf index 4cc71d83fe3ab7a03937a08a071973ded6bf1bb8..3c0b7c86ec97998884659a4e5b60f7918aa16742 100644 Binary files a/slides/dumux-course-intro.pdf and b/slides/dumux-course-intro.pdf differ