Commit 82b7bcbc by Johannes Hommel Committed by Katharina Heck

### [EFM] updated exercise 3, minor edits in ex1 and ex2

parent 616569ed
 ... ... @@ -48,25 +48,25 @@ {\Large \begin{center} {\bfseries Environmental Fluid Mechanics % Multiphase Flow and Transport in Porous Media\\ {\bfseries Environmental Fluid Mechanics % Multiphase Flow and Transport in Porous Media\\ - Computer Exercises -\\ \vspace{\baselineskip} Advection, Diffusion, Dissolution -- A Time Scale Evaluation}\\ \vspace{\baselineskip} Advection, Diffusion, Dissolution -- A Time Scale Evaluation}\\ \end{center} } %************************************* \section{Purpose} \label{purpose} The aim of this exercise is to get a better feeling about the time scales on which the different flow processes (advection, diffusion, dissolution) occur. The aim of this exercise is to get a better feeling about the time scales on which the different flow processes (advection, diffusion, dissolution) occur. The exercise consists of three parts, which are to be solved by different groups. \begin{enumerate} \item one-phase--two-component flow \item two-phase flow \item two-phase--two-component flow \item one-phase--two-component flow \item two-phase flow \item two-phase--two-component flow \end{enumerate} %Based on the experience gained from the model simulations, appropriate remediation methods ... ... @@ -99,7 +99,7 @@ Figure \ref{boundarycond_fig} shows a sketch of the problem. The domain is initi %\end{table} \input{timescale} %\input{timescale_solution} % \input{timescale_solution} \end{document}

37.9 KB

37.6 KB

40.8 KB

23.3 KB

93.9 KB

 ... ... @@ -15,6 +15,7 @@ There is one parameter file (exercise3.input) for all groups. The Brooks-Corey p \lstset{numbers=left, breaklines=true, morecomment=[l]{\#}, commentstyle=\color{blue}\tiny, breakindent=28em} \lstinputlisting{../exercise3.input} } Reduce the value of parameter EpisodeLength'' to 5.0e4 s. For the cases with a pressure gradient, you may need to reduce it (and the parameter TEnd'' even more. \paragraph{Remark} Sometimes it is very important to rescale the output to a reasonable (not min/max) color scale to visualize the interesting parts of the processes properly. ... ... @@ -23,34 +24,33 @@ There is one parameter file (exercise3.input) for all groups. The Brooks-Corey p Simulate a one-phase--two-component flow system with a pressure gradient of $10^4$ Pa/m and without any pressure gradient. \begin{enumerate} \item Monitor the characteristic flow behaviour. Which processes (advection, diffusion, dispersion, dissolution) can you observe? \item What are the driving forces? \item Note the breakthrough time at the lower boundary. \item How does a change of permeability or porosity affect the breakthrough time? \item On what time scale do the processes occur? \item Monitor the characteristic flow behaviour. Which processes (advection, diffusion, dissolution) can you observe? \item What are the driving forces? \item When does the nitrogen reach the lower boundary? \item How does a change of permeability or porosity affect the breakthrough time? \item On what time scale do the processes occur? \end{enumerate} \subsection{Two-Phase Flow} Simulate a two-phase flow system with a pressure gradient of $10^4$ Pa/m and without any pressure gradient. \begin{enumerate} \item Monitor the characteristic flow behaviour. Which processes (advection, diffusion, dispersion, dissolution) can you observe? \item What are the driving forces? \item When does the gas phase reach the lower boundary? \item How does a change of permeability or porosity affect the breakthrough time? \item On what time scale do the processes occur? \item Monitor the characteristic flow behaviour. Which processes (advection, diffusion, dissolution) can you observe? \item What are the driving forces? \item When does the gas phase reach the lower boundary? \item How does a change of permeability, porosity, residual saturation or the Brooks-Corey parameters affect the breakthrough time? \item On what time scale do the processes occur? \end{enumerate} \subsection{Two-Phase--Two-Component Flow} Simulate a two-phase--two-component flow system with a pressure gradient of $10^4$ Pa/m and without any pressure gradient. \begin{enumerate} \item Monitor the characteristic flow behaviour. Which processes (advection, diffusion, dispersion, dissolution) can you observe? \item What are the driving forces? \item When does the gas phase reach the lower boundary? \item When does the nitrogen reach the lower boundary? \item How does a change of permeability, porosity, residual saturation or the Brooks-Corey parameters affect the breakthrough time? \item On what time scale do the processes occur? \item Monitor the characteristic flow behaviour. Which processes (advection, diffusion, dissolution) can you observe? \item What are the driving forces? \item When does the gas phase reach the lower boundary? \item When does the nitrogen reach the lower boundary? \item How does a change of permeability, porosity, residual saturation or the Brooks-Corey parameters affect the breakthrough time? \item On what time scale do the processes occur? \end{enumerate} ... ... @@ -74,7 +74,7 @@ active. Activate by clicking somewhere in the window.\\ On the command line in window 1 type\\ {\em cd /EFM2-2014/ex3}\\ {\em cd /temp/efm2019/ex3}\\ \vspace{0.1cm} {\bfseries ... set the model parameters:}\\ ... ... @@ -92,9 +92,9 @@ Change the necessary parameters and save the file before you leave the editor.\\ On the command line (window 1), type\\ \noindent {\em ./lens1p2cexercise3 -ParameterFile exercise3.input} for group one\\ {\em ./lens2pexercise3 -ParameterFile exercise3.input} for group two \\ {\em ./lens2p2cexercise3 -ParameterFile exercise3.input} for group three. {\em ./lens1p2cexercise3 exercise3.input} for group one\\ {\em ./lens2pexercise3 exercise3.input} for group two \\ {\em ./lens2p2cexercise3 exercise3.input} for group three. \vspace{0.1cm} The simulation will start with the given time step size (e. g. 10) and run until the simulation time (use e. g. 1000) is reached. ... ... @@ -121,4 +121,7 @@ You can look at the saturations and the capillary pressure and for the component To show the saturation or the pressure more clearly it might be necessary to adjust the visualisation scale. You may do this by clicking on the button 'rescale to data range'. You find it on the upper left side of the paraview window next to where you choose your variable currently visualized with a double arrow on it. {\bfseries ...view the code (if you want):}\\ In case you already finished the exercise and want to have a look at the code:\\ {\em cd /temp/efm2019/DUMUX/dumux-lecture/lecture/efm/1p2c\_2p\_2p2c}\\ \clearpage
This diff is collapsed.
 ... ... @@ -28,3 +28,4 @@ UpperPressure = 4.0e5 # Dirichlet pressure value for the b [Problem] EnableGravity = false Name = exercise3
 ... ... @@ -33,7 +33,7 @@ %---- pagestyle ---- start ------------------------------------- \lhead[\fancyplain{}{\thepage}] %Header links, gerade Seitenzahl % {\fancyplain{}{EGW Short Course, March 2002}} {\fancyplain{}{EFM Exercise 1, 2019}} {\fancyplain{}{EFM Exercise 1}} \rhead[\fancyplain{}{Environmental Fluid Mechanics}] %\rhead[\fancyplain{}{Multiphase Flow and Transport in Porous Media}] {\fancyplain{}{\thepage}} %Header rechts, ungerade Seitenzahl ... ...
 ... ... @@ -195,7 +195,7 @@ You can do this either by changing the parameter Name'' in the file exercise {\em ./lens2pexercise1 -{}-parameterFile exercise1.input -{}-Problem.Name lens2p-highPEntry}\\ Additionally, in case you finished the exercise and want to have a look at the code at:\\ {\em cd /temp/efm2019/DUMUX/dumux-lecture/build-cmake/lecture/efm/1p2cvs2p }\\ {\em cd /temp/efm2019/DUMUX/dumux-lecture/lecture/efm/1p2cvs2p }\\ \clearpage %%% Local Variables: %%% mode: latex ... ...
 ... ... @@ -21,8 +21,6 @@ Diffusive forces are to be neglected in this part. \subsection{Exercise} Simulate the given problem.\\ Open a terminal and type {\em cd /temp/efm2019/ex2}\\ Run the simulation: {\em ./lens2pexercise}\\ \begin{enumerate} \item Find out how long the different parts of the process will take. ... ... @@ -52,67 +50,69 @@ $\mathrm{g}=$ & gravitational acceleration & $9.806$ & [m/s$^2$] \\ \end{table} % \subsection{How to simulate without ViPLab} % \label{how_toII} % \vspace{0.1cm} \subsection{How to ...} \label{how_toII} \vspace{0.1cm} % % {\bfseries ... get the exercise stuff:}\\ % % Download the handout of the exercise and the simulation tool from the ILIAS system and save everything in home/MSM/exercise2\\ % \vspace{0.1cm} % % {\bfseries ... open a window:}\\ % % In the tool bar at the bottom of the screen, click the symbol with a window % and a shell. We will call this window ''window 1''. Only one window at the time is % active. Activate by clicking somewhere in the window.\\ % \vspace{0.1cm} % % {\bfseries ... change to the right directory:}\\ % % On the command line in window 1 type\\ % % {\em cd MSM/exercise2}\\ % \vspace{0.1cm} % % {\bfseries ... set the model parameters:}\\ % % The parameters used by the program are listed in the file lens2pexercise2.input''. % To open the file, type (in window 1)\\ % % {\em gedit lens2pexercise2.input}\\ % % Change the necessary parameters and save the file before you leave the editor.\\ % \vspace{0.1cm} % % {\bfseries ... start the simulation:}\\ % % On the command line (window 1), type\\ % % {\em ./lens2pexercise2 -parameterFile lens2pexercise2.input }\\ % % The simulation will start with the given time step size (e. g. 100) and run until the simulation time (use e. g. 10000) is reached. % If you want to stop the simulation earlier, activate the window from where you started the simulation and press % \mbox{''Ctrl C''} (or \mbox{''Strg C''}).\\ % \vspace{0.1cm} % % {\bfseries ... look at the results:}\\ % % In window 1, type\\ % % {\em paraview \&}\\ % % In paraview you can open your result lens-2p.pvd, if you finished a simulation (or lens-2p-*.vtu, if you have not finished your simulation). \\ % \vspace{0.1cm} % % {\bfseries ...choose the variable to visualize:}\\ % % You can either look at the phase pressures, the capillary pressure (rescale the legend to a small range around the entry pressure of the higher permeable layer) or at the saturations. You can choose the variable currently visualized at a small menue at the upper left side of the paraview window. \\ % \vspace{0.1cm} % % {\bfseries ...adapt the color scale:}\\ % % To show the saturation or the pressure more clearly it might be necessary to % adjust the visualisation scale. You may do this by clicking on the button 'rescale to data range'. You find it on the upper left side of the paraview window next to where you choose your variable currently visualized with a double arrow on it. {\bfseries ... open a window:}\\ In the tool bar at the bottom of the screen, click the symbol with a window and a shell. We will call this window ''window 1''. Only one window at the time is active. Activate by clicking somewhere in the window.\\ \vspace{0.1cm} {\bfseries ... change to the right directory:}\\ On the command line in window 1 type\\ {\em cd /temp/efm2019/ex2}\\ \vspace{0.1cm} {\bfseries ... set the model parameters:}\\ The parameters used by the program are listed in the file lens2pexercise2.input''. To open the file, type (in window 1)\\ {\em kate lens2pexercise2.input}\\ Change the necessary parameters and save the file before you leave the editor.\\ \vspace{0.1cm} {\bfseries ... start the simulation:}\\ On the command line (window 1), type\\ {\em ./lens2pexercise2 lens2pexercise2.input }\\ The simulation will start with the given time step size (e. g. 100) and run until the simulation time (use e. g. 10000) is reached. If you want to stop the simulation earlier, activate the window from where you started the simulation and press \mbox{''Ctrl C''} (or \mbox{''Strg C''}).\\ \vspace{0.1cm} {\bfseries ... look at the results:}\\ In window 1, type\\ {\em paraview \&}\\ In paraview you can open your result lens-2p.pvd. \\ \vspace{0.1cm} {\bfseries ...choose the variable to visualize:}\\ You can either look at the phase pressures, the capillary pressure (rescale the legend to a small range around the entry pressure of the higher permeable layer) or at the saturations. You can choose the variable currently visualized at a small menue at the upper left side of the paraview window. \\ \vspace{0.1cm} {\bfseries ...adapt the color scale:}\\ To show the saturation or the pressure more clearly it might be necessary to adjust the visualisation scale. You may do this by clicking on the button 'rescale to data range'. You find it on the upper left side of the paraview window next to where you choose your variable currently visualized with a double arrow on it. \vspace{0.1cm} {\bfseries ...view the code (if you want):}\\ In case you already finished the exercise and want to have a look at the code:\\ {\em cd /temp/efm2019/DUMUX/dumux-lecture/lecture/efm/2p }\\ \clearpage