Finite volume method for two dimensional diffusion problem explained

The methods used for solving two dimensional Diffusion problems are similar to those used for one dimensional problems. The general equation for steady diffusion can be easily derived from the general transport equation for property Φ by deleting transient and convective terms[1]

\partial{
}\left(\Gamma\frac\right)+\frac\left(\Gamma\frac\right)+S=0

where,

\Gamma

is the Diffusion coefficient[2] and

S

is the Source term.[3]

A portion of the two dimensional grid used for Discretization is shown below:

In addition to the east (E) and west (W) neighbors, a general grid node P, now also has north (N) and south (S) neighbors. The same notation is usedhere for all faces and cell dimensions as in one dimensional analysis. When the above equation is formally integrated over the Control volume, we obtain

\int\Delta{v

}\frac\left(\Gamma\frac\right)dxdy+\int_\frac\left(\Gamma\frac\right)dxdy+\int_S_dV=0

Using the divergence theorem, the equation can be rewritten as :

\left[{\Gamma{}}eA

e\left(\partial{
\phi{}}{\partial{}x}\right)

e-{\Gamma{}}wA

w\left(\partial{
\phi{}}{\partial{}x}\right)

w\right]+\left[{\Gamma{}}nA

n\left(\partial{
\phi{}}{\partial{}y}\right)

n-{\Gamma{}}sA

s\left(\partial{
\phi{}}{\partial{}y}\right)

s\right]+\bar{S}\Delta{}V=0

This equation represents the balance of generation of the property φ in a Control volume and the fluxes through its cell faces. The derivatives can by represented as follows by using Taylor series approximation:

{{\Gamma{}}wA

w\left(\partial{
\phi{}}{\partial{x}}\right)}

w= {\Gamma{}}wA

w({\phi{
}_p-_w)}

Flux across the east face =

{{\Gamma{}}eA

e\left(\partial{
\phi{}}{\partial{x}}\right)}

e= {\Gamma{}}eA

e({\phi{
}_e-_p)}

Flux across the south face =

{{\Gamma{}}sA

s\left(\partial{
\phi{}}{\partial{y}}\right)}

s= {\Gamma{}}sA

s({\phi{
}_p-_s)}

Flux across the north face =

{{\Gamma{}}nA

n\left(\partial{
\phi{}}{\partial{y}}\right)}

n= {\Gamma{}}nA

n({\phi{
}_n-_p)}

Substituting these expressions in equation (2) we obtain

{\Gamma{}}eA

e({\phi{
}_e-_p)} - _wA_w\frac + _nA_n\frac - _sA_s\frac+ \bar\DeltaV=0

When the source term is represented in linearized form

\bar{S}\Delta{}V=Su+Sp*S\varphi

,this equation can be rearranged as,
\left[ {\Gamma{
}_eA_e} + \frac + \frac + \frac- S_p\right] \phi_P =
{\Gamma{
}_eA_e}\phi_E + \frac\phi_W + \frac\phi_N + \frac\phi_S+ S_u

This equation can now be expressed in a general discretized equation form for internal nodes, i.e.,

aP\phi{}P=aW\phi{}W+aE\phi{}E+aS\phi{}S+aN\phi{}N+Su

Where,

The face areas in y two dimensional case are :

Aw=Ae=\Delta{}y

and

An=As=\Delta{}x

.

We obtain the distribution of the property

\varphi{}

i.e. a given two dimensional situation by writing discretized equations of the form of equation (3) at each grid node of the subdivided domain. At the boundaries where the temperature or fluxes are known the discretized equation are modified to incorporate the boundary conditions. The boundary side coefficient is set to zero (cutting the link with the boundary) and the flux crossing this boundary is introduced as a source which is appended to any existing

su

and

Sp

terms. Subsequently the resulting set of equations is solved to obtain the two dimensional distribution of the property

\varphi{}

References

External links

See also

Notes and References

  1. Web site: Navier-Stokes Equations in Fluid Mechanics . Efunda.com . 2013-10-29.
  2. Web site: Diffusion – useful equations . Life.illinois.edu . 2013-10-29.
  3. Web site: SSCP: Programming Strategies . Physics.drexel.edu . 2013-10-29.