diff --git a/tutorial/ex1/CMakeLists.txt b/tutorial/ex1/CMakeLists.txt index 8f7d6e6d612bb4367ac59616ff6b528303ed2a8b..b23435c8861cd8d2ab517f68cceb03f37faffac4 100644 --- a/tutorial/ex1/CMakeLists.txt +++ b/tutorial/ex1/CMakeLists.txt @@ -1,10 +1,12 @@ # the immiscible two-phase simulation program dune_add_test(NAME exercise1_2p - SOURCES exercise1_2p.cc) + SOURCES exercise1_2p.cc + COMMAND ./exercise1_2p exercise1.input) # the compositional two-phase simulation program dune_add_test(NAME exercise1_2p2c - SOURCES exercise1_2p2c.cc) + SOURCES exercise1_2p2c.cc + COMMAND ./exercise1_2p2c exercise1.input) # add a symlink for the input file dune_symlink_to_source_files(FILES "exercise1.input") diff --git a/tutorial/ex1/README.md b/tutorial/ex1/README.md index cac3a86d71033a1df6c68b182a58eafef942a2cd..4b112829581fda1a1967270c2f72b8c29123893a 100644 --- a/tutorial/ex1/README.md +++ b/tutorial/ex1/README.md @@ -104,7 +104,7 @@ in the `injection2p2cproblem.hh` file and also remember to also set the paramete * Check the influence of that parameter on the simulation result by rerunning the simulation with different injection rates. Remember to also set the parameter totalAreaSpecificInflow in the input file. -Again, you don't need to recompile the program. +Since you have changed your header hile, you have to recompile the program. <hr><br><br> ### 5. Setting up a new executable (for a non-isothermal simulation)