Professional Documents
Culture Documents
Re Term 2014
Re Term 2014
M. D. Camposa, ABSTRACT
b
and E. C. Romão Numerical experiments for four test problems are carried out to demonstrate
the performance of the present method and to compare it with the others
a
classical methods. The numerical solutions obtained are compared with the
Universidade Federal de Mato Grosso analytical solution as well as the results by other numerical schemes with
Campus Universitário do Araguaia emphasis on the application involving heat exchange in a rectangular
channel. It can be easily seen that the proposed method is simple to
Instituto de Ciências Exatas e da Terra
implement and very efficient..
Av. Senador Valdon Varjão, 6390
CEP 78600-000 - Barra do Garças MT Brasil
b
Universidade de São Paulo
Departamento de Ciências Básicas e
Ambientais
Estrada do Campinho, s/n, Bairro Campinho
CEP 12602-810 - Lorena SP Brasil
the method and the truncation error over irregular Tijkn 1 Tijkn 1 Tijkn 1 Tijkn 1
grids. The example presented numerical example u v w G
shows that a decrease in the value of the time step, x y z t
(2)
always below the stability limits, leads to a decrease
in the global error. (Ge et al., 2013) developed an where
exponential high order compact alternating direction
1 Tijk 2Tijkn 2Tijn Tijkn
2 n
implicit method with fourth-order in space, second G x u
2
y z
order in time and unconditionally stable and solved x 2 y 2 z 2 x
three numerical problems to demonstrate the high
Tijkn Tijkn Tijkn
accuracy and efficiency and to show its superiority
v w .
over the classical Douglas-Gunn ADI scheme and the y z t
Karaa’s high order ADI scheme.
Among the range of applications, simulations of
rectangular cooling channels, such as happens in cold In the applications 1 and 2 below, the initial
storage, have often been discussed in recent works value of the exact solution is taken as the initial
(Smale et al., 2006; Hao and Ju, 2011) and will be condition, and boundary conditions are also specified
operated in the Application 4 of this work. by the above equation and change with time.
However, for the applications 3 and 4, the conditions
GOVERNING EQUATIONS: TEMPORAL AND will be specified in the same case.
SPATIAL DISCRETIZATION The following criteria will be used for the
spatial discretization of the previous equation:
A In this work, we propose a solution by the - For nodes with x and y distant from the boundary
high-order finite difference method for the three- using the Central Difference Method with O(x2), we
dimensional advection-diffusion equation which is have:
given by.
z w n 1 y v n 1
Ti , j ,k 1 Ti , j 1,k
T T T T k x T y
2
2z 2y
2 2
4 z 4
u v w
t x y z c p x 2 y
u n 1 1 n 1
x 2 Ti 1, j ,k x2 2 z2 Tijk
k y 2T k 2T 2x 4x t
z 0 x y z
c p y 2
c p z 2 y v n 1
(1) u n 1
x 2 Ti 1, j ,k Ti , j 1,k
2x 4x 2y
2
4y
considering kx, ky e kz as thermal conductivity in the
x,y,z-directions, respectively, as mass density w n 1
z 2 Ti , j ,k 1 G
and c p as heat capacity. 2z 4 z (3)
where
Rearranging the Eq. (1), taking k x ,
c p
x
2 n 1 T .
1 Tijk 2Tijkn 1 2Tijn 1 2 2 z t ijk
x
2
y z
x 2 y 2 z 2
- Now, for the other nodes, using the Central
Difference Method with O(x4), we have:
x w n 1 2 z 2 w n 1 1/ 2
Nnost 2
Ti , j ,k 2
24z
2
24 z 3z
2
3
Ti , j ,k 1
z
L2norm, defined by
2
ei / Nnost , where
i 1
y v n 1 2 y v n 1 Nnost is the total number of nodes in the mesh and
Ti , j 2 ,k
3y 2 3y Ti , j 1,k
24 y 2
24 y ei T( num) T( an) .
i i
x u n 1 2 x u n 1
Ti 2 , j ,k Ti 1, j ,k
24x
2
24x 3x
2
3x Application 1
1,25 x 1,25 y 1,25 z 1 n 1
Tijk In this application,we considered a pure
x
2
y 2 z 2 t diffusive case according to the equation
2 x u n 1 x u n 1 T 1 2T 2T 2T with an analytical solution
Ti 1, j ,k Ti 2 , j ,k
3x 24x t 3 x 2 y 2 z 2
3x 24x
2 2
analysis of the L∞ norm of error in the numerical In this application, was considered an advective-
solution of T(x,y,z,t) and the CPU time. diffusive case with the governing equation
T T T T 2T 2T 2T
Table 3. L∞ norm of the error committed in T - 0,8 0,01 2 2 2
Application 2. t x y z x y z
t x = y = z with the following analytical solution given by [Ge,
Tian and Zhang (2013); Karaa (2006)]:
1/10 1/20 1/40 1/50 1
T ( x, y, z, t ) (4t 1) 3 / 2 exp
0.1 4.92E-04 6.27E-04 6.35E-04 6.36E-04 0,01(4t 1)
0.05
0.01
1.36E-04
2.11E-04
1.49E-04
1.73E-05
1.57E-04
4.96E-06
1.57E-04
4.93E-06
x 0,8t 0,5
2
y 0,8t 0,52 z 0,8t 0,52
The Dirichlet boundary and initial conditions
0.005 2.13E-04 1.86E-05 1.30E-06 5.20E-07 are directly taken from this analytical solution. The
0.001 2.14E-04 1.91E-05 1.49E-06 1.48E-06 computational domain is 0 x,y,z 2 and t = 1.25
and the regular mesh with h = x = y = z was
Table 4. Computational time (s) - Application 2. used.We adopt h = 0.025 so as to compare the results
t x = y = z obtained in this work the ones presented by [Ge, Tian
and Zhang (2013)] in which three methodologies
1/10 1/20 1/40 1/50
were implemented for the solution of convection-
0.1 1.375 18.875 492.563 1547.500 diffusion equation, all based on the alternating
0.05 1.906 27.766 778.922 2222.391 direction implicit method. We may note from Table
0.01 3.031 40.454 1136.250 3210.422 5, the results of this study in comparison with the
literature, have an equal or higher accuracy for the
0.005 4.954 46.297 1273.188 3604.047 different values of . Even considering a coarse mesh
0.001 11.562 89.500 1535.500 4204.719 (h = 0.05), the methodology proposed here achieves a
precision equivalent to those obtained by other
Application 3 authors with a very refined mesh.
Table 5. L2error with h = 0.025 and h = 0.05, t = h2, t = 1.25and different - Application 3.
h = 0.025 h = 0.05
Figure 1. Computational domain and boundary Table 8. Results of Ta at the outlet section of the
conditions - Application 4. channel depending on the variation of the channel
length, considering x = Lx/40, y = Ly/40, z = 0.01
Considering an inlet temperature of 30º C, our and t = Lt/500.
objective is the cooling of air at an average Lz (m) Ta (ºC)
temperature of 15º C in the outlet section of the 1.0 25.34
channel. Taking Lx = Ly = 0.2 m; Lz = 1 m and 1.5 24.67
Lt = 100 s and considering a mesh refinement 2.0 24.14
x = Lx/40, y = Ly/40, z = Lz/100 and t = Lt/500. 2.5 23.71
By varying the values of the cooling temperature (Tc) 3.0 23.35
at the entrance, the results of average temperature in 3.5 23.06
the output section of the channel, here denoted by Ta,
4.0 22.81