mirror of
https://github.com/Findus23/Bachelors-Thesis.git
synced 2024-08-27 19:52:12 +02:00
more text
This commit is contained in:
parent
fa2183d49d
commit
e07d18915a
2 changed files with 64 additions and 45 deletions
24
main.tex
24
main.tex
|
@ -44,7 +44,7 @@ For a realistic model of two gravitationally colliding bodies the SPH (smooth pa
|
|||
In the simulation two celestrial bodies are placed far enough apart so that tidal forces can affect the collision. Both objects consist of a core with the physical properties of basalt rocks and a outer mantle made of water ice.
|
||||
|
||||
To keep the simulation time short and make it possible to do many simulations with varying parameters 20k SPH particles are used\todo{Why 20k?} and each simulation is ran for 300 timesteps of each \SI{144}{\second} so that a whole day of collision is simulated.
|
||||
%These will be split into two bodies according to the parameters of the simulations and placed far enough away that
|
||||
|
||||
|
||||
\section{Parameters}
|
||||
|
||||
|
@ -65,7 +65,7 @@ The masses in this simulation range from about two Ceres masses (\SI{1.88e+21}{\
|
|||
|
||||
\subsection{water fraction of target and projectile}
|
||||
|
||||
Both bodies
|
||||
The last two parameters are the mass fraction of the ice to the total mass of each of the bodies. To keep the numbers of parameter combinations and therefore required simulations low only \SI{10}{\percent} and \SI{20}{\percent} are simulated in the first simulation set.
|
||||
|
||||
|
||||
\begin{table}
|
||||
|
@ -78,10 +78,28 @@ Both bodies
|
|||
water fraction target & \SI{10}{\percent} & \SI{20}{\percent} &&&\\
|
||||
water fraction projectile & \SI{10}{\percent} & \SI{20}{\percent} &&&\\
|
||||
\end{tabular}
|
||||
\label{tab:first_simulation_parameters}
|
||||
\caption{parameter set of the first simulation run}
|
||||
\label{tab:first_simulation_parameters}
|
||||
\end{table}
|
||||
|
||||
\section{Execution}\todo{think of a better title}
|
||||
|
||||
In the first simulation run for every parameter combination from Table \ref{tab:first_simulation_parameters} a separate simulation has been started. First the parameter set and other configuration options are written in a \texttt{simulation.input} text file. Afterwards the relaxation program described in \cite[24\psqq]{Burger2018} generates relaxed initial conditions for all 20k particles and saves their state to \texttt{impact.0000}. Afterwards \texttt{miluphcuda} can be executed with the following arguments to simulate starting from this initial condition for 300 timesteps which each will be saved in a \texttt{impact.XXXX} file.
|
||||
|
||||
\todo{spacing is ugly}
|
||||
|
||||
\begin{lstlisting}[language=bash]
|
||||
miluphcuda -N 20000 -I rk2_adaptive -Q 1e-4 -n 300 -a 0.5 -H -t 144.0 -f impact.0000 -m material.cfg -s -g
|
||||
\end{lstlisting}
|
||||
|
||||
This ran on the \texttt{amanki} server using a \texttt{Nvidia GTX 1080} taking about \SI{30}{\minute} per simulation.
|
||||
|
||||
|
||||
\section{Post-Processing}
|
||||
|
||||
After the simulation the properties of the SPH particles needs to be analyzed. For this the \texttt{identify\_fragments} C program by Christoph Burger\todo{better citation} uses a friends-of-friends algorithm to group the particles into fragments. Afterwards \texttt{calc\_aggregates}
|
||||
|
||||
|
||||
\section{More text}
|
||||
|
||||
\lipsum[2-5]
|
||||
|
|
85
template.tex
85
template.tex
|
@ -18,6 +18,7 @@ british, % language of the document
|
|||
%--------------------------- Important Packages --------------------------------
|
||||
|
||||
%\usepackage[ngerman]{babel}
|
||||
\usepackage[american]{babel}
|
||||
|
||||
% required for proper characters
|
||||
\usepackage[utf8]{inputenc}
|
||||
|
@ -90,48 +91,48 @@ british, % language of the document
|
|||
|
||||
%---------------------------------- Source Code -----------------------------------------
|
||||
|
||||
%\usepackage[scaled=.85]{FiraMono}
|
||||
%\usepackage{listings}
|
||||
%\usepackage{scrhack} % should fix warning
|
||||
%\definecolor{strings}{HTML}{008000}
|
||||
%\definecolor{keywords}{HTML}{000080}
|
||||
%\definecolor{mygray}{rgb}{0.58,0,0.82}
|
||||
%
|
||||
%\lstset{ %
|
||||
% % backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument
|
||||
% basicstyle=\footnotesize\ttfamily, % the size of the fonts that are used for the code
|
||||
% basewidth=0.5em,
|
||||
% breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
|
||||
% breaklines=true, % sets automatic line breaking
|
||||
% captionpos=b, % sets the caption-position to bottom
|
||||
% % commentstyle=\color{mygreen}, % comment style
|
||||
% deletekeywords={...}, % if you want to delete keywords from the given language
|
||||
% escapeinside={(*}{*)}, % if you want to add LaTeX within your code
|
||||
% extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
|
||||
% frame=single, % adds a frame around the code
|
||||
% keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
|
||||
% keywordstyle=\color{keywords}, % keyword style
|
||||
% morekeywords={*,...}, % if you want to add more keywords to the set
|
||||
% numbers=none, % where to put the line-numbers; possible values are (none, left, right)
|
||||
% numbersep=5pt, % how far the line-numbers are from the code
|
||||
% rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
|
||||
% showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
|
||||
% showstringspaces=false, % underline spaces within strings only
|
||||
% showtabs=false, % show tabs within strings adding particular underscores
|
||||
% stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
|
||||
% stringstyle=\color{strings}, % string literal style
|
||||
% tabsize=2, % sets default tabsize to 2 spaces
|
||||
% language=bash
|
||||
%}
|
||||
%\lstset{literate=% support Umlauts in listings
|
||||
% {Ö}{{\"O}}1
|
||||
% {Ä}{{\"A}}1
|
||||
% {Ü}{{\"U}}1
|
||||
% {ß}{{\ss}}1
|
||||
% {ü}{{\"u}}1
|
||||
% {ä}{{\"a}}1
|
||||
% {ö}{{\"o}}1
|
||||
%}
|
||||
\usepackage[scaled=.9]{FiraMono}
|
||||
\usepackage{listings}
|
||||
\usepackage{scrhack} % should fix warning
|
||||
\definecolor{strings}{HTML}{008000}
|
||||
\definecolor{keywords}{HTML}{000080}
|
||||
\definecolor{mygray}{rgb}{0.58,0,0.82}
|
||||
|
||||
\lstset{ %
|
||||
% backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}; should come as last argument
|
||||
basicstyle=\footnotesize\ttfamily, % the size of the fonts that are used for the code
|
||||
basewidth=0.5em,
|
||||
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
|
||||
breaklines=true, % sets automatic line breaking
|
||||
captionpos=b, % sets the caption-position to bottom
|
||||
% commentstyle=\color{mygreen}, % comment style
|
||||
deletekeywords={...}, % if you want to delete keywords from the given language
|
||||
escapeinside={(*}{*)}, % if you want to add LaTeX within your code
|
||||
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
|
||||
frame=single, % adds a frame around the code
|
||||
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
|
||||
keywordstyle=\color{keywords}, % keyword style
|
||||
morekeywords={*,...}, % if you want to add more keywords to the set
|
||||
numbers=none, % where to put the line-numbers; possible values are (none, left, right)
|
||||
numbersep=5pt, % how far the line-numbers are from the code
|
||||
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
|
||||
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
|
||||
showstringspaces=false, % underline spaces within strings only
|
||||
showtabs=false, % show tabs within strings adding particular underscores
|
||||
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
|
||||
stringstyle=\color{strings}, % string literal style
|
||||
tabsize=2, % sets default tabsize to 2 spaces
|
||||
language=bash
|
||||
}
|
||||
\lstset{literate=% support Umlauts in listings
|
||||
{Ö}{{\"O}}1
|
||||
{Ä}{{\"A}}1
|
||||
{Ü}{{\"U}}1
|
||||
{ß}{{\ss}}1
|
||||
{ü}{{\"u}}1
|
||||
{ä}{{\"a}}1
|
||||
{ö}{{\"o}}1
|
||||
}
|
||||
|
||||
|
||||
%--------------------------------------- PDF output and hyperlinks ----------------------------
|
||||
|
|
Loading…
Reference in a new issue