Commit 2e56a9a5 authored by Beatrix Becker's avatar Beatrix Becker

[handbook] correct quick installation and cleanup

parent c00a1139
...@@ -115,9 +115,8 @@ Universit\"at Stuttgart, Paffenwaldring 61, D-70569 Stuttgart, Germany}\\ ...@@ -115,9 +115,8 @@ Universit\"at Stuttgart, Paffenwaldring 61, D-70569 Stuttgart, Germany}\\
In this chapter we provide a quick start guide to In this chapter we provide a quick start guide to
your first \Dumux experience, including an install script with all necessary instructions your first \Dumux experience, including an install script with all necessary instructions
on how to very quickly install the latest release version of \Dumux. on how to very quickly install the latest release version of \Dumux.
You should have a recent working Linux environment and no \Dune core modules should be installed. You should have a recent working Linux environment.
If you need more information or If you need more information, please have a look at the detailed installation
have \Dune already installed, please have a look at the detailed installation
instructions in the next chapter \ref{detailed-install}. instructions in the next chapter \ref{detailed-install}.
\input{2_quickinstall} \input{2_quickinstall}
......
...@@ -28,9 +28,9 @@ will compile and run a simple one-phase ground water flow example and will visua ...@@ -28,9 +28,9 @@ will compile and run a simple one-phase ground water flow example and will visua
The test script can be obtained by copying the following lines into a text file named \texttt{test\_dumux.sh} The test script can be obtained by copying the following lines into a text file named \texttt{test\_dumux.sh}
that has to be located in the same directory as the installation script. that has to be located in the same directory as the installation script.
\begin{lstlisting}[style=DumuxCode] \begin{lstlisting}[style=DumuxCode]
cd DUMUX/dumux/build-cmake/test/porousmediumflow/1p/implicit/stationary cd DUMUX/dumux/build-cmake/test/porousmediumflow/1p/implicit/isothermal
make -B test_1p_compressible_stationary_tpfa make -B test_1p_tpfa
./test_1p_compressible_stationary_tpfa params.input ./test_1p_tpfa params.input
paraview *pvd paraview *pvd
\end{lstlisting} \end{lstlisting}
The script \texttt{test\_dumux.sh} can be executed by typing into the terminal: \texttt{./test\_dumux.sh}. The script \texttt{test\_dumux.sh} can be executed by typing into the terminal: \texttt{./test\_dumux.sh}.
......
\section{Temporal Discretization and Algorithms} \section{Temporal Discretization and Solution Strategies}
%TODO: Intro sentences %TODO: Intro sentences
\subsection{Temporal discretization} \subsection{Temporal discretization}
...@@ -44,7 +44,7 @@ if the time step size $\Delta t_{k+1}$ is below a certain limit that depends ...@@ -44,7 +44,7 @@ if the time step size $\Delta t_{k+1}$ is below a certain limit that depends
on the specific balance equation, whereas the implicit method \eqref{eq:impliciteuler} on the specific balance equation, whereas the implicit method \eqref{eq:impliciteuler}
is unconditionally stable. is unconditionally stable.
\subsection{Algorithms to solve equations} \subsection{Solution strategies to solve equations}
The governing equations of each model can be solved monolithically or sequentially. The governing equations of each model can be solved monolithically or sequentially.
The basic idea of the sequential algorithm is to reformulate the The basic idea of the sequential algorithm is to reformulate the
equations of multi-phase flow into one equation for equations of multi-phase flow into one equation for
......
...@@ -10,25 +10,11 @@ Make sure to be connected to the internet." ...@@ -10,25 +10,11 @@ Make sure to be connected to the internet."
echo "*************************************************" echo "*************************************************"
# the core modules # the core modules
for MOD in common geometry grid localfunctions istl; do for MOD in common geometry grid localfunctions istl; do
if [ ! -d "dune-$MOD" ]; then git clone -b releases/2.6 https://gitlab.dune-project.org/core/dune-$MOD.git
git clone -b releases/2.6 https://gitlab.dune-project.org/core/dune-$MOD.git
else
echo "Skip cloning dune-$MOD because the folder already exists."
cd dune-$MOD
git checkout releases/2.6
cd ..
fi
done done
# dumux # dumux
if [ ! -d "dumux" ]; then git clone -b releases/3.0 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
git clone -b releases/3.0 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
else
echo "Skip cloning dumux because the folder already exists."
cd dumux
git checkout releases/3.0
cd ..
fi
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "*************************************************" echo "*************************************************"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment