logo

Solution of the Diffusion Equation

Calculate the values of S0(x, t) and S5(x, t) for given values of x and t.

9 Pages1710 Words387 Views
   

Added on  2022-11-26

About This Document

This document provides the solution of the diffusion equation for the distribution of a pollutant in a pipe as a function of time and space. It discusses the initial conditions and boundary conditions, and explores the effects of the diffusivity coefficient on the concentration change. The document also highlights the limitations of the mathematical model and presents the series solution for different values of L. Additionally, it examines the periodic function approach and its impact on the concentration level throughout the pipe.

Solution of the Diffusion Equation

Calculate the values of S0(x, t) and S5(x, t) for given values of x and t.

   Added on 2022-11-26

ShareRelated Documents
SOLUTION OF THE DIFFUSION EQUATION
Question 1
C
t = D 2 C
x2
The mathematical problem being solved concerns the distribution of the pollutant in the pipe as a
function of time and space with the initial conditions such as the concentration of the pollutant
being specified.
Solution of C(x,t)
Let C(x,t) = M(x)N(t) , differentiating C(x,t) with respect to t and x respectively we get,
C
t = M dN
dt and 2 C
x2 = M d2 M
d x2
We have M dN
dt = D d2 M
d x2 N hence dN
dt /DN = d2 M
d x2 /M = k
We obtain two ordinary differential equations from above,
d2 M
d x2 – kM = 0 and dN
dt – kDN = 0
Next we solve for M,
With k>0, the general solution is M(x) = Ceμx+ Deμx
Applying the boundary conditions, C+D = 0, Aeμx + Beμx =0 and therefore A = B = 0
With k = -p2
M(x) = C cos(px) + D sin(px) and the conditions at the boundary give,
M(0) = A = 0, M(L) = Dsin(pL) = 0 hence sin(pL) = 0 therefore Mn(x) = sin(
L )x
Next we solve for N,
We have p =
L and define λn = n
L , hence dN
dt + ¿λn2N = 0
The general solution is then given by: Nn (t) = Bne λn 2
The solution to the one dimensional diffusion equation is thus: C(x,t) =
n =1

Cn ( x , t )=
n =1

Bn eλ n 2
sin(
L )x
Solution of the Diffusion Equation_1
The initial condition is C(x,0) ¿
n=1

Bn sin(
L )x = C(x), Bn = 2
L
0
L
C ( x ) sin(
L )x dx
Question 2
From the equation, C
t = D 2 C
x2 with C(x,0) = 0, C(0,t) = Co
Converting the diffusion equation into frequency domain yields;
F (x , s)
x = D 2 F ( x , s)
x2 and F(0,s) = C o
s
F(x,s) = C o
s exp (-s / Dx)
From inverse Laplace transform tables, L[ erfc ( a
2 t ) ] = exp ¿ ¿
Therefore, C(x,t) = Co erfc ( x
2 Dt )
Question 3
Solution of the Diffusion Equation_2
Figure 1: A plot of C(x,t) as a function of x for t = 10,20,30,40,50,60,70,80,90,100.
The value of the diffusivity coefficient, D affects the speed of the concentration change.
Changing the value of D has a similar effect as changing time t. Thus changing D affects the rate
at which the concentration falls as distance from the initial location increase. If D increases,
initially the concentration reduces rapidly and the gradient of the curves is steep. On the other
hand, a low value of D means a low rate of diffusion hence the concentration changes slowly.
Question 4
The mathematical problem to be solved for C(x,t) revolves around the fact that the original
equation of diffusion was derived for a semi-infinite pipe which is an experiment that cannot be
carried out practically. The original derivation assumes that the concentration only varies in the
x-direction. Practically, this is not possible. This means that the results obtained vary from the
ones predicted by the ideal set up. Furthermore, the diffusivity constant is not really constant but
depends on the type of solute. D is only constant for dilute solutions.
Solution of the Diffusion Equation_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Solutions to Partial Differential Equations
|12
|2355
|397

Approximate Derivatives and Differential Equations Solutions
|8
|1368
|198

Applied Numerical Methods: Triple Pendulum Vibration Analysis
|15
|1932
|266

Computational Fluid Dynamics: Simple Initial Value Problem and Numerical Method for Predicting Vibration of Cylinder
|31
|4457
|143

Engineering Mathematics
|20
|2432
|67

Solutions to Engineering Dynamics
|8
|1159
|227