Skip to content
Snippets Groups Projects
Commit fab95dfb authored by Philipp Nuske's avatar Philipp Nuske
Browse files

- A new section on the usage of the parameter files. Nothing fancy but

  hopefully helpful for (first time) usage. Feel free to change or move
somewhere else :-)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7723 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent e7172422
No related branches found
No related tags found
No related merge requests found
...@@ -5,3 +5,4 @@ Then a quick start guide for the first \Dumux experience is provided. ...@@ -5,3 +5,4 @@ Then a quick start guide for the first \Dumux experience is provided.
\input{quick-install} \input{quick-install}
\input{quickstart-guide} \input{quickstart-guide}
\input{parameterTree}
...@@ -5,8 +5,8 @@ The previous chapter showed how to install and compile \Dumux. This chapter shal ...@@ -5,8 +5,8 @@ The previous chapter showed how to install and compile \Dumux. This chapter shal
\begin{enumerate} \begin{enumerate}
\item Go to the directory \texttt{/test}. There, various test application folders can be found. Let us consider as example \texttt{boxmodels/test{\_}2p}: \item Go to the directory \texttt{/test}. There, various test application folders can be found. Let us consider as example \texttt{boxmodels/test{\_}2p}:
\item Enter the folder \texttt{boxmodels/2p}. If everything was compiled correctly, there should be an executable \texttt{test{\_}2p}. Otherwise, type \texttt{make test{\_}2p} in order to compile the application. To run the simulation, type\\ \item Enter the folder \texttt{boxmodels/2p}. If everything was compiled correctly, there should be an executable \texttt{test{\_}2p}. Otherwise, type \texttt{make test{\_}2p} in order to compile the application. To run the simulation, type\\
\texttt{./test{\_}2p 1e4 1e2}\\ \texttt{./test{\_}2p -parameterFile ./test\_2p.input}\\
into the console. The parameters that are used here are the end time of the simulation and the initial timestep size. The parameters that are required when calling the application are specified in the application file (here: test{\_}2p.cc). into the console. The parameter \texttt{-parameterFile} specifies that all important parameters (like first timestep size, end of simulation and location of the grid file) can be found in a text file in the same directory with the name \texttt{test\_2p.input}.
\item The simulation starts and produces some .vtu output files and also a .pvd file. The .pvd file can be used to examine time series and summarizes the .vtu-files. It is possible to stop a running application by pressing $<ctrl><c>$. \item The simulation starts and produces some .vtu output files and also a .pvd file. The .pvd file can be used to examine time series and summarizes the .vtu-files. It is possible to stop a running application by pressing $<ctrl><c>$.
\item You can display the results using the visualization tool ParaView (or alternatively VisIt). Just type \texttt{paraview} in the console and open the .pvd file. On the left hand side, you can choose the desired parameter to be displayed. \item You can display the results using the visualization tool ParaView (or alternatively VisIt). Just type \texttt{paraview} in the console and open the .pvd file. On the left hand side, you can choose the desired parameter to be displayed.
\end{enumerate} \end{enumerate}
......
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