Application of the Jacobi-Davidson method to accurate analysis of singular linear hydrodynamic stability problems

Abstract

The aim of this paper is to show that the Jacobi–Davidson (JD) method is an accurate and robust method for solving large generalized algebraic eigenvalue problems with a singular second matrix. Such problems are routinely encountered in linear hydrodynamic stability analysis of flows that arise in various areas of continuum mechanics. As we use the Chebyshev collocation as a discretization method, the first matrix in the pencil is nonsymmetric, full rank, and ill‐conditioned. Because of the singularity of the second matrix, QZ and Arnoldi‐type algorithms may produce spurious eigenvalues. As a systematic remedy of this situation, we use two JD methods, corresponding to real and complex situations, to compute specific parts of the spectrum of the eigenvalue problems. Both methods overcome potentially severe problems associated with spurious unstable eigenvalues and are fairly stable with respect to the order of discretization. The real JD outperforms the shift‐and‐invert Arnoldi method with respect to the CPU time for large discretizations. Three specific flows are analyzed to advocate our statements, namely a multicomponent convection–diffusion in a porous medium, a thermal convection in a variable gravity field, and the so‐called Hadley flow.

Authors

C.I. Gheorghiu
-Tiberiu Popoviciu Institute of Numerical Analysis, Romanian Academy

J. Rommes
NXP Semiconductors, Eindhoven, The Netherlands

Keywords

collocation; convection; differential equations; hydrodynamics; linear solvers; spectral; stability; viscous flows; porous media; multiphase flows

Cite this paper as:

C.I. Gheorghiu, J. Rommes, Application of the Jacobi-Davidson method to accurate analysis of singular linear hydrodynamic stability problems. Int. J. Numer. Meth. Fluids, 71 (2013) 358-369.

References

PDF

Not available yet.

About this paper

Journal

Int. J. Numer. Meth. Fluids

Publisher Name
DOI
Print ISSN

?

Online ISSN

?

MR

?

ZBL

?

Paper (preprint) in HTML form

Application of the Jacobi-Davidson method to accurate analysis of singular linear hydrodynamic stability problems

Application of the Jacobi-Davidson method to accurate analysis of singular linear hydrodynamic stability problems

C. I. Gheorghiu* and J. Rommes**
“T. Popoviciu” Institute of Numerical Analysis, Cluj-Napoca, Romania
   **NXP Semiconductors, The Netherlands
Abstract

The aim of this paper is to show that the Jacobi-Davidson method is an accurate and robust method for solving large generalized algebraic eigenvalue problems with a singular second matrix. Such problems are routinely encountered in linear hydrodynamic stability analysis of flows which arise in various areas of Continuum Mechanics. As we use the Chebyshev collocation as a discretization method the first matrix in the pencil is nonsymmetric, full rank and ill-conditioned. Due to the singularity of the second matrix, QZ and Arnoldi type algorithms may produce spurious eigenvalues. As a systematic remedy of this situation we use two Jacobi-Davidson (JD) methods, corresponding to real and complex situations, in order to compute specific parts of the spectrum of the eigenvalue problems. Both methods overcome potentially severe problems associated with spurious instable eigenvalues and are fairly stable with respect to the order of discretization. The real JD outperforms the ARPACK method with respect to the CPU time for large discretizations. Three specific flows are analyzed in order to advocate our statements, namely a multi-component convection diffusion in a porous medium, a thermal convection in a variable gravity field and so the called Hadley flow.

1 Introduction

In a linear hydrodynamic stability analysis one first considers the linearization of the governing equations around a steady-state flow. The perturbation variables are described by a linear system of coupled differential equations supplied with a set of boundary conditions. The discretization of this system frequently leads to some non-Hermitian generalized eigenvalue problems with singular second order matrix in pencil. This fact was first observed in [1] in connection with stability of convective motion in a variable gravity field, in [2] where the authors analyze the stability of convective flows in porous media and in [3, 4, 5] where the authors consider various physical situations such as thermal convection in a box, a multi-component convection-diffusion and the Hadley flow. The same phenomenon is noticed in [6, 7, 8] for various incompressible flows. When the linear stability analysis of two-phase flows and free-surface flows (in MHD) are considered, the presence of eigenvalue at infinity is observed in [9] and [10].

The level of discretization needed to describe accurately the perturbed fields gives rise to large matrices, i.e., of order of thousands. This large dimension of problems rules out the calculation of the entire spectrum: usually, only the leading eigenvalues (those with the largest or the smallest real part) are computed. Up to our knowledge, the QZ method was used in quasitotality of generalized eigenvalue problems encountered in linear hydrodynamic stability, see [11] for one of the first applications of QZ in this context. Our papers [12] and [13] are not an exception to this situation. Unfortunately, the QZ method has the main drawback that its complexity is of order O(n3) and due to large CPU times required it is hardly applicable to large problems. In order to eliminate non-physical eigenvalues in such non-Hermitian singular problems some ad-hoc methods were designed. For instance, in [8] the authors introduce a technique based essentially on the physics of the flow in order to eliminate these spurious eigenvalues. In [14] the authors use a transformation that maps the spurious eigenvalues to an arbitrary location in the complex plane. In [15] and [16] for spectral Galerkin and Chebyshev tau (Lanczos) respectively, the authors suggest practical tricks in order to remove the spurious modes. The authors of [6] obtain reliable results for the rightmost eigenvalue of Orr-Sommerfeld equation provided that a scale resolution assumption is fulfilled, i.e., the ration between the Reynolds number and the square of the cut-off parameter is ”small”.

Hence, there is need for a more specialized algorithm which computes only a few specific eigenvalues of the algebraic problem. In the case of hydrodynamic stability problems considered hereafter, one is typically interested in the eigenvalues closest to zero. Consequently, in this paper we propose to use (a real variant [17] of) the Jacobi-Davidson method [18] to solve the arising generalized eigenvalue problems. Advantages of the Jacobi-Davidson method are that it is applicable to large-scale eigenvalue problems and that it can deal with spurious eigenvalues at infinity [19]. Concerning the eigenvalues at infinity, in principle JD can also be hampered by their presence. However, by clever selection strategies this can be avoided. Furthermore, in the paper [19] on purification it is described how shift-and-invert/Cayley transformation strategies can be employed to avoid convergence to eigenvalues at infinity.

However, we want to stress that, up to our knowledge, the JD method has not been applied previously to these hydrodynamic stability problems and hence it is a novelty of our paper.

On the other hand, we are thoroughly aware of the existence of several methods designed to compute a specified subset of eigenspectrum, such as Krylov based methods (see the paper of Golub and van Loan [20] for the main research developments in the area). The reason we use JD consists in the expertise we have got working with this method.

A partially similar study with ours is that of Valenttaro et al. [21]. The authors solve a two-dimensional eigenvalue problem by spectral collocation based on Legendre and Chebyshev polynomials. The generalized eigenvalue problem is solved by a Krylov subspace type method (incomplete Arnoldi-Chebyshev). For this method a detailed analysis of round-off error is provided. But, while our study refers to singular pencils Valenttaro et al. considers regular pencils.

The paper is organized as follows. In Section 2, we first introduce a linear hydrodynamic stability problem, comment on its weak and minimization formulations, and use the ``D2 strategy from [12] to transform it into a second order system supplied with Dirichlet boundary conditions. By Chebyshev collocation the generalized algebraic eigenvalue problem is obtained. Then, a second and a third singular problems are discretized with the same strategy. In Section 3, the Jacobi-Davidson method is described. Numerical experiments are reported in Section 4 along with comments concerning the convergence and round-off errors involved. Conclusions are contained in Section 5.

2 Three specific singular linear hydrodynamic stability problems

In [12] the following even order eigenvalue problem was considered:

{(D2a2)2W=R(1+εh(z))a2Θ,(D2a2)Θ=RW, (1)
W=D2W=Θ=0 at z=0,1. (2)

In these equations, as well as in the following two problems, D stands for the derivative with respect to the variable z. Ra:=R2 is the Rayleigh number which represents the eigenparameter of the problem (1)-(2), a is the wavenumber, W and Θ are the amplitudes of the vertical velocity and temperature perturbation and εh(z) signifies the gravity variation in the layer of fluid.

In order to reduce the order of differentiation in this problem we introduce the new variable

Ψ:=(D2a2)W. (3)

Consequently, the two point boundary value problem (1)-(2) can be rewritten as a second order system

{(D2a2)WΨ=0,(D2a2)ΨR(1+εh(z))a2Θ=0,(D2a2)Θ+RW=0, (4)

supplied with the homogeneous Dirichlet boundary conditions

W=Ψ=Θ=0 at z=0,1. (5)

It is important to observe that the problem (1)-(2) can also be formulated as a sixth order differential equation

(D2a2)3W=Ra(1+εh(z))a2W, (6)

supplied with the hinged boundary conditions, namely

W=D2W=D4W=0 at z=0,1. (7)

A weak formulation for the new problem (6)-(7) reads: find wK\{0} and Ra such that

01D3wD3v𝑑z+3a201D2wD2v𝑑z+3a401DwDv𝑑z+a601wv𝑑z==a2Ra01(1+εh(z))wv𝑑z,vK, (8)

where the set K is a closed subspace of H4(0,1) defined by

K:={vH4(0,1)|v(0)=v(1)=D2v(0)=D2v(1)=D4v(0)=D4v(1)=0}.

More than that, the critical Rayleigh number can be characterized by the following minimization problem

Ra=minvK01(D3v)2𝑑z+3a201(D2v)2𝑑z+3a401(Dv)2𝑑z+a601v2𝑑za201(1+εh(z))v2𝑑z, (9)

whenever the quantity 1+εh(z) remains positive. In fact, in all our experiments this condition is fulfilled.

The ``D2 strategy implemented with Chebyshev collocation method to solve the problem (4)-(5) leads to the following generalized eigenvalue problem

𝐀𝐱=Ra𝐁𝐱, (10)

where the matrices 𝐀 and 𝐁 are

𝐀=(4𝐃𝟐𝐚2𝐈𝐈𝐙𝐙4𝐃𝟐𝐚2𝐈𝐙𝐙𝐙4𝐃𝟐𝐚2𝐈),𝐁=(𝐙𝐙𝐙𝐙𝐙𝐈ε𝐃𝐱𝐈𝐙𝐙). (11)

The submatrices 𝐃𝟐, 𝐈 and 𝐙 stand respectively for the second order differentiation matrix on the Chebyshev nodes of the second kind 𝐱:={x1,,xN1}, the unitary matrix of order N1 and the matrix with all zero entries of order N1, N being as usual the spectral (cut-off or resolution) parameter. They have the same significance in the forthcoming two problems. The matrix 𝐃𝐱, signifies the diagonal matrix 𝐝𝐢𝐚𝐠(h(𝐱)). It is important to underline that in the differentiation matrix 𝐃𝟐 the boundary conditions are enforced, thus the rows and columns corresponding to the first node x0 and the last node xN are deleted. All the differentiation matrices we have used come from [22]. The matrix 𝐁 is singular of rank N1.

As a second test problem we consider another representative singular hydrodynamic stability problem. In this case we solve an eight order differential system which models multi-component convection-diffusion in a porous medium. Defining a2 to be the wavenumber and λ the eigenparameter, the non-dimensional linear perturbation equations read ([4]):

{(D2a2)W2(ζz)a2Sa2Ψ1a2Ψ2=0,(D2a2)SRW=λS,(D2a2)Ψ1R1W=λP1Ψ1,(D2a2)Ψ2R2W=λP2Ψ2,z(0,1), (12)

supplied with the boundary conditions:

W=S=Ψ1=Ψ2=0,z=0,1. (13)

In the system (12), W, S, Ψ1, Ψ2 are the perturbations of velocity, temperature and two solutes, R and Rβ are thermal and solute Rayleigh numbers, respectively, and Pβ are salt Prandtl numbers, β=1,2 . Eventually ζ signifies a quantity connected with the temperature of the upper boundary. The ``D2 strategy casts this problem into a generalized eigenvalue one with the matrices 𝐀 and 𝐁 defined as follows:

𝐀:=(4𝐃𝟐a2𝐈2(ζz)a2𝐈a2𝐈a2𝐈R𝐈4𝐃𝟐a2𝐈𝐙𝐙R1𝐈𝐙4𝐃𝟐a2𝐈𝐙R2𝐈𝐙𝐙4𝐃𝟐a2𝐈),𝐁:=(𝐙𝐙𝐙𝐙𝐙P𝐈𝐙𝐙𝐙𝐙P1𝐈𝐙𝐙𝐙𝐙P2𝐈). (14)

As a third test problem we consider the stability of the so called Hadley flow. It refers to convection in a layer of porous medium where the basic temperature field varies in the vertical (i.e. z direction) as well as along one of the horizontal directions which is defined as x direction. The nondimensional perturbation equations are ([4])

{(D2a2)W+a2S=0,(D2a2iσikU(z))S+ika2RHDW(DT)W=0,z(12,12), (15)

supplied with boundary conditions

W=S=0,z=±12. (16)

In (15), W(z) and S(z) are respectively the third component of velocity and temperature field perturbations. The steady-state solutions have the form

U(z):=RHz,T(z):=RVz+124RH2(z4z3)RHx,

where RH and RV are the horizontal and vertical Rayleigh numbers, respectively, a2:=k2+m2 with k and m being the x and y wavenumbers and σ is the eigenparameter. The same strategy casts this problem into a generalized eigenvalue one with the matrices 𝐀 and 𝐁 defined as follows:

𝐀:=(4𝐃𝟐a2𝐈a2𝐈(RH224+RV)𝐈+(RH22)𝐗+(ikRH2a2)𝐃𝟏4𝐃𝟐a2𝐈ikdiag(RHx2)),𝐁:=(𝐙𝐙𝐙𝐈), (17)

where 𝐗:=diag(x2/4), and 𝐃𝟏 is the first order differentiation matrix. We finish this section with the remark that the problem (15)-(16) can be reduced to a fourth order one in W containing the leading term (D2a2)2.

Refer to caption
Figure 1: Log of the condition number of the matrices D2a2I, (D2a2I)2, (D2a2I)3 and (D2a2I)4 vs N in ascending order; a=4.92.

Our strategy is strongly motivated by the conditioning of the matrices 𝐀, (4𝐃𝟐𝐚2𝐈) and its second, third and fourth powers. In Fig. 1 the log of the condition numbers of these matrices is depicted. In logarithmic terms, this picture shows that conditioning of the fourth order differentiation matrix doubles, and that conditioning of the sixth order differentiation matrix triples, the conditioning of second order matrix. The conditioning of the eighth order differentiation matrix is (roughly) only 3.43 times larger than that of second order differentiation matrix. It means powers two, three or 3.43, of the conditioning of second order differentiation matrix, for the conditioning of higher order differentiation matrices, respectively. It is the main reason for which we do not applied directly collocation scheme to the problem (6)-(7) or to its weak formulation (8) or even to its minimization formulation (9). A completely analogous remark holds for the problems (12)-(13) and (15)-(16).

3 Computing a few specific eigenvalues

As mentioned in the introduction, the major drawback of full space methods such as the QR method (for ordinary eigenvalue problems) and the QZ method (for generalized eigenvalue problems) [23] is their computational complexity of O(n3), where n is the dimension of the problem. Consequently, for n5000, direct computation of the complete spectrum is no longer feasible using the QR or QZ method (see the uppermost curve in Fig. 2).

On the other hand, for the application described in this paper (and for many other applications as well), one is not interested in the complete spectrum, but in a few specific eigenvalues: the eigenvalues closest to zero. In fact the eigenvalue closest to zero is the most important. Before describing the proposed algorithm, first the requirements for an eigensolution method for the application of this paper are summarized:

  1. 1.

    Given the number k of wanted eigenvalues and a target (e.g., closest to zero), the methods must produce k eigenvalues closest to the target.

  2. 2.

    The method must be scalable with respect to the dimension of the eigenvalue problem.

  3. 3.

    The method must produce real approximate values for real eigenvalues and complex (conjugated pairs of) approximate values for complex eigenvalues.

  4. 4.

    The method must not be hampered by eigenvalues at infinity of the eigenvalue problems (10)-(11), (14) and (17).

In the following we briefly describe the Jacobi-Davidson method [18], an iterative method for the computation of a few specific eigenvalues. We also show why this method satisfies the above requirements. For more details, see [24, 18, 17].

3.1 The Jacobi-Davidson method

The Jacobi-Davidson method [18] combines two principles to compute eigenpairs of eigenvalue problems A𝐱=λ𝐱. The first (Davidson) principle is to apply a Ritz-Galerkin approach with respect to the search space spanned by the orthonormal columns of Vk=[𝐯1,,𝐯k]n×k:

AVk𝐬θVk𝐬{𝐯1,,𝐯k},

which leads to k Ritz pairs (θi,𝐪i=Vk𝐬i), where (θi,𝐬i) are eigenpairs of VkAVk. The second (Jacobi) principle is to compute a correction 𝐭 orthogonal to the selected eigenvector approximation 𝐪 (for instance, corresponding to the largest Ritz value θ) from the Jacobi-Davidson correction equation

(I𝐪𝐪)(AθI)(I𝐪𝐪)𝐭=(A𝐪θ𝐪).

The search space is expanded with (an approximation of) 𝐭. A Ritz pair is accepted if 𝐫2=A𝐪θ𝐪2 is smaller than a given tolerance. The basic Jacobi-Davidson method is shown in Alg. 1. A variant for generalized eigenvalue problems is described in [24].

Algorithm 1 The Jacobi-Davidson method
0:  n×n matrix A, initial vector 𝐯1, tolerance ϵ
0:  approximate eigenpair (θ,𝐪) with A𝐪θ𝐪<ϵ
1:  𝐭=𝐯1
2:  V0=W0=H0=[]
3:  for i=1,2, do
4:     𝐯i=MGS(Vi1,𝐭) {Modified Gram-Schmidt [23]}
5:     𝐯i=𝐯i/𝐯i2
6:     Vi=[Vi1,𝐯i]
7:     𝐰i=A𝐯i
8:     Wi=[Wi1,𝐰i]
9:     Hi=[Hi1Vi1𝐰i𝐯iWi1𝐯i𝐰i]
10:     Select suitable eigenpair (θ,𝐬) of Hi
11:     𝐪=Vi𝐬/Vi𝐬2
12:     𝐫=A𝐪θ𝐪
13:     if 𝐫2ϵ then
14:        Stop
15:     end if
16:     Solve (approximately) 𝐭𝐪 from correction equation
(I𝐪𝐪)(AθI)(I𝐪𝐪)𝐭=𝐫
17:  end for

If the correction equations are solved exactly, Jacobi-Davidson is an exact Newton method [25, 18], but one of the powerful properties of Jacobi-Davidson is that it is often sufficient for convergence to solve the correction equation up to moderate accuracy only, using, for instance, a (preconditioned) linear solver such as GMRES [26]. For our applications, however, the linear systems arising in the correction equation can be solved exactly in an efficient way. Jacobi-Davidson QR (QZ) methods, that compute partial (generalized) Schur forms for standard (generalized) eigenproblems, are described in [24, 25].

Reflecting on the requirements listed above, the Jacobi-Davidson method is known to be able to satisfy requirements 1 and 2. In the following subsection we describe how the other two can be dealt with.

3.2 Computing a partial generalized real Schur form

The Jacobi-Davidson QZ (JDQZ)[24] method for generalized eigenvalue problems computes a partial generalized Schur form [23]

AQkSk=BZkTk, (18)

where Qk,Zkn×k contain the generalized Schur vectors and Sk,Tkk×k are upper triangular matrices whose generalized eigenvalues λ(Sk,Tk) are approximations (called Petrov values) of eigenvalues of (A,B). Note that kn.

Although the JDQZ method can be used for the problem described in this paper, there is one property that makes JDQZ in its current form less applicable: while the matrices A and B are known to be real, and hence have real or complex-conjugated pairs of eigenvalues, the produced partial Schur form is complex. In principle this should not be an issue. However, JDQZ does not guarantee that approximations to real eigenvalues are real, which could lead to confusion when computing eigenvalues of large systems. In other words, because approximations of real eigenvalues might in fact be complex-conjugated pairs of eigenvalues (with negligible though nonzero imaginary part), this could lead to wrong conclusions in practice.

In [17] a variant of JDQZ, called rJDQZ, is proposed that computes partial generalized real Schur form for then pencil (A,B):

AQkSk=BZkTk, (19)

where Qk,Zkn×k contain the generalized Schur vectors, Skk×k is upper triangular, and Tkk×k is quasi-upper triangular (i.e., the diagonal contains a 1×1 entry for real eigenvalues and a 2×2 block for complex-conjugated pairs of eigenvalues). The generalized eigenvalues λ(Sk,Tk) are approximations (called Petrov values) of eigenvalues of (A,B). Note again that kn.

The key difference between JDQZ and rJDQZ is that the latter uses only real search spaces, while JDQZ uses complex search spaces. Since rJDQZ uses real search spaces, the approximate eigenvalues are either real or appear in complex-conjugated pairs, which is in line with requirement 3. Apart from this, it was shown in [17] that because less complex arithmetic is used in rJDQZ, the method is also faster and more memory efficient compared to JDQZ.

Finally, since we are interested in the eigenvalues closest to zero, we do not expect any numerical problems caused by eigenvalues at infinity (requirement 4), as also described in [19]. However, when one is interested in, e.g., the rightmost finite eigenvalues, one might consider purification techniques described in [27, 19].

3.3 Alternatives

An alternative method to compute a few specific eigenvalues is the Arnoldi method [28]. Since the Arnoldi method was originally derived for ordinary eigenvalue problems of the form Ax=λx, it is not directly applicable to problems of the form Ax=λBx (cf. (10)). However, if it is possible to solve systems Ay=b, one can apply the Arnoldi method to the transformed problem A1Bx=μx, where λ=1/μ. Note that A is not inverted explicitly; during the Arnoldi process, instead systems Ay=b are solved (for more details see, e.g., [29]). If solves with A can be done efficiently and accurately, the Arnoldi method may be an interesting alternative for the Jacobi-Davidson method (note that the Jacobi-Davidson method is still applicable if solves with A are not feasible).

For the problem at hand, the Arnoldi method is applicable because of the sparsity of matrix 𝐁 and relatively cheap solves with A.

4 Numerical results

In this section we will report some representative numerical results obtained in solving the generalized algebraic eigenvalue problems defined by (10), (14) and (17). All numerical computations reported in [12] and [13] were carried out using the MATLAB code eig, which is an implementation of the QZ method. Alternatively, we use in this paper the JDQZ implementation from

http://www.math.uu.nl/people/sleijpen/JD_software/JDQZ.html,

the rJDQZ implementation described in [17], and compare the results with those obtained using the MATLAB code eig for the QZ method (see also Table 3 in [12]), and the MATLAB code eigs for the Arnoldi method. All computations were carried out using MATLAB 2010a on a HP xw8400 Workstation with clock speed of 3.2Ghz/s.

The computed values of the first three eigenvalues, i.e. R1,R2,R3, λ1,λ2,λ3 corresponding to problems (10) and (14) respectively are displayed in Table 1. The eigenvalues σ1,σ2,σ3 corresponding to problem (17) are reported in Table 2. The CPU times reported in these tables, as well as in Fig. 2, measure the time required for the computation of the first six eigenvalues except QZ method which computes the whole spectrum.

They are obtained for the following sets of fixed physical parameters: a2=21.344, ζ=0.14286, R=228.009, R1=291.066, R2=261.066, P1=4.5454, P2=4.7619, in case of problem (14), ε=0.03 and a=4.92 in case of problem (10), and k=0, m=10, RH=114.2, RV=100, in case of problem (17).

Refer to caption
Figure 2: CPU time vs n=(N2)4 for problem (14). Star line corresponds to rJDQZ, circle line to Arnoldi, diamond line to JDQZ and square line to QZ.

It is fairly clear from both Tables that most numerical approximations of the first three leading eigenvalue computed by both JDQZ, QZ and Arnoldi are almost indistinguishable. Our numerical experiments concerning problem (14), the largest one, extended successfully for all four methods for larger values of spectral parameter N, i.e., for N in the range 512, 2500. This involved matrices of order n=(N2)4, i.e., up to n=10000. As the values of the first two eigenvalues, up to sixth digit, remain unchanged for such range of N, it implies convergence of the numerical method.

The CPU times required by the all four methods are depicted in Fig. 2. It is important to observe that rJDQZ computed only the first two eigenvalues for spectral parameter N larger than 1000.

In spite of its considerable robustness for large matrices, JDQZ failed to compute the first eigenvalue corresponding to problem (17) (see second column in Table 2). The reason consists in the very bad conditioning of problem defined by (17).

The real variant of JDQZ, rJDQZ, does produce real eigenvalues because it uses real search spaces, as explained in Section 3.2.

Both Arnoldi and the JD based methods did not show any difficulties with spurious eigenvalues.

We also have to emphasize that, as far as we know, we have used the largest spectral order N in such eigenvalue computations. Comparatively, in [2] and [4] values of N attain 50, in [9] the authors work with N of order 100, in [8] the authors consider that N=602 is fine enough to predict correctly the leading eigenvalues of the problem and in [6] this order attains 1000. In older papers the authors simply work with N much less than 100.

Some more comments on the convergence and round-off errors in rJDQZ and Arnoldi method when singular generalized eigenvalue problems are solved are now in order. We define first, the error of a method as the absolute value of the difference between the computed eigenvalue and the converged one, i.e., obtained with the largest resolution. Than, we observe that the pseudospectra of our pencils (A,B) can be unbounded, i.e., they extend to the whole complex plane for sufficiently large perturbations (see van Doersselaer [30]). Thus, to get some information we cut up from the whole spectrum the region surrounding the first two eigenvalues and observe that our computation is backward stable in the sense that the line of level which equals the error encloses the computed eigenvalue. Using a resolution of 256 which implies a matrix of order 1.e+03 the pseudospectrum is depicted in Fig. 3.

Refer to caption
Figure 3: The part of pseudospectrum surrounding the first two eigenvalues of problem (14) obtained using rJDQZ. The largest contour correspond to 1.e01 and the interior nested contours decrease with a ratio of 0.2

As the diameter of the enclosed area provides a hint of the largest possible relative error on the respective eigenvalue, we can infer a more sensitive second eigenvalue than the first one.

The errors of the first two computed eigenvalues, by rJDQZ and respectively Arnoldi, vs. 1/N, as is usual in spectral methods, are depicted in Fig. 4.

Refer to caption
Figure 4: Semilog plot of error vs 1/N for the first two eigenvalues computed with rJDQZ respectively Arnoldi.

For resolutions larger than 1500 this picture shows that the computation of the second eigenvalue becomes unstable in both methods. It is in accordance with the conclusion provided by the pseudospectrum. In order to observe the order of convergence of both methods we depicted Fig. 5.

Refer to caption
Figure 5: Loglog plot of error vs 1/N for the first eigenvalues computed with rJDQZ respectively Arnoldi.

The rJDQZ method for resolutions inferior to 1700 have order of convergence that could attains unity, i.e., Err is of order (1/N)p, 0<p1. These resolutions are satisfactory in hydrodynamic stability problems. Arnoldi method behaves better. It has a comparable order of convergence but looks more accurate. It is fairly clear that rJDQZ method is seriously affected by rounding off errors in Chebyshev differentiation matrices.

With respect to Arnoldi method we have to observe that this method confirms its performances established in [21] also for generalized singular eigenvalue problems.

5 Concluding remarks

In this paper we have shown that the Jacobi-Davidson and Arnoldi methods can be successfully used to compute the smallest eigenvalues of large-scale matrix pencils arising in hydrodynamic stability problems.

Both methods are not hampered by eigenvalues at infinity. Since these methods are applicable to large-scale problems, they are preferred over the QZ method, which is only applicable to small eigenvalue problems. The variant of the Jacobi-Davidson method that uses only real search spaces, rJDQZ, takes advantage of using such search spaces resulting in real approximations of real eigenvalues. Consequently, it is the fastest method for solving such large and singular generalized eigenvalue problems. Moreover, this method is completely independent of the physical formulation of the problem at hand.

Eventually, we want to underline that the Chebyshev collocation (discretization) method proved again to be very implementable and feasible, for fairly large values of spectral parameter, provided that accurate differentiation matrices are used.

Acknowledgement 1

The authors are very grateful to the anonymous referee for his/her careful reading of the paper and trenchant suggestions for improvement.

References

  • [1] Straughan B. Convection in a variable gravity field. Journal of Mathematical Analysis and Applications, 1989; 140:467-475.
  • [2] Straughan B, Walker DW. Two very accurate and efficient methods for computing eigenvalues and eigenfunctions in porous convection problems. Journal of Computational Physics, 1996; 127:128-141.
  • [3] Dondarra JJ, Straughan B, Walker DK. Chebyshev tau-QZ algorithm methods for calculating spectra of hydrodynamic stability problems. Applied Numerical Methods, 1996; 22:399-434.
  • [4] Hill AA, Straughan B. A Legendre spectral element method for eigenvalues in hydrodinamic stability. Mathematical Methods in Applied Sciences, 2006; 29 :363-381.
  • [5] Hill AA, Straughan B. Linear and nonlinear stability tresholds for thermal convection in a box. Mathematical Methods in Applied Sciences, 2006; 29 :2123-2132.
  • [6] Melenk JM, Kirchner NP, Schwab C. Spectral Galerkin discretization for hydrodynamic stability problems. Computing, 2000; 65:97-118.
  • [7] Kirchner NP. Computational aspects of the spectral Galerkin FEM for the Orr-Sommerfeld equation. International Journal for Numerical Methods in Fluids, 2000; 32:119-137.
  • [8] Valerio JV, Carvalho MS, Tomei C. Filtering the eigenvalues at infinity from the linear stability analysis of incompressible flows. Journal of Computational Physics, 2007; 227:229-243.
  • [9] Boomkamp PAM, Boersma BJ, Miesen RHM, Beijnon GVA. A Chebyshev collocation method for solving two-phase flow stability problems. Journal of Computational Physics, 1997; 132:191-200.
  • [10] Giannakis D, Fischer PF, Rosner R. A spectral Galerkin method for the coupled Orr-Sommerfeld and induction equations for free surface MHD. Journal of Computational Physics, 2009; 228:1188-1233, DOI:10.1016/j.jcp.2008.10.016
  • [11] Khorrami MR, Malik MR, Ash LR. Application of spectral collocation techniques to the stability of swirling flows. Journal of Computational Physics, 1989; 81:206-229.
  • [12] Gheorghiu CI, Dragomirescu IF. Spectral methods in linear stability. Application to thermal convection with variable gravity field. Applied Nunerical Mathematics, 2009; 59:1290-1302, DOI:10.1016/j.apnum.2008.07.004
  • [13] Dragomirescu IF, Gheorghiu CI. Analitical and numerical solutions to an electrohydrodynamic stability problem. Applied Mathematics and Computation, 2010; 216:3718-3727, DOI:10.1016/j.acm.2010.05.028.
  • [14] Schmid PJ, Henningson DS. Stability and Transition in Shear Flows. Springer-Verlag: New York, 2001; 489.
  • [15] Zebib A. Removal of Spurious Modes Encountered in Solving Stability Problems by Spectral Methods. Journal of Computational Physics, 1987; 70:521-525.
  • [16] Lindsay KA, Ogden RR. A Practical Implementation of Spectral Methods Resistant to the Generation of Spurious Eigenvalues. International Journal for Numerical Methods in Fluids, 1992;15:1277-1292.
  • [17] van Noorden TL, Rommes J. Computing a partial generalized real Schur form using the Jacobi-Davidson method. Numerical Linear Algebra with Applications, 2007;14:197-215.
  • [18] Sleijpen GL, van der Vorst HAA. A Jacobi-Davidson iteration method for linear eigenvalue problems. SIAM Journal of Matrix Analysis and Applications, 1996;17:401-425.
  • [19] Rommes J. Arnoldi and Jacobi-Davidson methods for generalized eigenvalue problems Ax=λBx with B singular. Mathematics of Computation, 2008;77:995-1015.
  • [20] Golub GH, Van der Vorst HA. Eigenvalue computation in the 20th century. Journal of Computational and Applied Mathematics, 2000; 123:35-65.
  • [21] Valdettaro L, Rieutord M, Braconnier T, Fraisse V. Convergence and round-off errors in a two-dimensional eigenvalue problem using spectral methods and Arnoldi-Chebyshev algorithm. Journal of Computational and Applied Mathematics, 2007; 205:382-393.
  • [22] Weideman, JAC, Reddy SC. A MATLAB Differentiation Matrix Suite. ACM Transactions in Mathematical Software, 2000;26:465-519.
  • [23] Golub GH, van Loan CF. Matrix Computations. third ed., The John Hopkins University Press: Baltimore, 1996.
  • [24] Fokkema DR, Sleijpen GLG, van der Vorst HA. Jacobi-Davidson style QR and QZ algorithms for the reduction of matrix pencils. SIAM Journal of Scientific Computing, 1998;20:94-125.
  • [25] Sleijpen GLG, Booten JGL, Fokkema DR, van der Vorst. Jacobi-Davidson type methods for generalized eigenproblems and polynomial eigenproblems. BIT, 1996;36:595-633.
  • [26] Saad Y, Schultz MH. GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems. SIAM Journal of Scientific and Statistic Computing, 1986;7:856-869.
  • [27] Meerbergen K, Spence A. Implicitely restarted Arnoldi with purification for the shift-invert transformation. Mathematics of Computation, 1997;66:667-689.
  • [28] Arnoldi WE. The principle of minimized iteration in the solution of the matrix eigenproblem. Quartely of Applied Mathematics, 1951;9:17-29.
  • [29] Bai Z, Demmel J, Dongarra J, Ruhe A, van der Vorst HA. Templates for the Solution of Algebraic Eigenvalue Problems: a Practical Guide. SIAM:Philadelphia, 2000.
  • [30] van Dorsslaer JLM. Pseudospectra for matrix pencils and stability of equilibria. BIT, 1997; 37:833-845
JDQZ rJDQZ eig (QZ) eigs (Arnoldi A1B)
R1 25.8365 25.836514 25.836514 25.836514
R2 134.387 134.386749 134.386750 134.386749
R3 412.323 412.323554 412.323571 412.323571
CPU(s) 48.7 9.36 57.15 9.75
λ1 5.60913 5.609129 5.609129 5.609129
λ2 8.96417 8.964170 8.964170 8.964170
λ3 11.1226 11.122552 11.122552 11.122552
CPU(s) 133.0 16.14 157.12 30.70
Table 1: Numerical evaluations of the first three eigenvalues using JDQZ, rJDQZ and Matlab functions eig and eigs, for N=512 .
JDQZ rJDQZ eig (QZ) eigs (Arnoldi A1B)
σ1 ? 0.293432 0.293432 0.293432
σ2 0.692455 0.692454 0.692454 0.692454
σ3 329.278 329.2778 311.5122 329.2778
CPU(s) 3.21 1.90 1.38 1.31
Table 2: Numerical evaluations of the first three eigenvalues using JDQZ, rJDQZ and Matlab functions eig and eigs, for N=256 (n=508).
  1. Straughan B. Convection in a variable gravity field. Journal of Mathematical Analysis and Applications 1989; 140:467–475.
  2. Straughan B, Walker DW. Two very accurate and efficient methods for computing eigenvalues and eigenfunctions in porous convection problems. Journal of Computational Physics 1996; 127:128–141.
  3. Dondarra JJ, Straughan B, Walker DK. Chebyshev tau-QZ algorithm methods for calculating spectra of hydrodynamic stability problems. Applied Numerical Methods 1996; 22:399–434.
  4. Hill AA, Straughan B. A Legendre spectral element method for eigenvalues in hydrodinamic stability. Mathematical Methods in Applied Sciences 2006; 29:363–381.
  5. Hill AA, Straughan B. Linear and nonlinear stability tresholds for thermal convection in a box. Mathematical Methods in Applied Sciences 2006; 29:2123–2132.
  6. Valerio JV, Carvalho MS, Tomei C. Filtering the eigenvalues at infinity from the linear stability analysis of incompressible flows. Journal of Computational Physics 2007; 227:229–243.
  7. Boomkamp PAM, Boersma BJ, Miesen RHM, Beijnon GVA. A Chebyshev collocation method for solving two-phase flow stability problems. Journal of Computational Physics 1997; 132:191–200.
  8. Giannakis D, Fischer PF, Rosner R. A spectral Galerkin method for the coupled Orr–Sommerfeld and induction equations for free surface MHD. Journal of Computational Physics 2009; 228:1188–1233. DOI: 10.1016/j.jcp.2008.10.016.
  9. Khorrami MR, Malik MR, Ash LR. Application of spectral collocation techniques to the stability of swirling flows. Journal of Computational Physics 1989; 81:206–229.
  10. Gheorghiu CI, Dragomirescu IF. Spectral methods in linear stability. Application to thermal convection with variable gravity field. Applied Nunerical Mathematics 2009; 59:1290–1302. DOI: 10.1016/j.apnum.2008.07.004.
  11. Dragomirescu IF, Gheorghiu CI. Analitical and numerical solutions to an electrohydrodynamic stability problem. Applied Mathematics and Computation; 2010(216):3718–3727. DOI: 10.1016/j.acm.2010.05.028.
  12. Saad Y. Iterative Methods for Sparse Linear Systems. PWS Publishing: NY, 1996.
  13. Schmid PJ, Henningson DS. Stability and Transition in Shear Flows. Springer-Verlag: New York, 2001. 489.
  14. Zebib A. Removal of spurious modes encountered in solving stability problems by spectral methods. Journal of Computational Physics 1987; 70:521–525.
  15. Lindsay KA, Ogden RR. A practical implementation of spectral methods resistant to the generation of spurious eigenvalues. International Journal for Numerical Methods in Fluids 1992; 15:1277–1292.
  16. Melenk JM, Kirchner NP, Schwab C. Spectral Galerkin discretization for hydrodynamic stability problems. Computing 2000; 65:97–118.
  17. van Noorden TL, Rommes J. Computing a partial generalized real Schur form using the Jacobi–Davidson method. Numerical Linear Algebra with Applications 2007; 14:197–215.
  18. Sleijpen GL, van der Vorst HAA. A Jacobi–Davidson iteration method for linear eigenvalue problems. SIAM Journal of Matrix Analysis and Applications 1996; 17:401–425.
  19. Rommes J. Arnoldi and Jacobi–Davidson methods for generalized eigenvalue problems Ax D Bx with B singular. Mathematics of Computation 2008; 77:995–1015.
  20. Golub GH, Van der Vorst HA. Eigenvalue computation in the 20th century. Journal of Computational and Applied Mathematics 2000; 123:35–65.
  21. Valdettaro L, Rieutord M, Braconnier T, Frayssé V. Convergence and round-off errors in a two-dimensional eigenvalue problem using spectral methods and Arnoldi–Chebyshev algorithm. Journal of Computational and Applied Mathematics 2007; 205:382–393.
  22. Weideman JAC, Reddy SC. A MATLAB differentiation matrix suite. ACM Transactions in Mathematical Software 2000; 26:465–519.
  23. Golub GH, van Loan CF. Matrix Computations, third ed. The John Hopkins University Press: Baltimore, 1996.
  24. Fokkema DR, Sleijpen GLG, van der Vorst HA. Jacobi–Davidson style QR and QZ algorithms for the reduction of matrix pencils. SIAM Journal of Scientific Computing 1998; 20:94–125.
  25. Sleijpen GLG, Booten JGL, Fokkema DR, van der Vorst HA. Jacobi–Davidson type methods for generalized eigenproblems and polynomial eigenproblems. BIT 1996; 36:595–633.
  26. Saad Y, Schultz MH. GMRES: a generalized minimal residual algorithm for solving nonsymmetric linear systems. SIAM Journal of Scientific and Statistic Computing 1986; 7:856–869.
  27. Meerbergen K, Spence A. Implicitely restarted Arnoldi with purification for the shift-invert transformation. Mathematics of Computation 1997; 66:667–689.
  28. Arnoldi WE. The principle of minimized iteration in the solution of the matrix eigenproblem. Quartely of Applied Mathematics 1951; 9:17–29.
  29. Bai Z, Demmel J, Dongarra J, Ruhe A, van der Vorst HA. Templates for the Solution of Algebraic Eigenvalue Problems: A Practical Guide. SIAM: Philadelphia, 2000.
  30. van Dorsslaer JLM. Pseudospectra for matrix pencils and stability of equilibria. BIT 1997; 37:833–845.
2013

Related Posts