CFD Assignment 2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Computational Fluid Dynamics

Rahul Vhatakar
(SC23M131)
Indian Institute of Space Science and Technology
Thiruvananthapuram - 695547
February 24, 2024

0.1
Consider the steady-state temperature distribution in a rectangular plate whose sides are oriented along x
and y axes. The width of the plate Lx = 24 cm and height Ly = 12 cm. The plate is made of homogeneous
material and no temperature variation exists in the direction normal to x-y direction. Three sides of this
plate are maintained at a constant temperature of T1 = 25 oC, while fourth is maintained at a constant
temperature of T2 = 100 oC. The governing equation and the auxiliary conditions for this Dirichlet type
boundary value problem are given by

∂2T ∂2T
2
+ =0 0 ≤ x ≤ Lx , 0 ≤ y ≤ Ly
∂x ∂y 2
Obtain the exact solution for temperature distribution in the plate and determine the value of temper-
ature at the mid-point of the plate. Discretize the problem using finite difference method and obtain the
numerical solution while employing following iterative solvers:

(a) Jacobi Method


(b) Gauss–Siedel Method
(c) SOR (Gauss–Siedel with relaxation) Method
(d) Line Gauss–Siedel Method
(e) Line SOR Method
(f) ADI Gauss–Siedel Method
(g) ADI SOR Method

∥R∥∞

0.2
Solve the problem 1 using SOR method with grid resolutions (m, n) = (63, 31), (127, 63), (255, 127),
(511, 255), (1023, 511), where m and n are the number of interior grid points in the x and y directions
respectively. Determine the number of iteration for each resolution to meet the convergence criterion,Rek
106 and tabulate the results. Determine the error in the center-point temperature for each grid resolution
and show graphically the variation of error versus grid resolution.

0.3
Solve the problem 1 using SOR method with grid resolution (m, n) = (255, 127). Determine the number
of iteration to meet the convergence criteria, Rek 103, 104, 105, 106, 107, 108. Tabulate the results.
Determine the error in the center-point temperature for each convergence criterion and show graphically the
variation of error versus convergence criterion.

1
0.4
Consider a fully developed steady pressure-driven flow of water at 20 oC through an infinitely long tube of
rectangular cross section of width b = 12 cm and height h = 6 cm. The flow is governed by the equation

∂2T ∂2T 1 dp
+ =
∂x2 ∂y 2 µ dz

The no-slip boundary conditions result in u = 0 on the (stationary) walls at 0≤ x ≤ b, −h 2 ≤ y ≤


h
2 .T heappliedpressuredropcanbetakenas1.25KP a/m.Determinethevelocitydistribution(a)usinganalyticalmethodand(b)usi
(511, 255).Comparethenumericalandanalyticalvaluesof center−linevelocity.P lotthenumericalvelocitydistribution.

You might also like