Skip to content
Snippets Groups Projects
Commit b2567ecc authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

Adapted tutorials to parameter naming conventions.

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@8841 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 0bdb70f6
No related branches found
No related tags found
No related merge requests found
......@@ -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";
}
......
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 = ...
......@@ -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";
}
......
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 = ...
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