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

CFD Assignment 1

Q-1) A system of PDE is given by following:-


𝜕𝑢 𝜕𝑣
+ =0
𝜕𝑥 𝜕𝑦

𝜕𝑢 𝜕𝑣 1 𝜕𝑝 𝜕2 𝑢 𝜕2 𝑢
𝑢 +v =- +ν( 2 + )
𝜕𝑥 𝜕𝑦 𝜌 𝜕𝑥 𝜕𝑥 𝜕𝑦 2

𝜕𝑢 𝜕𝑣 1 𝜕𝑝 𝜕2 𝑣 𝜕2 𝑣
𝑢 +v =- +ν( + )
𝜕𝑥 𝜕𝑦 𝜌 𝜕𝑦 𝜕𝑥 2 𝜕𝑦 2

Where the kinematic viscosity ν and density 𝜌 are constants.


a) Reduce the system to the first order system.
b) Write the system in vector form.
c) Classify the system.
𝜕𝑓 𝜕2 𝑓 𝜕3 𝑓 𝜕4 𝑓
Q-2) Write a computer program to compute , 2 , 3 and 4 at x
𝜕𝑥 𝜕𝑥 𝜕𝑥 𝜕𝑥
= 1.5 for f = sin(πx/2). Use central differencing of second order with
the following step wise sizes: ∆𝑥 = 0.0005, 0.001, 0.01, 0.1, 0.2, 0.3,
0.4. also determine the % of error for each computation by
Numerical value – Analytical value
% Error = 100( )
Analytical value

Q-3) Classify the following PDE


𝜕2 ∅ 𝜕2 ∅ 𝜕2 ∅
a) 3𝜕𝑥 2 + 𝜕𝑥𝜕𝑦 + 2 𝜕𝑦2 = 0
𝜕2 ∅ 𝜕∅ 𝜕2 ∅ 𝜕∅
b) 𝜕𝑧 2 + 𝜕𝑧 + 𝜕𝑟2 + 𝑟𝜕𝜃 + K = 0
Q-4) A wall of 1ft. thick and infinite in other directions (see figure
P3-1) has an initial uniform temperature (Ti) of 100.00 F. the surface
temperatures (Ts) at the two sides are suddenly increased and
maintained at 300.00F. The wall is composed of nickel steel
(40% Ni) with a diffusivity of α = 0.1 ft2/hr. we are interested in
computing the temperature distribution within the wall as function
of time.

The governing equation to be solved is the unsteady one-space


dimensional heat conduction equation, which in Cartesian
coordinates is
𝜕𝑇 𝜕2𝑇
=𝛼 2
𝜕𝑡 𝜕𝑥
Use the following techniques with the specified step sizes to solve
the problem
a. FTCS explicit
b. duFort-Frankel
c. Laasonen
d. Crank-Nicolsan
For each method , two sets of step sizes are to be used.
Δ 𝑥 = 0.05 , Δ 𝑡 = 0.01
Q-5) Obtain the von-Neumann stability criteria of the following
multi-dimensional heat conduction equation
𝜕𝑢 𝜕2 𝑢 𝜕2 𝑢
𝜕𝑡
= 𝛼(
𝜕𝑥 2 + 𝜕𝑦 2
)

Q-6) An initial velocity distribution representing a compression


wave is given by the following

1 𝑥 < 0.25
𝑢(𝑥, 0) =
1.25-π 0.25≤ 𝑥 ≤1.25
0 𝑥 >1.25
The inviscid burgers equation is used to solve for the wave
propagation within a domain of 0.0 ≤ 𝑥 ≤4.0 the solution is sought
up to 6.0 seconds note that the initial wave is compressed
(steepens) with time and subsequently forms a shock wave within
the specified time a space intervals no shock reflection occurs, and
therefore, the boundary conditions are simply specified as
𝑢(0.0, 𝑡) = 1.0
𝑢(4.0, 𝑡) = 0.0
Use the Lax-wendroff scheme with a spatial step of 0.05 m to obtain
the solutions for the following cases:
Δ𝑡 = 0.01, Δ𝑡 = 0.025, Δ𝑡 = 0.05, Δ𝑡 = 0.1

You might also like