Skip to content
Snippets Groups Projects
Commit b2226b70 authored by Felix's avatar Felix
Browse files

setup described

parent 3f9c011e
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,11 @@ ...@@ -14,7 +14,11 @@
\usepackage{silence} % Package that lets ignore warnings and errors for using packages in subdirectories \usepackage{silence} % Package that lets ignore warnings and errors for using packages in subdirectories
\WarningFilter{latex}{You have requested package `.maindir/tex/header/} \WarningFilter{latex}{You have requested package `.maindir/tex/header/}
\usepackage[tikz]{.maindir/tex/header/stdmath} % , scriptLetters \usepackage{.maindir/tex/header/stdmath} % , scriptLetters
\usepackage{listings}
\lstMakeShortInline[columns=fixed]|
\usepackage[section]{placeins} % makes sure that the figures stay within their section
\usepackage{siunitx}
\setmainfont{Latin Modern Roman} \setmainfont{Latin Modern Roman}
\setsansfont{Latin Modern Sans} \setsansfont{Latin Modern Sans}
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
\author{Felix Hilsky} \author{Felix Hilsky}
\maketitle \maketitle
% use \textinput as described in /header and _TEMPLATE % use \textinput as described in /header and _TEMPLATE
\textinput{setup}
\begin{appendices} \begin{appendices}
% \textinput{some-appendix-section} % \textinput{some-appendix-section}
\end{appendices} \end{appendices}
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
\input{.maindir/tex/header/preamble-section} \input{.maindir/tex/header/preamble-section}
% inputs the preamble only if necessary % inputs the preamble only if necessary
\docStart \docStart
\section{Mesh} \section{Mesh}
The mesh has two zones: one around the cylinder and a wider one for the remainder of the domain. The mesh has two zones: one around the cylinder and a wider one for the remainder of the domain.
The zone around the cylinder is a square with arked edges. The zone around the cylinder is a square with arked edges.
...@@ -29,19 +30,44 @@ In order to keep the cell sizes similar at the corners of the square, the number ...@@ -29,19 +30,44 @@ In order to keep the cell sizes similar at the corners of the square, the number
\end{figure} \end{figure}
\section{Boundary values and parameters} \section{Boundary values and parameters}
% The turbulence parameters $α_t$, $ν_t$, $k$, $ε$ and $ω$ have a wall function as the boundary value at the cylinder: |alphatJayatillekeWallFunction|, |nutkWallFunction| with value $0$, |kqRWallFunction| with value \num{4e-5} and |epsilonWallFunction| with value \num{2e-8} and |omegaWallFunction| with value \num{5e-4} respectively.
The turbulence parameters all have the condition |inletOutlet| for the inlet and the outlet.
This is supposed to be an uniform condition at inflow (at inlet) and a zero gradient condition on the outlet.
The pressure is calculated and the actual pressure boundary conditions are given for the adjusted pressure $p_{rgh}$.
All other values have cyclic conditions on the top and bottom
(|type cyclic;|)
and empty conditions for front and back to ensure a 2D-problem.
\section{Solvers} The other boundary conditions are listed in table \ref{fig:boundary}.
\begin{table}[ht]
\section{Schemes} \centering
\caption{The boundary conditions for all value and boundaries except top, bottom, front and back.}
\label{tab:boundaryconditions}
\begin{tabular}{ccccc}
Value & std. value & inlet & outlet & cylinder \\
$α_t$ & 0 & inletOutlet & inletOutlet & |alphatJayatillekeWallFunction| \\
$ν_t$ & 0 & inletOutlet & inletOutlet & |nutkWallFunction| \\
$k$ & \num{4e-5} & inletOutlet & inletOutlet & |kqRWallFunction| \\
$ε$ & \num{2e-8} & inletOutlet & inletOutlet & |epsilonWallFunction| \\
$ω$ & \num{5e-4} & inletOutlet & inletOutlet & |omegaWallFunction| \\
$T$ & \num{300} & Dirichlet $T_{}$ & $∇T = 0$ & Dirichlet $T_w$ \\
$U$ & & Dirichlet $U_{in}$ & |fluxCorrectedVelocity| & |noSlip| \\
$p_{rgh}$ & & |fixedFluxPressure| & Dirichlet $0$ & $∇p_{rgh} = 0$
\end{tabular}
\end{table}
% do not use \input nor \begin{document nor \end{document} \section{Solvers}
% check at end
For $p_{rgh}$ preconditioned conjugate gradient (|PCG|) solver with |DIC|-smoothed |GAMG|-preconditioner.
The preset |GAMG| solver with |DICGaussSeidel| preconditioner was used before and the change did not affect the runtime significantly.
% write the text here For the other values a smooth solver with symmetric Gauss-Seidel smoother was used.
% for including a tikz picture, place it in the directory tikz and The preset PBiCGStab solver was used before and the runtime was not significantly affected by the change.
% use \tikzinput{tikzpicture}
% for including another tex (text) file, place it in the directory
% tex and use \textinput{textfile}
% for including some other file use \maininput{file/path/relative/to/main/repodir}
\section{Schemes}
For the time derivative a |backward| scheme was used.
Gauss linear was used as a gradient Scheme while |Gauss limitedLinear 1| was used as all divergence Schemes (in the vector version for $U$.)
% I hope the other ones don't matter
The wall distance (|wallDist|) is calculated via a |meshWave|.
\docEnd \docEnd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment