2019 Computational Aerodynamics Final Exam  
Tuesday June 18th 2019
16:30 — 19:30


NO NOTES OR BOOKS; USE COMPUTATIONAL AERODYNAMICS TABLES THAT WERE DISTRIBUTED; ALL QUESTIONS HAVE EQUAL VALUE; ANSWER ALL 6 QUESTIONS.

06.09.18
Question #1
Consider air interacting with a long rod of square cross-section as follows:
problem1.png  ./download/file.php?id=5228&sid=1fbbb2c77e286e086f3033c1820387aa  ./download/file.php?id=5228&t=1&sid=1fbbb2c77e286e086f3033c1820387aa
or a infinitely long cylinder as follows:
problem2.png  ./download/file.php?id=5229&sid=1fbbb2c77e286e086f3033c1820387aa  ./download/file.php?id=5229&t=1&sid=1fbbb2c77e286e086f3033c1820387aa
The air in the freestream has a Mach number of 2.5, a pressure of 5 kPa, and a temperature of 300 K. The diameter of the cylinder is of $D=0.1$ m. The width of the cross section is of $W=0.1$ m. The goal is to determine the drag coefficient $C_D$ as accurately as possible while using as few computational resources as possible. Design a mesh that is optimal for this problem (i.e., that will yield the smallest product of error and computational time). Set the viscosity and thermal conductivity to zero. Specifically, for either the long cylinder or the square long rod problems above, do the following:
(a)  In the Grid() module, create a mesh function of the mesh factor “mf”. Thus, $\textrm{mf}=1$ will give the coarsest mesh, $\textrm{mf}=2$ will give the same mesh as $\textrm{mf}=1$ but with every cell divided in 4 cells, $\textrm{mf}=4$ will give the same mesh as $\textrm{mf}=2$ but with every cell divided in 4 cells, etc.
(b)  In the Bdry() module set up the boundary conditions correctly.
(c)  In the Init() module set up the initial conditions correctly.
Question #2
Consider the following domain:
Q2.png  ./download/file.php?id=5230&sid=1fbbb2c77e286e086f3033c1820387aa  ./download/file.php?id=5230&t=1&sid=1fbbb2c77e286e086f3033c1820387aa
The freestream properties correspond to $M_\infty=0.7$, $T_\infty=300$ K, $P_\infty=1$ atm, $\theta=70^\circ$ and the properties on the nodes at the iteration $n$ are as follows:
Node$P^n$, atm$T^n$, K$u^n$, m/s$v^n$, m/s
11.0300100-80
21.1330130-100
31.1350150-130
41.2380170-160
Knowing that the node spacing is constant, do the following:
(a)  Find the properties at iteration $n+1$ at node 1 using a 1st degree polynomial to extrapolate the properties.
Outline clearly what kind of boundary condition (subsonic inflow/outflow, supersonic inflow/outflow) you are choosing and why.
Question #3
Consider the following system of equations: $$ \frac{\partial U}{\partial t} + \frac{\partial F}{\partial x} =0 $$ with $$ U=\left[ \begin{array}{c} \rho_1 \\ \rho_2 \\ \rho u \\ \rho E \end{array} \right] =\left[ \begin{array}{c} U_1 \\ U_2 \\ U_3 \\ U_4 \end{array} \right] ~~~~{\rm and} ~~~~ F=\left[ \begin{array}{c} \rho_1 u \\ \rho_2 u\\ \rho u^2 +P \\ \rho u H \end{array} \right] =\left[ \begin{array}{c} F_1 \\ F_2 \\ F_3 \\ F_4 \end{array} \right] $$ with $$ E = \frac{\rho_1}{\rho} e_1 + \frac{\rho_2}{\rho} e_2 + \frac{u^2}{2} $$ $$ P = \left( \rho_1 R_1 + \rho_2 R_2 \right) T $$ $$ \rho=\rho_1+\rho_2 $$ $$ H=E+\frac{P}{\rho} $$ $$ e_1=\xi_1 + \xi_2 T + \xi_3 T^2 +\xi_4 T^3 + \xi_5 T^4 $$ $$ e_2=\xi_6 T $$ and with $\xi_1$, $\xi_2$, $\xi_3$, $\xi_4$, $\xi_5$, $\xi_6$, $R_1$, $R_2$ some constants. Find $\partial F_3/\partial U_4$ within the flux Jacobian.
Question #4
Consider the 2D advection equation: $$ \frac{\partial u}{\partial t} + a\frac{\partial u}{\partial x} + b\frac{\partial u}{\partial y} = 0 $$ with $a$ and $b$ the wave speeds along $x$ and $y$ respectively. Derive appropriate first-order upwinded stencils for both spatial derivatives. The mesh has uniform spacing $\Delta x$ along $x$ and uniform spacing $\Delta y$ along $y$. The stencils must be valid whether $a$ and $b$ are positive or negative. Consider the case of $a$ and $b$ being constants. Using the principle of the positive coefficients, find the maximum time step that ensures that the solution has no spurrious oscillations.
Question #5
You are simulating the Euler equations in 1D for a gas with $R=286~$J/kgK, $c_p=1000$ J/kgK and $\gamma=1.4$. At one time step, the node properties are as follows:
Node$u$, m/s$\rho$, kg/m$^3$$T$, K
1131300
2121306
3101310
4111.2343
5121.3340
6121.4335
7131.5346
You wish to find the flux at the interface between node 3 and node 4 using a FDS scheme with Roe averaging turned second-order accurate through the reconstruction-evolution (MUSCL) strategy. Specifically, do the following:
(a)  Find $\rho$, $u$, and $T$ on the left and right of the interface using 1st degree polynomials (without limiting).
(b)  Using Roe averaging, find the properties $\rho_{3.5}$, $u_{3.5}$, and $T_{3.5}$ that are needed to build the matrix $|A|$ at the interface between node 3 and 4.
Question #6
You measure a certain property $\phi$ at a certain location in the computational domain as a function of the mesh size as follows:
CaseMesh Size$\phi$
1.$125 \times 125$10.000
2.$250 \times 250$5.000
3.$500 \times 500$2.000
4.$707 \times 707$1.380
5.$1000 \times 1000$1.000
6.$2000 \times 2000$0.8010
7.$2828 \times 2828$0.7726
8.$4000 \times 4000$0.7600
9.$8000 \times 8000$0.7520
10.$16000 \times 16000$0.7504
Knowing that the mesh is uniformly spaced for all cases, do the following:
(a)  Determine when the solution is within the asymptotic range of convergence. Identify clearly at the coarsest mesh that is within the asymptotic range.
(b)  Determine the GCI on the coarsest mesh that is within the asymptotic range.
(c)  Estimate the exact solution to $\phi$ using the GCI obtained in (b).
05.11.19
PDF 1✕1 2✕1 2✕2
$\pi$