Docsity

Computational Fluid Dynamics - Lecture Notes | EOC 6189, Study notes of Earth Sciences

Toggle sidebar
bg1
Lecture Notes # 2 P. Ananthakrishnan 8/25/07
EOC6189 Computational Fluid Dynamics Fall 2007
ii. Diffusion Equation
Next, let us consider the one-dimensional diffusion equation given by
∂u
∂t =ν∂2u
∂x2
where νis a positive constant known as the diffustion coefficient. In view of simulations to be later
considered in the course, let the boundary conditions be
u(y= 0, t) = 0,for t < 0
=Uo,for t≥0
and
u(y→ ∞, t) = 0
The above system of equations would represent the flow caused by an infinitely long plate (y=0)
impulsively set into motion from time t= 0, as illustrated on the left of the figure. In this case u
will correspond to horizontal flow velicity and Uothe velocity of the plate.
The equations could also represent diffusion of a substance brought into a contact with a medium;
for example, diffusion of Cl ions into concrete exposed to seawater from time t = 0, as illustrated
on the right of the figure. In this case, uwill correspond to concentration (mass/volume) of the Cl
and Uothe Cl concentration in sea water touching the concrete.
Uo
Velocity Profile at t
y
Plate sliding with velocity = Uo
Concentration Profile at t
Sea water with Cl content =
y
1
pf3
pf4

Partial preview of the text

Download Computational Fluid Dynamics - Lecture Notes | EOC 6189 and more Study notes Earth Sciences in PDF only on Docsity!

Lecture Notes # 2 P. Ananthakrishnan 8/25/

EOC6189 Computational Fluid Dynamics Fall 2007

ii. Diffusion Equation

Next, let us consider the one-dimensional diffusion equation given by

∂u ∂t =^ ν

∂^2 u ∂x^2

where ν is a positive constant known as the diffustion coefficient. In view of simulations to be later considered in the course, let the boundary conditions be

u(y = 0, t) = 0 , for t < 0 = Uo, for t ≥ 0

and u(y → ∞, t) = 0

The above system of equations would represent the flow caused by an infinitely long plate (y=0) impulsively set into motion from time t = 0, as illustrated on the left of the figure. In this case u will correspond to horizontal flow velicity and Uo the velocity of the plate.

The equations could also represent diffusion of a substance brought into a contact with a medium; for example, diffusion of Cl ions into concrete exposed to seawater from time t = 0, as illustrated on the right of the figure. In this case, u will correspond to concentration (mass/volume) of the Cl and Uo the Cl concentration in sea water touching the concrete.

Uo

Velocity Profile at t

y

Plate sliding with velocity = (^) Uo

Concentration Profile at t

Sea water with Cl content =

y

The above equation can be solved by similitude transformation. The similitude variable can be determined using the Buckingham’s Pi theorem that you must have learnt in undergraduate Fluid Mechanics course. Let us then assume that u depends on y, t, ν, and Uo; ie.,

u = f (y, t, ν, Uo)

which is a functional relation involving N = 5 variables. Of the five variables, letting briefly u to be anything (velocity, concentration, temperature, cat, whatever), there are at the most 3 variables (ie., M=3) which are dimensionally independent. For example, y, t and Uo is one such subset of dimensionally independent variables. Then by Pi theorem, the above functional relation can be replaced by a relation involving N − M = 2 non-dimensional variables:

Π 1 = F (Π 2 )

where Π 1 = u yatbU (^) oc^ =^

u Uo

and Π 2 = ν yatbU (^) oc = νt y^2 You may want to review the subject of Dimensional Analysis, in particular the Pi theorem and the exponent method, in case the above steps are not clear! The second non-dimensional variable can be also taken as Π 2 = √y νt Thus by Pi theorem, u Uo = F ( √y νt

With √yνt taken as the similitude variable η, the above relation can be written as

u Uo = F (η)

In other words the non-dimensional u/Uo depends only on one variable, namely the similitude variable η even though the dimensional u is function of y and t. This suggests the possibility of obtaining an ordinary differential equation for the non-dimensional u. As shown below, this is just a straightforward exercise involving chain-rule of differentiation. As η = √y νt

∂ ∂t = d dη

∂η ∂t = −

√^ y ν

t^3 /^2

d dη = − 12 √^ y νt

t

d dη = −

2 η^

t

d dη

u = A

∫ (^) η 0

e−α^2 /^4 dα − A

∫ (^0) ∞

e−α^2 /^4 dα

= A

[∫ (^) η 0

e−α (^2) / 4 dα −

∫ (^0) ∞

e−α (^2) / 4 dα

]

The second integral is equal to

π. Therefore

u = A

[∫ (^) η 0

e−α (^2) / 4 dα −

π

]

From the wall condition, u = Uo on y (ie. η) = 0. Therefore

A = − √Uo π

and thus the solution is u Uo^ =

[ 1 −

√^1

π

∫ (^) η 0 e−α (^2) / 4 dα

]

Graphical representation of the solution is shown below.

Uo

u

1

η

In fluid mechanics, the above problem also sheds light on viscous stress in impulsively started flows. Shear stress τxy is given, for this flow, by

τxy = ρν ∂u ∂y

where ρ is fluid density. Using the solution obtained above,

τxy = ρν du dη

∂η ∂y = ρν

√^1

νt

√^1

π e

−η^2 / 4

One can thus observe that viscous shear stress on the plate (ie. η = 0) is 1/

t singular in time. Later in the course, we will be discussing simulation of impulsively started motions in viscous fluid when the present result will help to understand small time numerical solutions better.