diff --git a/exercises/exercise-dunemodule/README.md b/exercises/exercise-dunemodule/README.md index 53b4ba97101e7a6036d5c66be8596d2bd65f9e2b..dafdf9d61fbba54e4ad80adb67c308da60bd4a2f 100644 --- a/exercises/exercise-dunemodule/README.md +++ b/exercises/exercise-dunemodule/README.md @@ -43,7 +43,7 @@ You need to run this command in the folder with content dumux, dumux-course, dun mkdir appl ``` -* Copy some test case from the dumux module, e.g. test_1p from test/porousmediumflow/1p/implicit/compressible +* Copy some test case from the dumux module, e.g. test_1p from test/porousmediumflow/1p/implicit/compressible/stationary * Copy the problem, spatialparams, cc source file, input file * Adjust the CMakeLists.txt file within the dumux-example (or your module name)-folder to include your new subdirectory @@ -52,13 +52,13 @@ mkdir appl ```cmake # add a new finite volume 1p test -dune_add_test(NAME test_1p_compressible_tpfa - SOURCES test_1p.cc +dune_add_test(NAME test_1p_compressible_stationary_tpfa + SOURCES main.cc COMPILE_DEFINITIONS TYPETAG=OnePCompressibleTpfa - CMD_ARGS test_1p.input) + CMD_ARGS params.input) # add a symlink for the input file -dune_symlink_to_source_files(FILES "test_1p.input") +dune_symlink_to_source_files(FILES "params.input") ``` diff --git a/exercises/exercise-fluidsystem/README.md b/exercises/exercise-fluidsystem/README.md index da369d765170ecb8ff5df9c080dc776b24ace82c..d12f4bff34f3037b0d5a2e07c123305df58a181c 100644 --- a/exercises/exercise-fluidsystem/README.md +++ b/exercises/exercise-fluidsystem/README.md @@ -56,7 +56,7 @@ The `TwoP` _TypeTag_ can be found in the `2p/model.hh` header: while the `BoxModel` _TypeTag_ can be found in the `box/properties.hh` header: ```c++ -// The discretization +// The box discretization #include <dumux/discretization/box/properties.hh> ``` @@ -164,7 +164,7 @@ We now want to implement a pressure-dependent density for our component. Open th $`\displaystyle \rho_{MyComp} = \rho_{min} + \frac{ \rho_{max} - \rho_{min} }{ 1 + \rho_{min}*e^{-1.0*k*(\rho_{max} - \rho_{min})*p} } `$ -where $`p`$ is the pressure and $`\rho_{min} = 1440 `$, $`\rho_{max} = 1480 `$ and $`k = 5 \cdot 10^{-7} `$. Also, make sure the header is included in the `2pproblem.hh` file by uncommenting line 54. Furthermore, the new component has to be set as a liquid phase in the fluid system, i.e. comment line 101 and uncomment line 102. The density distribution of this phase (rhoN) at the final simulation time should look like this: +where $`p`$ is the pressure and $`\rho_{min} = 1440 `$, $`\rho_{max} = 1480 `$ and $`k = 5 \cdot 10^{-7} `$. Also, make sure the header is included in the `2pproblem.hh` file by uncommenting line 54. Furthermore, the new component has to be set as a liquid phase in the fluid system, i.e. comment line 109 and uncomment line 110. The density distribution of this phase (rhoN) at the final simulation time should look like this: 