Commit 89350ab6 authored by Simon Scholz's avatar Simon Scholz
Browse files

[biomin] readme update

parent f5d8bfc8
......@@ -19,7 +19,7 @@ Disclaimer: Please note, that this is not a realistic scenario. One does not wan
### 1. Getting familiar with the code
Locate all the files you will need for this exercise
* The shared __main file__ : `exercisebiomin.cc`
* The __main file__ : `exercisebiomin.cc`
* The __input file__: `exercisebiomin.input`
* The __problem file__ : `biominproblem.hh`
* The __spatial parameters file__: `biominspatialparams.hh`
......@@ -81,7 +81,7 @@ using Chemistry = typename Dumux::SimpleBiominReactions<TypeTag>;
__Task__
Now the source/sink term can be updated in the problem file. You find it in line 343. You can access the newly created chemistry file and call the reactionSource()-function from it. Make sure to call the reactionSource()-function with the correct arguments. Return the updated source terms in the end.
The volume variables can be set using the element volume variables and the sub control volume.
The volume variables can be set using the element volume variables and the sub control volume:
```c++
const auto& volVars = elemVolVars[scv];
......@@ -106,7 +106,7 @@ make exercisebiomin
__Task:__
Vary input parameters in the input file. Available for variation are the overall injection duration in days (`InjBioTime`), the initial biomass (`InitBiofilm`), the overall injection rate (`InjVolumeflux`) and the injected concentrations of urea and calcium (`concUrea` and `concCa`). When changing the concentrations, keep in mind that both urea and calcium are needed for the reaction and their mass ratio should be 2 calcium to 3 urea for a good molar ratio of 1 mol urea per 1 mol of calcium, see also the molar masses in the component files.
Vary input parameters in the input file to seal the leakage pathway. The overall injection duration in days (`InjBioTime`), the initial biomass (`InitBiofilm`), the overall injection rate (`InjVolumeflux`) and the injected concentrations of urea and calcium (`ConcUrea` and `ConcCa`) are available for variation. When changing the concentrations, keep in mind that both urea and calcium are needed for the reaction and their mass ratio should be 2 calcium to 3 urea for a good molar ratio of 1 mol urea per 1 mol of calcium, see also the molar masses in the component files.
The result for the porosity should like like this:
......@@ -130,7 +130,7 @@ The result for the biomineralization process after the CO2 injection should look
### Bonus: Paraview Magic: Compare different results using Programmable Filter
In the last step, the manual comparison of the results can be quite difficult. Paraview offers the option to use programmable python filters. To use them, make sure two result files with different names are loaded. Mark both of them and click on `Filters --> Alphabetical --> Programmable Filter`. Now a new field opens on the left side. Copy the following python lines there:
In the last step, the manual comparison of the results can be quite difficult. Paraview offers the option to use programmable python filters. To use them, make sure two result files with __different names__ are loaded. Mark both of them and click on `Filters --> Alphabetical --> Programmable Filter`. Now a new field opens on the left side. Copy the following lines there:
```python
CO2_0 = inputs[0].CellData['x_n^CO2'];
......
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