mhsd91
- 22
- 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) &= \nabla \rho(x,1) =& 0 \\<br /> \rho(0,y) &= \rho(x,0) =& 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 &= Y X_{x} \hat{e}_x + X Y_{y} \hat{e}_y \\<br /> \nabla^2 \rho &= 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) &= C_1 \exp[-\alpha^{(+)}_{x} x] \\<br /> &+ C_2 \exp[+\alpha^{(-)}_{x} x] \\<br /> & \\<br /> Y(y) &= C_3 \exp[-\alpha^{(+)}_{y} y] \\<br /> &+ 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 ..
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) &= \nabla \rho(x,1) =& 0 \\<br /> \rho(0,y) &= \rho(x,0) =& 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 &= Y X_{x} \hat{e}_x + X Y_{y} \hat{e}_y \\<br /> \nabla^2 \rho &= 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) &= C_1 \exp[-\alpha^{(+)}_{x} x] \\<br /> &+ C_2 \exp[+\alpha^{(-)}_{x} x] \\<br /> & \\<br /> Y(y) &= C_3 \exp[-\alpha^{(+)}_{y} y] \\<br /> &+ 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: