m
Line 168: Line 168:
 
For employing multigrid, besides a solver with good smoothing properties, grid transfer operators are required (restriction and prolongation).
 
For employing multigrid, besides a solver with good smoothing properties, grid transfer operators are required (restriction and prolongation).
  
In [8] and [16], restriction through partial weighting in the directions <math>x</math> and <math>y</math>, henceforth denoted by  <math display="inline">{\mbox{PW}}_\mbox{x}</math> and  <math display="inline">{\mbox{PW}}_\mbox{y}</math> , respectively, applied in problems involving geometric anisotropy was proposed. These operators, are given in stencil notation as
+
In [8] and [16], restriction through partial weighting in the directions <math>x</math> and <math>y</math>, henceforth denoted by  <math display="inline">{\mbox{PW}}_\mbox{x}</math> and  <math display="inline">{\mbox{PW}}_\mbox{y}</math>, respectively, applied in problems involving geometric anisotropy was proposed. These operators, are given in stencil notation as
  
 
{| class="formulaSCP" style="width: 100%;margin: 1em auto 0.1em auto;width: 100%;text-align: center;"  
 
{| class="formulaSCP" style="width: 100%;margin: 1em auto 0.1em auto;width: 100%;text-align: center;"  
Line 179: Line 179:
 
   1 & 2 & 1  \\
 
   1 & 2 & 1  \\
 
   0 & 0 & 0  \\
 
   0 & 0 & 0  \\
\end{matrix} \right), \text{P}{{\text{W}}_{\text{y}}}: I_{h}^{2h}=\frac{1}{4}\left( \begin{matrix}
+
\end{matrix} \right)
 +
 
 +
 
 +
 
 +
</math>, <math>\text{P}{{\text{W}}_{\text{y}}}: I_{h}^{2h}=\frac{1}{4}\left( \begin{matrix}
 
   0 & 1 & 0  \\
 
   0 & 1 & 0  \\
 
   0 & 2 & 0  \\
 
   0 & 2 & 0  \\
 
   0 & 1 & 0  \\
 
   0 & 1 & 0  \\
\end{matrix} \right).
+
\end{matrix} \right)</math>.
 
+
</math>
+
 
|}
 
|}
 
|  style="text-align: center;width: 5px;text-align: right;white-space: nowrap;"|(6)
 
|  style="text-align: center;width: 5px;text-align: right;white-space: nowrap;"|(6)

Revision as of 00:53, 10 April 2018


Abstract: In this work it is proposed an efficient and robust algorithm for the solution of a physical anisotropy problem. This algorithm is based on the choice of the most efficient restriction operator and on an incomplete LU decomposition suited for each anisotropy direction. Local Fourier analysis is carried out in order to assist the project of an efficient multigrid method. The model considered is pure diffusion with anisotropy aligned to the coordinate axis x. Finite difference method with uniform grid and second-order numerical scheme is used for the discretization of equations. Problems are solved with geometric multigrid method, correction scheme, V-cycle and standard coarsening ratio. The asymptotic convergence factor is calculated for different multigrid components, such as restriction operators, prolongation operators and solvers. Based on the optimum components obtained by LFA, experiments are carried out for the analysis of complexity and computational cost for the algorithm proposed. The main conclusion is that the methodology proposed is efficient for the resolution of problems with strong anisotropy.

Keywords: Physical anisotropy; Multigrid components; Diffusion; Local Fourier analysis.


1. Introduction

Computational Fluid Dynamics (CFD) is a branch of Computational Science that studies numerical methods for the simulation of fluid flows problems. It is known that these methods usually require a high computational cost. In general, this happens because the problems that have to be solved require the resolution of algebraic equation systems whose coefficients matrices are large and sparse [1].

Linear systems are obtained with discretization of the mathematical model, which consists in approximating, through algebraic equations, each term of the mathematical model for each grid node or point. This process leads to an algebraic equation system of the form

(1)

where is the coefficient matrix, is the variable of interest and is the independent vector.

In CFD, the methods traditionally employed in this process are: Finite Difference Method (FDM) [2], Finite Volume Method (FVM) [3] and Finite Element Method (FEM) [4].

The algebraic equation system given by Eq. (1) can be solved using direct or iterative methods. In this work, iterative methods were employed due to the aforementioned characteristics of linear systems in CFD (sparse and large coefficients matrices), for which iterative methods are recommended. The multigrid method is one of the most effective methods to accelerate the convergence of iterative methods for the resolution of linear or nonlinear systems, isotropic or anisotropic problems, among others [5-7].

Anisotropic problems are fairly common in Engineering and appear in many phenomena, such as in the case of a material with different heat conduction behaviors for different directions. In this case, the coefficients of the differential equations are distinct among themselves and generate, what is called, physical anisotropy. Anisotropies can also appear from discretization of grids with different spacing in each direction, for instance, boundary layer problems. This is called geometric anisotropy [5,6]. The efficiency of the multigrid method has not yet been fully achieved for problems with strong anisotropy, either physical or geometric [8].

Physical anisotropy problems have been investigated by Rabi and de Lemos [9], who discretized the two-dimensional advection-diffusion equation combining null and constant coefficients. Finite volume method was used in the discretization of the equations. Multigrid method was employed using correction scheme, Gauss-Seidel solver and V- and W-cycles. The authors presented a study of the different speed ranges (null and constant), number of grids, number of smoothing steps at each grid level and different solvers. They concluded that there was a significant reduction in the computational effort when the speed range values were increased.

Wienands and Joppich [10] presented an in-depth study on the Local Fourier Analysis (LFA) and its application on several problems, which included anisotropic problems. The authors calculated the convergence factor of the multigrid method for the anisotropic diffusion equation with different solvers and restriction and prolongation operators.

Johannsen [11] solved an anisotropic diffusion problem using finite volume method for discretizing the equations and 9-point incomplete LU (ILU) decomposition method for solving the linear equations systems. The author employed LFA to demonstrate the superior smoothing properties of ILU.

Oliveira et al. [8] assessed geometric anisotropy for different grids and aspect ratios. They also assessed some components of the multigrid method, such as: solvers, type of restriction, number of levels and number of inner iterations, among several coarsening algorithms. They concluded that Partial Weighting (PW) had a good performance.

Vinogradova and Krukier [12] solved a three-dimensional advection-diffusion problem with intermediate anisotropy using FDM for the discretization of the equations and ILU for the resolution of the linear equation systems. They concluded that the proposed methodology is efficient, but it has the disadvantage of having limitations in the coefficients of the mixed derivatives, which has no physical meaning.

Vassoler-Rutz et al. [11] analyzed the effect of physical anisotropy on multigrid method for two anisotropic diffusion problems. They used FAS scheme, V-cycle, and Modified Strongly Implicit (MSI) and Gauss-Seidel (GS) solvers. They concluded that, for strong anisotropies, the complexity order of the multigrid method is not suitable.

Several works on the implementation of the multigrid method found in the literature demonstrate that the choice of the multigrid components is crucial for the convergence or not of the method. Trottenberg et al. [6] state that these choices are difficult and thus small changes can considerably improve convergence. In this sense, LFA can assist these choices as it allows to predict the performance of the multigrid method, since it provides estimates of the converge rates based on the variation of the multigrid method components.

Pinto et. al. [14] solved the anisotropic diffusion problem using ILU in triangular grids. They used LFA to show the good smoothing properties of the solver and the asymptotic convergence of the multigrid.

Franco et. al. [13] performed LFA in transient problems and obtained the critical value of the parameter that represents the level of space-time anisotropy for the 1D and 2D Fourier equations.

In this work, an efficient and robust method for solving physical anisotropy problems using LFA is proposed. A two-dimensional diffusion mathematical model is considered, in which physical anisotropy appears in the coefficients and it will be denominated diffusion anisotropy. Equations were discretized using FDM with second-order central difference scheme.

The asymptotic convergence factor () of the multigrid method was calculated through assessment of the ILU solver in different directions [7] and several restriction and prolongation operators. The results obtained by means of LFA were used to assess the influence of physical anisotropy on computational cost by means of CPU time and number of operations in each V-cycle and at the restriction step.

The remainder of this work is organized as follows: section 2 presents the mathematical and numerical models. Section 3 discusses considerations regarding the LFA used. Section 4 presents the results of the convergence analysis and complexity analysis. Section 5 presents the conclusion.

2. Mathematical and Numerical Models

For the problem presented below, the calculus domain used is given by , and the discretization of the equations is done using a uniform grid with a number of points given by , where and are the number of points in the directions x and y, respectively, including the boundaries.

2.1. Mathematical Model and Discretization

The diffusion anisotropy problem will be assessed through the two-dimension diffusion equation given by Eq. (2) [5,6]

(2)


where T is the temperature, is the second derivative of T as a function of , is the second derivative as a function of and .

The source term S and the analytical solution T are given by

and .
(3)


Eq. (2) was discretized using FDM with CDS, resulting in

(4)


where is the system unknown.

Fig. 1(b) depicts the notation of the grid points in Fig. 1(a). The points P (central), W (west), E (east), N (north) and S (south) in Fig. 1(b) correspond to the points in Fig. 1(a), respectively.

Draft Vassoler Rutz 344011008-image23.png (a) (b)
Figure 1: Points of a uniform two-dimensional grid.

The discretization of Eq. (2) results in Eq. (4), and for the inner points, considering and

,

(5)

For the boundaries north, south, east and west, .

2.2. Multigrid method and computational details

The multigrid method accelerates the convergence rate of iterative methods. It consists in employing a group of grids with different refinement levels. At each grid refinement level, the more oscillatory errors are smoothed, and only low frequency errors remain. After passing to another grid, the remaining low frequency errors become more oscillatory. The efficiency of this process, called smoothing, depends on the choice of a suitable solver.

For employing multigrid, besides a solver with good smoothing properties, grid transfer operators are required (restriction and prolongation).

In [8] and [16], restriction through partial weighting in the directions and , henceforth denoted by and , respectively, applied in problems involving geometric anisotropy was proposed. These operators, are given in stencil notation as

, .
(6)


In this work, such restriction was combined with 7-point incomplete LU decomposition (henceforth denoted by ILU). According to [17], this decomposition has a better convergence factor than 5-point incomplete LU decomposition for anisotropic problems.

In Eq. (2), discretized using FDM, the stencil for 5-point Laplacian operator is given by

(7)

The ILU decomposition of this same operator will be given by

(8)


note that in this case, .

Thus, the ILU decomposition is represented by:

(9)

where is a lower triangular matrix, is an upper triangular matrix and is the residual matrix.

The iterative process for solving Eq. (4) can be:

(10)


Depending on the ordination of the grid points, different directions can be obtained for the ILU decomposition. In lexicographical order, [17], is given by

(11)


Another example of ordination for ILU, [17], is given by

.

(12)


The linear equation system given by Eq. (1) was solved using the geometric multigrid method [5,6] with correction scheme (CS), V-cycle and zero initial estimate.

The coarsening ratio is given by (standard coarsening) [17]. The grid transfer operators employed were: Injection Restriction (INJ), Half Weighting (HW), Full Weighting (FW) (see [6]), Partial Weighting in ( ), Partial Weighting in ( ) and prolongation by bilinear interpolation and 7-point interpolation. The equation systems obtained by means of discretization were resolved using 7-point ILU solvers in different directions (, , among others).

The stop criterion used to interrupt the iterative process is based on the dimensionless residual norm. The residual of the algebraic equation system is defined by

(13)


where is the solution of the unknown in the iteration .

Considering and , if the iterative process is interrupted if .

Double precision arithmetic was used for the simulations. The numerical codes were implemented in the Fortran 2003 language, using the Intel 9.1 Visual Fortran application. All numerical results were obtained in a computer with Intel Core i7 2.66 GHz processor, 16 GB RAM and Windows 8 operating system, 64-bit version.

3. Local Fourier Analysis

LFA allows to predict the performance of the multigrid method as it supplies estimates of the convergence rate of its components. Therefore, LFA becomes a powerful tool in quantitative analysis and for the project of efficient multigrid methods.

In order to perform the LFA, general discrete linear operators with constant coefficients are considered, which are defined in an infinite grid , where the influence of the boundaries can be dismissed [6].

Consider the grid functions of the form of

, with ,
(14)


where Draft Vassoler Rutz 344011008-image68.png varies in the infinite grid and Draft Vassoler Rutz 344011008-image70.png is a parameter that characterize the frequency of the function concerning to grid .

For , every function of the grid are eigenfunctions of a discrete operator that can be written by a stencil.

Thus,

(15)

where

and is the stencil notation of the operator.
(16)

For the smoothing and the analysis of two grids, it necessary to distinguish components of high and low frequency of in relation to .

It is known that [6] only if

with Draft Vassoler Rutz 344011008-image80.png ,
(17)


are visible in .

For each Draft Vassoler Rutz 344011008-image82.png , three other frequency components with Draft Vassoler Rutz 344011008-image84.png coincide in with Draft Vassoler Rutz 344011008-image86.png and are not visible in . Therefore, the low- and high-frequency components are defined as follows:

Draft Vassoler Rutz 344011008-image88.png is a low-frequency component  Draft Vassoler Rutz 344011008-image89.png ;
Draft Vassoler Rutz 344011008-image90.png is a high-frequency component  
Draft Vassoler Rutz 344011008-image91.png
Draft Vassoler Rutz 344011008-image92.png

. See Fig. 2.

Draft Vassoler Rutz 344011008-image93.png

Figure 2: Low- (inner white area) and high-frequency (hatched area) areas.

Considering the frequencies

.
(18)

The operator Draft Vassoler Rutz 344011008-image95.png is represented by a 4x4 matrix Draft Vassoler Rutz 344011008-image96.png , as follows

Draft Vassoler Rutz 344011008-image97.png , with Draft Vassoler Rutz 344011008-image98.png ,
(19)

where Draft Vassoler Rutz 344011008-image99.png is represented by a 4x4 identity matrix, Draft Vassoler Rutz 344011008-image100.png is the 4x4 matrix, Draft Vassoler Rutz 344011008-image101.png is a 1x4 matrix, Draft Vassoler Rutz 344011008-image102.png is a 4x1 matrix and Draft Vassoler Rutz 344011008-image103.png is a 1x1 matrix.

A representation for Draft Vassoler Rutz 344011008-image104.png can be obtained by a matrix Draft Vassoler Rutz 344011008-image105.png of the form

Draft Vassoler Rutz 344011008-image106.png ,
(20)


where Draft Vassoler Rutz 344011008-image107.png is given by Eq. (19) and Draft Vassoler Rutz 344011008-image108.png is a 4x4 matrix and represents Draft Vassoler Rutz 344011008-image109.png .

Let it be

.
(21)

The asymptotic convergence factor Draft Vassoler Rutz 344011008-image111.png can be calculated by

Draft Vassoler Rutz 344011008-image112.png ,
(22)


where Draft Vassoler Rutz 344011008-image113.png is the spectral radius of the 4x4 matrix Draft Vassoler Rutz 344011008-image114.png .

In this work, LFA was used to determine the asymptotic convergence factor of the multigrid method ( Draft Vassoler Rutz 344011008-image115.png ) combining ILU solvers in several directions (such as and ), FW, HW, INJ, and restriction operators and bilinear and 7-point prolongation operators.

For the FW restriction operator, Draft Vassoler Rutz 344011008-image120.png , for the , Draft Vassoler Rutz 344011008-image122.png and for the , Draft Vassoler Rutz 344011008-image124.png . For the other restriction operators, see [4].

For the bilinear prolongation operator, Draft Vassoler Rutz 344011008-image125.png and for the 7-point prolongation operator, Draft Vassoler Rutz 344011008-image126.png [10].

In order to perform the LFA using the solver, the auto-functions of Draft Vassoler Rutz 344011008-image128.png , Draft Vassoler Rutz 344011008-image129.png , Draft Vassoler Rutz 344011008-image130.png and Draft Vassoler Rutz 344011008-image131.png are given by

Draft Vassoler Rutz 344011008-image132.png with Draft Vassoler Rutz 344011008-image133.png .
(23)

The smoothing operator Draft Vassoler Rutz 344011008-image134.png , according to [6], is given by

Draft Vassoler Rutz 344011008-image135.png , Draft Vassoler Rutz 344011008-image133.png ,
(24)


with

Draft Vassoler Rutz 344011008-image136.png .
(25)


For , Draft Vassoler Rutz 344011008-image138.png and for , Draft Vassoler Rutz 344011008-image140.png .

4. Numerical Results

In this work, the anisotropic diffusion equation was solved using 7-point ILU solver in different directions. Several restriction operators and two prolongation operators were employed. It is proposed an algorithm that presents the lowest asymptotic convergence factor values and the lowest computational cost for the multigrid method.

Eq. (2) was assessed for Draft Vassoler Rutz 344011008-image141.png and Draft Vassoler Rutz 344011008-image142.png , with Draft Vassoler Rutz 344011008-image143.png . When Draft Vassoler Rutz 344011008-image144.png or Draft Vassoler Rutz 344011008-image145.png in this work, there is symmetric anisotropy. For instance, Draft Vassoler Rutz 344011008-image146.png is an anisotropy symmetric to Draft Vassoler Rutz 344011008-image147.png .

Section 4.1 presents the convergence analysis by means of LFA. Only the optimum components obtained via LFA will be used in the complexity analysis in section 4.2.

4.1. Convergence Analysis

Fig. 3 depicts Draft Vassoler Rutz 344011008-image148.png , given by Eq. (22), with in the EN, NE, ES, SE directions, FW restriction, bilinear prolongation, number of inner iterations Draft Vassoler Rutz 344011008-image150.png , Draft Vassoler Rutz 344011008-image141.png and Draft Vassoler Rutz 344011008-image151.png , with Draft Vassoler Rutz 344011008-image152.png .

Draft Vassoler Rutz 344011008-image153.jpeg

Figure 3: Draft Vassoler Rutz 344011008-image148.png versus anisotropy coefficients ( Draft Vassoler Rutz 344011008-image154.png ) with in different directions.

It is noticed that for Draft Vassoler Rutz 344011008-image156.png , has a good performance and for

Draft Vassoler Rutz 344011008-image158.png

has a good performance as well, that is, Draft Vassoler Rutz 344011008-image160.png . By using solvers in the ES and SE directions, the multigrid did not present a good performance for any of the anisotropy coefficients studied.

For the analyses presented below, tests were carried out using only the solvers that had the best performances in the previous analysis.

Fig. 4 presents Draft Vassoler Rutz 344011008-image148.png using as solvers, for Draft Vassoler Rutz 344011008-image156.png and for Draft Vassoler Rutz 344011008-image158.png ; Draft Vassoler Rutz 344011008-image164.png ; FW restriction; 7-point and bilinear prolongation; Draft Vassoler Rutz 344011008-image141.png and Draft Vassoler Rutz 344011008-image151.png , with Draft Vassoler Rutz 344011008-image165.png .

Draft Vassoler Rutz 344011008-image166.jpeg

Figure 4: Draft Vassoler Rutz 344011008-image148.png versus anisotropy coefficients ( Draft Vassoler Rutz 344011008-image154.png ) with different interpolation operators.

It is observed that the restriction|prolongation combinations FW|bilinear and FW|7-points had a good performance ( Draft Vassoler Rutz 344011008-image160.png ) and presented very similar convergence factors.

Bilinear prolongation operator was used in the following analysis as it is easy to program and demands fewer memory resources. The asymptotic convergence factors were compared with different restriction operators.

Fig. 5 presents Draft Vassoler Rutz 344011008-image148.png using as solvers, for Draft Vassoler Rutz 344011008-image156.png and for Draft Vassoler Rutz 344011008-image158.png ; Draft Vassoler Rutz 344011008-image164.png ; FW, HW, INJ, and restriction; bilinear prolongation; Draft Vassoler Rutz 344011008-image141.png and Draft Vassoler Rutz 344011008-image151.png , with Draft Vassoler Rutz 344011008-image165.png .

Draft Vassoler Rutz 344011008-image171.jpeg

Figure 5: Draft Vassoler Rutz 344011008-image148.png versus anisotropy coefficients ( Draft Vassoler Rutz 344011008-image154.png ) with different restriction operators.

Fig. 5 shows that for Draft Vassoler Rutz 344011008-image172.png and Draft Vassoler Rutz 344011008-image173.png , with Draft Vassoler Rutz 344011008-image165.png (symmetric anisotropies), Draft Vassoler Rutz 344011008-image174.png presents very similar values. It is noted that for anisotropic problems ( Draft Vassoler Rutz 344011008-image175.png ), the lowest values for Draft Vassoler Rutz 344011008-image174.png are achieved with FW and restriction, which present very similar values.

Based on the results shown, it is proposed Algorithm 1, which combines ILU solver in different directions with FW and restrictions. The algorithm will be presented now. The abbreviation REST, used in the algorithm, represents any of the restrictions (FW or ) previously defined.

Algorithm1:

___________________________________________________________________________

if Draft Vassoler Rutz 344011008-image179.png then

Apply smoothing with REST restriction

else if Draft Vassoler Rutz 344011008-image181.png then

Apply smoothing with FW restriction

else

Apply REST restriction

end if

___________________________________________________________________________

Next, it is presented the asymptotic convergence factor Draft Vassoler Rutz 344011008-image184.png , calculated via LFA, and the empiric asymptotic convergence factor Draft Vassoler Rutz 344011008-image185.png , for different anisotropy coefficients.

Fig. 6 shows Algorithm 1 with REST , Draft Vassoler Rutz 344011008-image164.png and bilinear prolongation.

Draft Vassoler Rutz 344011008-image187.jpeg

Figure 6: Draft Vassoler Rutz 344011008-image188.png and Draft Vassoler Rutz 344011008-image189.png versus anisotropy coefficients ( Draft Vassoler Rutz 344011008-image154.png ).

It is observed that Draft Vassoler Rutz 344011008-image190.png for every anisotropy coefficients assessed. Moreover, Draft Vassoler Rutz 344011008-image184.png calculated via LFA is in accordance with Draft Vassoler Rutz 344011008-image185.png calculated experimentally.

Fig. 7 depicts the numerical asymptotic convergence factor Draft Vassoler Rutz 344011008-image184.png calculated via LFA and the experimental asymptotic convergence factor Draft Vassoler Rutz 344011008-image185.png , for different anisotropy coefficients for different grids. Algorithm 1 with REST = , Draft Vassoler Rutz 344011008-image164.png and bilinear prolongation was used. As the grid becomes more refined, Draft Vassoler Rutz 344011008-image192.png for every anisotropy coefficient analyzed, what demonstrates the robustness of the methodology assessed.

Draft Vassoler Rutz 344011008-image193.jpeg

Figure 7: Draft Vassoler Rutz 344011008-image188.png and Draft Vassoler Rutz 344011008-image189.png versus anisotropy coefficients ( Draft Vassoler Rutz 344011008-image154.png ) for different number of grid points.

Next section presents the complexity analysis of multigrid. For the analysis, multigrid was built with the components that had the best convergence factors, according to LFA. In addition, a comparison between partial weighting and full weighting will be presented.

4.2. Complexity Analysis

In order to assess the effect of the number of unknowns on CPU time, optimum components obtained via LFA were used. Figures 8 (a) and 8 (b) show, for FW and restrictions respectively, that for the anisotropic problem ( Draft Vassoler Rutz 344011008-image195.png ), the is not lower. As the problem becomes more anisotropic ( Draft Vassoler Rutz 344011008-image156.png or Draft Vassoler Rutz 344011008-image158.png ), the Draft Vassoler Rutz 344011008-image197.png decreases for every N value assessed. For every anisotropy coefficient assessed, the Draft Vassoler Rutz 344011008-image198.png with FW restriction is very similar to the Draft Vassoler Rutz 344011008-image199.png with restriction, that is, .

It is also observed for symmetric anisotropies ( Draft Vassoler Rutz 344011008-image202.png and Draft Vassoler Rutz 344011008-image203.png ) with Draft Vassoler Rutz 344011008-image204.png , that the values of Draft Vassoler Rutz 344011008-image205.png obtained are extremely similar.

Draft Vassoler Rutz 344011008-image206.jpeg
Draft Vassoler Rutz 344011008-image207.jpeg
Figure 8: CPU time versus number of nodes (N).

In order to assess the performance of the multigrid with different anisotropy coefficients, a curve adjustment of the form Draft Vassoler Rutz 344011008-image208.png [18] was made, where p represents the complexity order of the solver, N is the number of grid points and c is a constant that depends on the method. The closer the value of p is to one, the better the performance of method used. Ideally, multigrid presents p=1, what means that the CPU time grows linearly with the increase of N. Results are shown in Table 1 for both restrictions assessed (FW and ).

One can observe in Tab. 1 that, for every anisotropy employed, the multigrid method has a good performance, since p ≈ 1 in every case. These results prove the efficiency and robustness of Algorithm 1, proposed in this work.

Draft Vassoler Rutz 344011008-image210.png Draft Vassoler Rutz 344011008-image211.png Draft Vassoler Rutz 344011008-image212.png
Draft Vassoler Rutz 344011008-image213.png 1.07747 1.07733
Draft Vassoler Rutz 344011008-image214.png 1.05023 1.05894
1 1.05940 1.04380
Draft Vassoler Rutz 344011008-image215.png 1.07255 1.06199
Draft Vassoler Rutz 344011008-image216.png 1.07627 1.07775


Table 1. Complexity order (p) for different anisotropy coefficients ( Draft Vassoler Rutz 344011008-image210.png ).

The values obtained for the convergence factor, presented in section 4.1, and for the complexity order concerning to the and FW restriction operators (Tab. 1) are quite similar and thus, insufficient to decide which one results in a more efficient algorithm.

To complement the analysis, the number of arithmetical operations performed in each V-cycle and at the restriction step for each one of the operators was assessed.

These arithmetical operations concern to floating point operations (flops) performed during the iterative process and are not affect by the hardware used. Each addition, multiplication and division operation correspond to 1 flop.

Tests were carried out for Draft Vassoler Rutz 344011008-image218.png ( Draft Vassoler Rutz 344011008-image219.png is the number of points of the finest grid, considering a problem whose maximum number of levels is Draft Vassoler Rutz 344011008-image220.png ) and for some values of Draft Vassoler Rutz 344011008-image221.png . Tab. 2 presents the ratio between number of flops of a V-cycle and number of points of the finest grid Draft Vassoler Rutz 344011008-image222.png . Tab. 3 shows the ratio between number of flops performed in each restriction and the number of points of the finest grid Draft Vassoler Rutz 344011008-image222.png .

Draft Vassoler Rutz 344011008-image210.png Draft Vassoler Rutz 344011008-image223.png
Draft Vassoler Rutz 344011008-image214.png 1510.221554 1543.296057
Draft Vassoler Rutz 344011008-image225.png 1798.299366 1837.988770
Draft Vassoler Rutz 344011008-image226.png 2368.277388 2126.896785
Draft Vassoler Rutz 344011008-image227.png 1860.997604 1900.687008
Draft Vassoler Rutz 344011008-image228.png 1564.958717 1598.033220


Table 2. Ratio between number of flops of a V-cycle and the number of points of the finest grid.

Draft Vassoler Rutz 344011008-image210.png
Draft Vassoler Rutz 344011008-image214.png 11.57607615 44.65057942
Draft Vassoler Rutz 344011008-image225.png 13.89129130 53.58069530
Draft Vassoler Rutz 344011008-image226.png 18.37833483 62.02688007
Draft Vassoler Rutz 344011008-image227.png 13.89129137 53.58069530
Draft Vassoler Rutz 344011008-image228.png 11.57607615 44.65057942


Table 3. Ratio between number of flops of the restriction and number of points of the finest grid.

According to Tab. 2, the multigrid cycle that requires the lowest number of flops is the cycle with operator, except for the isotropic case ( Draft Vassoler Rutz 344011008-image232.png ). Considering only the restriction step, results presented in Tab. 3 show a great advantage of the operator over the FW operator regarding the number of flops performed. For every case, the number of flops for is roughly 75% lower than the number of flops for FW.

The remaining anisotropy coefficients assessed showed similar performances to those presented in Fig. 5 and Tables 2 and 3, what confirms the efficiency and robustness of the algorithm proposed, in addition to the low computational cost with the use of the operator.

5. Conclusions

- Among the ILU directions assessed (EN, NE, ES, SE) for standard multigrid (FW restriction operator and bilinear prolongation), it is concluded that when using for Draft Vassoler Rutz 344011008-image156.png and for Draft Vassoler Rutz 344011008-image158.png .

- With FW restriction, for Draft Vassoler Rutz 344011008-image156.png and

Draft Vassoler Rutz 344011008-image158.png

, it can be concluded that the 7-point and bilinear prolongation operators presented a similar performance, and for every value of Draft Vassoler Rutz 344011008-image241.png assessed, Draft Vassoler Rutz 344011008-image160.png was obtained.

- With bilinear interpolation, for Draft Vassoler Rutz 344011008-image156.png and

Draft Vassoler Rutz 344011008-image158.png

, it can be stated that the lowest values of Draft Vassoler Rutz 344011008-image174.png are obtained with FW and restriction operators, and that the values of Draft Vassoler Rutz 344011008-image174.png with these operators are very similar.

- Using Algorithm 1, Draft Vassoler Rutz 344011008-image190.png for every anisotropy coefficient assessed and Draft Vassoler Rutz 344011008-image192.png as the grid becomes more refined.

- The for every value of Draft Vassoler Rutz 344011008-image241.png assessed.

- The complexity order p of the multigrid method with Algorithm 1 is close to one for every anisotropy assessed. For Draft Vassoler Rutz 344011008-image246.png , for example, p=1.07747 with this algorithm.

- The computational cost of multigrid depends on the number of flops of the restriction in a V-cycle. Using Algorithm 1 with restriction, the computational cost is 75% lower than with FW restriction.

- The Algorithm 1 with restriction proposed in this work is efficient, robust and has low computational cost.

References

[1] T. Gradl, K. Klamroth, U. Rüde, U. Optimizing the number of multigrid cycles in the full multigrid algorithm. Numerical Linear Algebra with Applications. Vol. 17 (2010) 199–210.
[2] R. H. Pletcher, J. C. Tannehill, D. A. Anderson, Computational Fluid Mechanics and Heat Transfer, 3ª ed. CRC Press, USA, 2013.
[3] G. H. Golub, J. M. Ortega, Scientific Computing and Differential Equations: an Introduction to Numerical Methods, Academic Press, 1992.
[4] Y. Saad, Iterative Methods for Sparse Linear Systems, 2ªed., PWS, Philadelphia, 2003.
[5] W. L. Briggs, V.E. Henson, S.F. Mccormick, A Multigrid Tutorial, 2ª ed., SIAM, USA, 2000.
[6] U. Trottenberg, C. Oosterlee, A. Schüller, Multigrid, Academic Press, England, 2001.
[7] P. Wesseling, An Introduction to Multigrid Methods, John Wiley & Sons, England, 1992.
[8] F. Oliveira, M. A. V. Pinto, C. H. Marchi, L. K. Araki. Optimized partial semicoarsening multigrid algorithm for heat diffusion problems and anisotropic grids. Applied Mathematical Modelling. Vol. 36 (2012) 4665–4676.
[9] J. A. Rabi, M. J. S. de Lemos. Optimization of convergence acceleration in multigrid numerical solutions of conductive-convective problems. Applied Mathematics and Computational. Vol. 124 (2001) 215-226.
[10] R. Wienands, W. Joppich, Practical Fourier Analysis for Multigrid Methods, CRC Press, USA, 2005.
[11] K. Johannsen. A robust 9-point ILU smoother for anisotropic problems, IWR Preprint, University of Heidelberg, 2005.
[12] S. A. Vinogradova, L. A. Krukier, The use of incomplete LU decomposition in modeling convection-diffusion processes in an anisotropic medium. Mathematical Models and Computer Simulations. Vol. 5 (2013) 190-197.
[13] G. Vassoler-Rutz, M. A. V. Pinto, R. Suero, Comparison of the physical anisotropy of multigrid method for two-dimensional diffusion equation, in: Proceedings of COBEM, Rio de Janeiro, Brazil, Dezembro 6-11.
[14] M. A. V. Pinto, C. Rodrigo, F. J. Gaspar, C.W. Oosterlee. On the robustness of ILU smoothers on triangular grids, Applied Numerical Mathematics. Vol. 106 (2016), 37-52.
[15] S. R. Franco, F. J. Gaspar, M. A. V. Pinto, C. Rodrigo. Multigrid method based on a space-time approach with standard coarsening for parabolic problems. Applied Mathematics and Computation. Vol. 317 (2018) 25-34.
[16] F. Oliveira. Effect of Two-Dimensional Anisotropic Meshes on the Performance of the Geometric Multigrid Method. Tese de doutorado, UFPR, 2010. In portuguese.
[17] P. Wesseling, C. W. Oosterlee. Geometric Multigrid with Applications to Computational Fluid Dynamics. Journal of Computation and Applied Mathematics. Vol. 128 (2001) 311-334.
[18] R. L. Burden, J.D. Faires, Numerical Analysis, 9ª ed., Cengage Learning, USA, 2010.
Back to Top

Document information

Published on 11/03/19
Accepted on 07/03/19
Submitted on 09/04/18

Volume 35, Issue 1, 2019
DOI: 10.23967/j.rimni.2019.03.001
Licence: CC BY-NC-SA license

Document Score

0

Views 109
Recommendations 0

Share this document