2D Stationary advection-diffusion eq. as a BVP

  • Thread starter Thread starter mhsd91
  • Start date Start date
  • Tags Tags
    2d
mhsd91
Messages
22
Reaction score
4
PROBLEM FORMULATION:
Considering the region \Omega bounded as a square box within x \in [0,1], y \in [0,1]. We wish to solve the 2D, stationary, advection-diffusion equation,

<br /> 0 = D\nabla^2 \rho(x,y) + \vec{V} \cdot \nabla \rho(x,y)<br />

where D is a scalar constant, and \vec{V} = V_1\hat{e}_x + V_2 \hat{e}_y is a constant advection field vector. The problem has the following boundary conditions,

<br /> \begin{align}<br /> \nabla \rho(1,y) &amp;= \nabla \rho(x,1) =&amp; 0 \\<br /> \rho(0,y) &amp;= \rho(x,0) =&amp; C = \textrm{known constant}<br /> \end{align}<br />

ATTEMPT AT SOLUTION: Method of Separation of Variables

Assuming \rho(x,y) = X(x) \cdot Y(y), then

<br /> \begin{align}<br /> \nabla \rho &amp;= Y X_{x} \hat{e}_x + X Y_{y} \hat{e}_y \\<br /> \nabla^2 \rho &amp;= Y X_{xx} + X Y_{yy}<br /> \end{align}<br />

where the subscript denotes partial derivation with respect to that particular variable, with the exception of \hat{e} which represents the unit vector in either direction. Decomposing the advection field vector and inserting these results into the original problem, we get..

<br /> 0 = D (Y X_{xx} + X Y_{yy} ) + Y X_{x} v_{x} + X Y_{y} v_{y}<br />

Multiply this eq. with 1/(XYD) and moving all X -expressions to the left hand side result in the separation of X and Y such that they both have to be equal some unknown constant \lambda (we cannot have a small change in X, without the corrosponding change in Y and vice versa). Thus,

\begin{align}
\lambda &= -\frac{X_{xx}}{X} - \frac{X_{x}}{X} \frac{V_{1}}{D} \\
\lambda &= +\frac{Y_{yy}}{Y} + \frac{Y_{y}}{Y} \frac{V_{2}}{D}
\end{align}

Which are two independent, linear, second order ODEs, with general solutions
<br /> \begin{align}<br /> X(x) &amp;= C_1 \exp[-\alpha^{(+)}_{x} x] \\<br /> &amp;+ C_2 \exp[+\alpha^{(-)}_{x} x] \\<br /> &amp; \\<br /> Y(y) &amp;= C_3 \exp[-\alpha^{(+)}_{y} y] \\<br /> &amp;+ C_4 \exp[+\alpha^{(-)}_{y} y]<br /> \end{align}<br />

with

<br /> \alpha^{(\pm)}_{m} = \frac{1}{2} \left( \sqrt{\frac{v_{m}^2}{D^2} +4\lambda} \pm \frac{v_{m}}{D}\right), \quad m=1 \vee 2<br />

and C_i, i=1,2,3,4; are constant coefficients. So far, so good! However, here is where my issues begin to pile up as I'm unable to sort out the C -values with the boundary conditions.

Along the north and east boundaries, I'm able to write C_1 = (\textrm{some const expression}) \cdot C_2 and similar for C_3, C_4. However, for the west and south bounds I end up with

<br /> (C_1 + C_2)Y = C \\<br /> <br /> (C_3 + C_4)X = C<br />

Which will only be valid for C=0, C_1 = -C_2, C_3=-C_4. This, evidently, results in the trivial solution \rho(x,y)=0, which obviously is not what we want ..

Any help is appreciated! I've also tried to solve it by integral transforms, but due to the stationarity (the problem-equation is homogenious), I fail as \rho vanishes ..
 
Last edited:
Physics news on Phys.org
\rho = C is a solution of the BVP. Have you any reason to expect others?

In general, what you want to look at in these sort of linear problems is u = \rho - C rather than \rho itself.
 
Indeed, you're absolutley right. My problem is that I'm working on a project where we're supposed to solve this eq. numerically, but by looking at it, I was really certain I could solve it analytically. It would be really nice to have such an analytical solution to compare with the numerical.
 
Maybe a Fourier transform could be a useful approach, as

\mathscr{F} \{{D\nabla^2 \rho(x,y) + \vec{V} \cdot \nabla \rho(x,y)}\}=-D(\mu^2+\nu^2) P(\mu,\nu)+\mathscr{F} \{ {\vec{V}} \}\ast i(\mu +\nu) P(\mu,\nu),

or would this just give a condition for the vector field for the constant solution?
 
What you suggest is of course interesting. I fear however, I've already tried this: The Fourier (and Laplace) integral transform are indeed popular approaches for the non-stationary cases. Since I have stationarity, what you write there is equal to zero. Thus,

<br /> 0 = D (\mu^2 + \nu^2) P(\mu,\nu) + \mathscr{F}\{\vec{V}\} * i(\mu+\nu) P(\mu,\nu)<br />

Obviously, we may divide this eq. by P(\mu,\nu), and it is lost such that we cannot obtain \rho(x,y) ..

Or am I doing something illegal here: will P(\mu,\nu) be a part of the convolution? In that case, then a non constant solution of \rho(x,y) may exist for non-constant \vec{V}...?
 
mhsd91 said:
Indeed, you're absolutley right. My problem is that I'm working on a project where we're supposed to solve this eq. numerically, but by looking at it, I was really certain I could solve it analytically. It would be really nice to have such an analytical solution to compare with the numerical.
One thing you could do is to solve the problem for the case where the diffusion coefficient is zero. This could be done using the method of characteristics. This would give you a first order picture of what the solution for the density looks like. For small values of the diffusion coefficient, the solution would be a smoothed version of this.

Chet
 
mhsd91 said:
Indeed, you're absolutley right. My problem is that I'm working on a project where we're supposed to solve this eq. numerically, but by looking at it, I was really certain I could solve it analytically.

Indeed you can: set u = \rho - C. Then u satisfies D\nabla^2u + \mathbf{v} \cdot \nabla u = 0 with u(0,y) = u(x,0) = 0, \frac{\partial u}{\partial y} = 0 on y =1 and \frac{\partial u}{\partial x} = 0 on x = 1.

Separation of variables will work here: you'll have u = X(x)Y(y) where X(0) = 0, X&#039;(1) = 0, Y(0) = 0, and Y&#039;(1) = 0.
 
Back
Top