Computing Technology of a Method of Control Volume for Obtaining of the Approximate Analytical Solution to One-Dimensional Convection-Diffusion Problems ()
1. Introduction
Many physical problems involve the combination of convective and diffusive processes. Convection-diffusion problems arise frequently in many areas of applied sciences and engineering. They occur in fields where mathematical modeling is important such as physics, engineering and particularly in fluid dynamics and transport problems.
Mathematical models of physical, chemical, biological and environmental phenomena are governed by various forms of differential equations.
Convection-diffusion problems are governed by typical mathematical models, which are common in fluid and gas dynamics. Heat and mass transfer is conducted not only via diffusion, but appears due to motion of a medium, too.
When velocity is higher, that is, flow term is larger, a simple convection- diffusion problem is converted to convection-dominated diffusion problem because Peclet number is greater than two. A Peclet number is a dimensionless number relevant in the study of transport phenomena in fluid flows. It is defined to be the ratio of the rate of advection of a physical quantity by the flow to the rate of diffusion of the same quantity driven by an appropriate gradient. For diffusion of heat (thermal diffusion), Peclet number is defined as, Pе= F/D where F is the flow term and D is the diffusion term.
Finite volume methods are widely used in computational fluid dynamics. The elementary finite volume method uses a cell-centered mesh and finite-difference approximations of first order derivatives. This paper shows how the finite volume method is applied to a simple model of convective transport: the one- dimensional convection-diffusion equation.
There are two primary goals of this paper. The first is to apply the finite volume method to obtain approximately analytical solution. The second one is construct scheme which works for all mesh Peclet number. Readers interested in additional details, including application to the Navier-Stokes equations, should consult the classic text by Patankar [1] . The basic attention at a numerical solution is given to problems of approximation of convective terms [2] [3] [4] [5] .
Usually, solution of differential equations by numerical methods is obtained in the form of numbers. Here we will show a possibility of deriving of a solution of differential equations by control volume methods in the approximately-analytical form by the so-called moved node.
Such type research it is considered in work [6] with the finite deference method.
2. Deriving of the Approximately-Analytical Solution
Let’s consider one-dimensional the convection-diffusion equation on a interval
:
(1)
with boundary conditions
(2)
where u a stream velocity in a x direction,
a stream denseness,
―a diffusivity,
―a given function (source),
―unknown function. From an equation of continuity implies that
.
Let’s consider the Equation (1) on segments
. For deriving of the approached analytical solution of a problem by the method of control volume we take an arbitrary point
and control volume
. In Figure 1, x is arbitrary point in control volume. x is so-called moved node.
Let’s suppose that, the edge w is arranged in the middle between points W and x, and an edge e―in the middle between points x and E. Integrating the Equation (1) on control volume and substituting, derivatives the upwind scheme we will receive zero approach
(3)
here
. As
an arbitrary point from (3) we can define
and receive the approached analytical solution of a problem (1)
are defined on a basis (2)). The source term is obtained by assuming that S has the uniform value of the control volume.
To improve approximate solution we take additional grids:
. Let’s write the upwind scheme of type (3) for a segment
,
and
. Let’s receive system from three equations. We exclude the received system,
and as a result we will receive the improved scheme:
(4)
where
,
,
,
,
,
,
,
,
,
. In (4)
improved value of unknown function in a point x
, (
are defined on the basis of (2)).
Solving (4) rather
again for solution improving we will arrive similarly: write the scheme (4) for a segment
,
and
, and receive the improved analytical solution. Also we will exclude unknowns in points
and,
etc. Continuing this process we will obtain
(5)
where
,
,
,
,
,
.
In (5)
improved value of unknown function in a point
. Solving the Equation (5) rather we will receive the approached analytical solution of an initial problem.
3. Examples
On Figure 2, solutions of a problem:
are reduced on segments
with boundary conditions
. From the graph it is visible that, in process of magnification to approximate solutions comes nearer to the exact.
On Figure 3, solutions of a problem
are reduced on segments
with boundary conditions
.
4. Numerical Experiments
The analytical scheme (5) allows not only receiving the approached analytical solution, but also gives the chance in creation of the qualitative scheme.
Comparisons of exact and difference solutions are on Figure 4 reduced.
Solution of problem
are on Figure 4 graphs on
with boundary conditions
. Source
at
,
at
and
at
.
In Figure 4, numerical results are received at
and
, (mesh
Figure 2. Continuous line―exact, pointwise―k = 0, dotted―k = 2, rare dashed―k = 6.
Figure 3. Continuous line―exact, pointwise―k = 0, dotted―l = 1, long dashed―k = 6.
Figure 4. Comparison of various schemes.
Figure 5. Comparison finite difference and control volume method.
Peclet number). Solid line is exact solutions of the problem. Rectangles under the scheme of Patankar, diamond at
and circles at
. From Figure 4 appears that, the offered schemes yield good results.
Comparison of analytical solutions received finite difference [6] and a method of control volume shows advantage of a method of control volume (Figure 5). On Figure 5, it is shown errors received by these methods. On Figure 5 point wise line corresponds to the difference exact and solutions received by the finite difference method, and dashed―difference exact and solutions of the control volume (k = 4)
.
5. Conclusion
The approached analytical solution to one-dimensional convection-diffusion problems is received. The algorithm of deriving of a solution is based on the control volume method. The analytical solution allows also constructing the compact scheme. It is the three point scheme of the high order of resolution. It is the scheme that is suitable for any Peclet numbers.