diff --git a/tutorial/tutorial_coupled.cc b/tutorial/tutorial_coupled.cc index cadd3ece019e3efa89d03d7db3eabe3fb43bfd20..13bd3f9b7ab43115b9436d097ea732817482d367 100644 --- a/tutorial/tutorial_coupled.cc +++ b/tutorial/tutorial_coupled.cc @@ -39,13 +39,13 @@ void usage(const char *progName, const std::string &errorMsg) /*@\label{tutoria std::cout << errorMsg << "\n"; std::cout << "\n" - << "The List of Mandatory arguments for this program is:\n" - << "\t-tEnd The end of the simulation [s]\n" - << "\t-dtInitial The initial timestep size [s]\n" - << "\t-Grid.upperRightX The x-coordinate of the grid's upper-right corner [m]\n" - << "\t-Grid.upperRightY The y-coordinate of the grid's upper-right corner [m]\n" - << "\t-Grid.numberOfCellsX The grid's x-resolution\n" - << "\t-Grid.numberOfCellsY The grid's y-resolution\n" + << "The list of mandatory arguments for this program is:\n" + << "\t-TEnd The end of the simulation [s]\n" + << "\t-DtInitial The initial timestep size [s]\n" + << "\t-Grid.UpperRightX The x-coordinate of the grid's upper-right corner [m]\n" + << "\t-Grid.UpperRightY The y-coordinate of the grid's upper-right corner [m]\n" + << "\t-Grid.NumberOfCellsX The grid's x-resolution\n" + << "\t-Grid.NumberOfCellsY The grid's y-resolution\n" << "\n"; } diff --git a/tutorial/tutorial_coupled.input b/tutorial/tutorial_coupled.input index 326a545fcbb202655474c3289255c89c83e1ce9e..29b9f862cd29a12844a25072b3b8e25b58ee4e1e 100644 --- a/tutorial/tutorial_coupled.input +++ b/tutorial/tutorial_coupled.input @@ -1,7 +1,31 @@ -tEnd = 500000 # duration of the simulation [s] -dtInitial = 10 # initial time step size [s] +############################################################### +# Parameter file for tutorial_coupled. +# Everything behind a '#' is a comment. +# Type "./tutorial_coupled --help" for more information. +############################################################### + +############################################################### +# Mandatory arguments +############################################################### + +[TimeManager] +TEnd = 500000 # duration of the simulation [s] +DtInitial = 10 # initial time step size [s] + [Grid] -upperRightX = 300 # x-coordinate of the upper-right corner of the grid [m] -upperRightY = 60 # y-coordinate of the upper-right corner of the grid [m] -numberOfCellsX = 100 # x-resolution of the grid -numberOfCellsY = 1 # y-resolution of the grid +UpperRightX = 300 # x-coordinate of the upper-right corner of the grid [m] +UpperRightY = 60 # y-coordinate of the upper-right corner of the grid [m] +NumberOfCellsX = 100 # x-resolution of the grid +NumberOfCellsY = 1 # y-resolution of the grid + +############################################################### +# Simulation restart +# +# DuMux simulations can be restarted from *.drs files +# Set Restart to the value of a specific file, +# e.g.: 'Restart = 27184.1' for the restart file +# name_time=27184.1_rank=0.drs +# Please comment in the two lines below, if restart is desired. +############################################################### +# [TimeManager] +# Restart = ... diff --git a/tutorial/tutorial_decoupled.cc b/tutorial/tutorial_decoupled.cc index cbde8a2059071c065526a6bb4bdf4e3d44bdfd8b..c2a7fe15760c05827559c301f9540baebd1ec879 100644 --- a/tutorial/tutorial_decoupled.cc +++ b/tutorial/tutorial_decoupled.cc @@ -40,13 +40,13 @@ void usage(const char *progName, const std::string &errorMsg) /*@\label{tutoria std::cout << errorMsg << "\n"; std::cout << "\n" - << "The List of Mandatory arguments for this program is:\n" - << "\t-tEnd The end of the simulation [s]\n" - << "\t-dtInitial The initial timestep size [s]\n" - << "\t-Grid.upperRightX The x-coordinate of the grid's upper-right corner [m]\n" - << "\t-Grid.upperRightY The y-coordinate of the grid's upper-right corner [m]\n" - << "\t-Grid.numberOfCellsX The grid's x-resolution\n" - << "\t-Grid.numberOfCellsY The grid's y-resolution\n" + << "The list of mandatory arguments for this program is:\n" + << "\t-TEnd The end of the simulation [s]\n" + << "\t-DtInitial The initial timestep size [s]\n" + << "\t-Grid.UpperRightX The x-coordinate of the grid's upper-right corner [m]\n" + << "\t-Grid.UpperRightY The y-coordinate of the grid's upper-right corner [m]\n" + << "\t-Grid.NumberOfCellsX The grid's x-resolution\n" + << "\t-Grid.NumberOfCellsY The grid's y-resolution\n" << "\n"; } diff --git a/tutorial/tutorial_decoupled.input b/tutorial/tutorial_decoupled.input index 65972f1a1cd5b712b8b9cb28d96501d2d54e9d5a..e7fa2475ca7d7dcdaa6d6e426dadb0d18a78aa63 100644 --- a/tutorial/tutorial_decoupled.input +++ b/tutorial/tutorial_decoupled.input @@ -1,7 +1,31 @@ -tEnd = 100000 # duration of the simulation [s] -dtInitial = 10 # initial time step size [s] +############################################################### +# Parameter file for tutorial_decoupled. +# Everything behind a '#' is a comment. +# Type "./tutorial_decoupled --help" for more information. +############################################################### + +############################################################### +# Mandatory arguments +############################################################### + +[TimeManager] +TEnd = 100000 # duration of the simulation [s] +DtInitial = 10 # initial time step size [s] + [Grid] -upperRightX = 300 # x-coordinate of the upper-right corner of the grid [m] -upperRightY = 60 # y-coordinate of the upper-right corner of the grid [m] -numberOfCellsX = 100 # x-resolution of the grid -numberOfCellsY = 1 # y-resolution of the grid \ No newline at end of file +UpperRightX = 300 # x-coordinate of the upper-right corner of the grid [m] +UpperRightY = 60 # y-coordinate of the upper-right corner of the grid [m] +NumberOfCellsX = 100 # x-resolution of the grid +NumberOfCellsY = 1 # y-resolution of the grid + +############################################################### +# Simulation restart +# +# DuMux simulations can be restarted from *.drs files +# Set Restart to the value of a specific file, +# e.g.: 'Restart = 27184.1' for the restart file +# name_time=27184.1_rank=0.drs +# Please comment in the two lines below, if restart is desired. +############################################################### +# [TimeManager] +# Restart = ...