Commit 4d6f7fa8 by Chris Cantwell

parent d377352b
 ... ... @@ -283,20 +283,24 @@ We require a discontinuous Galerkin projection and use an explicit fourth-order Runge-Kutta time integration scheme. We therefore set the following solver information: \begin{lstlisting}[style=XmlStyle] \end{lstlisting} To maintain numerical stability we must use a small time-step. Finally, we set the density, heat ratio and ambient pressure. \begin{lstlisting}[style=XMLStyle]

TimeStep = 1e-05

NumSteps = 1000

FinTime = TimeStep*NumSteps

IO_CheckSteps = 10

IO_InfoSteps = 10

TimeStep = 1e-05

NumSteps = 1000

FinTime = TimeStep*NumSteps

IO_CheckSteps = 10

IO_InfoSteps = 10

\end{lstlisting} The initial condition and the base flow field are specified by the \inltt{Baseflow} and \inltt{InitialConditions} functions, respectively: ... ...
 ... ... @@ -504,47 +504,6 @@ The diffusivity and the sensor can be controlled by the following parameters: \end{center} \end{figure} \subsubsection{Smooth artificial viscosity model} For the smooth artificial viscosity model an extra PDE for the artificial viscosity is appended to the Euler system \label{eq:eulerplusvis}\begin{split} \frac{\partial \epsilon}{\partial t} &= \nabla\cdot \left(\nabla \epsilon\right) + \frac{1}{\tau}\left(\frac{h}{p}\lambda_{max}S_\kappa - \epsilon\right)\ \ \ \ \ \ \textrm{on}\ \ \ \ \ \ \ \Omega\\ \frac{\partial \epsilon}{\partial n} &= 0\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textrm{on}\ \ \ \ \ \ \ \Gamma \end{split} where $S_\kappa$ is a normalised sensor value and serves as a forcing term for the artificial viscosity. A smooth artificial viscosity distribution is obtained.\\ \\ To enable the smooth viscosity model, the following line has to be added to the \inltt{SOLVERINFO} section: \begin{lstlisting}[style=XmlStyle] \end{lstlisting} Furthermore, the extra viscosity variable \inltt{eps} has to be added to the variable list: \begin{lstlisting}[style=XmlStyle] rho rhou rhov E eps \end{lstlisting} A similar addition has to be made for the boundary conditions and initial conditions. The tests that have been run started with a uniform homogeneous boundary condition and initial condition. The following parameters can be set in the xml session file: \begin{lstlisting}[style=XmlStyle]

Skappa = -1.3

Kappa = 0.2

mu0 = 1.0

FH = 3

FL = 0.01*FH

C1 = 0.03

C2 = 5/3*C1

\end{lstlisting} where for now \inltt{FH} and \inltt{FL} are used to tune which range of the sensor is used as a forcing term and \inltt{C1} and \inltt{C2} are fixed constants which can be played around with to make the model more diffusive or not. However these constants are generally fixed. \subsection{Variable polynomial order} A sensor based $p$-adaptive algorithm is implemented to optimise the computational cost and accuracy. The DG scheme allows one to use different polynomial orders since the fluxes over the elements are determined using a Riemann solver and there is now further coupling between the elements. Furthermore, the initial $p$-adaptive algorithm uses the same sensor as the shock capturing algorithm to identify the smoothness of the local solution so it rather straightforward to implement both algorithms at the same time.\\ ... ...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!