From ac66c19ae46d8537d4f9bd1d693c0f012d797531 Mon Sep 17 00:00:00 2001 From: Felix Weinhardt <felix.weinhardt@gmx.de> Date: Wed, 24 Apr 2019 15:02:24 +0200 Subject: [PATCH] modified README.md for 1ptracer --- examples/1ptracer/README.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/examples/1ptracer/README.md b/examples/1ptracer/README.md index 82211db997..ca612a5ebd 100644 --- a/examples/1ptracer/README.md +++ b/examples/1ptracer/README.md @@ -1,12 +1,25 @@ -This tutorial was copied from /home/felix/Dokumente/Aktuelles_U/19_03_27_DumuxTag/dumux/dumux/test/porousmediumflow/tracer/1ptracer. +This tutorial was copied from dumux/test/porousmediumflow/tracer/1ptracer. # One-phase flow with with random permeability distribution (and a tracer model) ## Problem set-up -This example combines a stationary One-phase flow in a porous medium with randomly generated permeabilities with a tracer model. In the first step, the groundwater-velocity is evaluated under stationary conditions. Based on the velocity field the tracer model is running instationary. +A contaminant tracer is diluted by diffusion and a base groundwater flow from the bottom to the top. The permeability within the domain is randomly distributed. -## Random permeability generation +### main file +This example combines a stationary One-phase flow problem with a tracer model. In the first step, the groundwater-velocity is evaluated under stationary conditions. Based on the volume fluxes, the tracer model is solved instationary. Therefore both, the problem_1p.hh and the problem_tracer.hh have to be included in the main file. + +```C++ +#include "problem_1p.hh" +#include "problem_tracer.hh" +``` +In lines 83-192, the stationary 1p problem is setup and soved and the volume fluxes are calculated for the tracer problem. +In lines 193-292, the tracer problem is set up on the same grid and solved instationary. + +## 1p problem +### problem_1p.hh +?? ### spatialparams_1p.hh +#### Random permeability generation The follwing code can be found in lines 64-72. ```C++ @@ -25,4 +38,8 @@ Two lognormal distributions are defined: K and KLens with different means and st Within a loop through all elements the randomly generated permeabilities are assigned according to their position in the domain (inside or outside the lense). ## Tracer model -... \ No newline at end of file +### problem_tracer.hh +The molar mass of the component and the binary diffusion coefficient can modified in lines 117-128. + +### spatialparams_tracer.hh +The density, the molar mass of the fluid as well as the prosity and dispersivity can be adapted in the lines 63-93. \ No newline at end of file -- GitLab