Commit 4567c93b authored by Johannes Hommel's avatar Johannes Hommel
Browse files

Merge branch 'fix/removing-some-inconsistencies' into 'master'

Fix/removing some inconsistencies

See merge request !81
parents c2c77b66 3c9328fe
Pipeline #1498 passed with stage
in 36 seconds
......@@ -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 <br/>
$`\displaystyle T(y) = 283~\text{K} + 0.03~\frac{\text{K}}{\text{m}} \cdot \left( d_\text{aquifer} - y \right) `$, <br/>
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.
<img src="https://git.iws.uni-stuttgart.de/dumux-repositories/dumux-course/raw/master/exercises/extradoc/exercise1_nonisothermal.png" width="800">
......
......@@ -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)
*/
}
......
No preview for this file type
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment