Skip to content
Snippets Groups Projects
Commit c14dd3b9 authored by Ned Coltman's avatar Ned Coltman
Browse files

[basics][propertiesheader] update readme

parent 453814d3
No related branches found
No related tags found
1 merge request!90Basic Exercise with separate properties header
...@@ -23,6 +23,8 @@ Locate all the files you will need for this exercise ...@@ -23,6 +23,8 @@ Locate all the files you will need for this exercise
* The __main file__ for the __2p2c__ problem : `2p2cmain.cc` * The __main file__ for the __2p2c__ problem : `2p2cmain.cc`
* The __problem file__ for the __2p__ problem: `injection2pproblem.hh` * The __problem file__ for the __2p__ problem: `injection2pproblem.hh`
* The __problem file__ for the __2p2c__ problem: `injection2p2cproblem.hh` * The __problem file__ for the __2p2c__ problem: `injection2p2cproblem.hh`
* The __properties file__ for the __2p__problem: `properties2p.hh`
* The __properties file__ for the __2p2c__problem: `properties2p2c.hh`
* The shared __spatial parameters file__: `injection2pspatialparams.hh` * The shared __spatial parameters file__: `injection2pspatialparams.hh`
* The shared __input file__: `params.input` * The shared __input file__: `params.input`
...@@ -60,7 +62,7 @@ paraview injection-2p2c.pvd ...@@ -60,7 +62,7 @@ paraview injection-2p2c.pvd
<hr> <hr>
* Copy the main file `2pmain.cc` and rename it to `2pnimain.cc` * Copy the main file `2pmain.cc` and rename it to `2pnimain.cc`
* In `2pnimain.cc`, include the header `injection2pniproblem.hh` instead of `injection2pproblem.hh`. * In `2pnimain.cc`, include the header `properties2pni.hh` instead of `properties2p.hh`.
* In `2pnimain.cc`, change `Injection2pCC` to `Injection2pNICC` in the line `using TypeTag = Properties::TTag::Injection2pNICC;` * In `2pnimain.cc`, change `Injection2pCC` to `Injection2pNICC` in the line `using TypeTag = Properties::TTag::Injection2pNICC;`
* Add a new executable in `CMakeLists.txt` by adding the lines * Add a new executable in `CMakeLists.txt` by adding the lines
...@@ -81,7 +83,9 @@ make exercise_basic_2pni # builds new executable ...@@ -81,7 +83,9 @@ make exercise_basic_2pni # builds new executable
### Task 4: Setting up a non-isothermal __2pni__ test problem ### Task 4: Setting up a non-isothermal __2pni__ test problem
<hr> <hr>
* Open the file `injection2pniproblem.hh`. It is a copy of the `injection2pproblem.hh` with some useful comments on how to implement a non-isothermal model. Look for comments containing * Open the files `injection2pniproblem.hh` and `properties2pni.hh`.
These are a copies of the `injection2pproblem.hh` `properties2pni.hh` files, with some useful comments on how to implement a non-isothermal model.
Look for comments containing
```c++ ```c++
// TODO: dumux-course-task 4 // TODO: dumux-course-task 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment