Advanced Computational Fluid Dynamics AML-811/AML-410 Assignment #2
Advanced Computational Fluid Dynamics AML-811/AML-410 Assignment #2
In a steady, two-dimensional situation, the variable is governed by the equation div (u) = div (grad). Where = 1, = 0. The flow field is such that u = 2 and v = 2 everywhere. The values of are given at the four boundaries (Fig.1). Adopt a control volume design as discussed in the class. The size of the domain is 1m1m.
= 100 = 0
= 100
y v=2m/s U=2m/s
= 0 Fig. 1
a) Solve the problem using UDS for the grid sizes of 1010, 5050 and 100100 and compare the results with the exact solution and plot the distributions of along the dotted line shown in Fig.1. b) Compare the distributions along the dotted line using CDS, UDS, hybrid differencing scheme and QUICK scheme for a grid size of 5050. 2. Consider the one-dimensional convection equation:
a) Using the FVM, discuss the stability of the numerical solution using the explicit scheme with a fixed time-step size of t = 1 and two different grid sizes of x = 1 and x = 0.5. Consider two cases with UDS and CDS for the space discretizations. The initial condition is set to according to (t = 0, x) = exp[ln(2)((x-50)/3)2]. The boundary conditions of the problem are (t = 0, 0) = 0 and (t = 0, 80) = 0. The u-velocity can be assumed equal to unity. b) Use the implicit scheme with UDS for the same problem. Does this combination show stable and bounded results? Compare the results with the results obtained in part (a) using the explicit and UDS for 5, 10, 20, 40 seconds.