PSEUDOSPECTRAL SOLUTION OF THE TWO-DIMENSIONAL NAVIER STOKES EQUATIONS IN A DISK

Size: px
Start display at page:

Download "PSEUDOSPECTRAL SOLUTION OF THE TWO-DIMENSIONAL NAVIER STOKES EQUATIONS IN A DISK"

Transcription

1 SIAM J. SCI. COMPUT. Vol. 1, No. 1, pp c 1999 Society for Industrial and Applied Mathematics PSEUDOSPECTRAL SOLUTION OF THE TWO-DIMENSIONAL NAVIER STOKES EQUATIONS IN A DISK D. J. TORRES AND E. A. COUTSIAS Abstract. An efficient and accurate algorithm for solving the two-dimensional (D) incompressible Navier Stokes equations on a disk with no-slip boundary conditions is described. The vorticitystream function formulation of these equations is used, and spatially the vorticity and stream functions are expressed as Fourier Chebyshev expansions. The Poisson and Helmholtz equations which arise from the implicit-explicit time marching scheme are solved as banded systems using a postconditioned spectral τ-method. The polar coordinate singularity is handled by expanding fields radially over the entire diameter using a parity modified Chebyshev series and building partial regularity into the vorticity. The no-slip boundary condition is enforced by transferring one of the two boundary conditions imposed on the stream function onto the vorticity via a solvability constraint. Significant gains in run times were realized by parallelizing the code in message passage interface (MPI). Key words. spectral methods, coordinate singularity, parallel AMS subject classifications. 76D5, 35Q3, 65M7, 65N35 PII. S Introduction. An efficient and accurate algorithm for solving the D incompressible Navier Stokes equations on a disk with no-slip boundary conditions is presented. The vorticity-stream function formulation of these equations is employed. Spatially, the vorticity and stream functions are expressed as Fourier Chebyshev expansions. The temporal evolution treats the nonlinear terms explicitly and the diffusion terms implicitly. The third-order stiffly stable scheme used for marching the solution forward in time requires the solution of a Poisson and a Helmholtz equation each time step. Since Fourier modes decouple, solving each of these elliptical equations amounts to solving a singular ordinary differential equation (ODE) for each Fourier mode, which is accomplished using the Chebyshev τ-method (Boyd [3]). The matrices that arise from these are transformed to banded form using a variation on the method developed by Coutsias et al. [7]. As such, only O(NMlog(NM)) operations are required to advance the solution one time step, where N is the number of Fourier modes and M is the number of Chebyshev modes, accounting for the fast Fourier transform fast cosine transform (FFT-FCT) (Temperton []) required to evaluate the nonlinear terms (Canuto et al. [4]). Poisson s equation can be solved accurately in spite of the polar coordinate singularity. However, the singularity does degrade the accuracy of the Helmholtz equation for high Reynolds numbers. The singularity has been investigated by several authors in a spectral τ, Galerkin, and collocation context; namely, Gottlieb and Orszag [11], Eisen et al. [9], Fornberg [1], Huang and Sloan [1], Orszag [16], Shen Received by the editors November 14, 1997; accepted for publication (in revised form) November 9, 1998; published electronically September, This work was partially supported by DOE grant DE-FG3-9ER518 and by NOAA Climate and Global Change program grant NA56GP19. This work was performed in part at the Mathematics Department and Albuquerque High Performance Computing Center, University of New Mexico, Albuquerque, and at the Physics Department and Geophysical Research Center, New Mexico Institute of Mining and Technology, Socorro, NM Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM (dtorres@ lanl.gov). Dept. of Mathematics and Statistics, University of New Mexico, Albuquerque, NM (vageli@math.unm.edu). 378

2 D FLOW IN A DISK 379 [19], Matsushima and Marcus [13], and Verkley [, 3]. Several algorithms for threedimensional (3D) cylindrical geometries are discussed in Priymak [17]. Gottlieb and Orszag [11] propose using an even Chebyshev expansion for even Fourier modes and an odd Chebyshev expansion for odd Fourier modes, M u n = a nk T k (r), r 1, k= n+keven in computing eigenvalues of Bessel s equation, (1) u n + 1 r u n n r u n = λu n, since the eigenfunctions of (1) inherit the parity of the Fourier mode, n. In addition, they find that convergence improves if a boundary condition is imposed at the center, u n() = for n 1. Eisen et al. [9] also propose using even and odd expansions in solving the cylindrical Poisson, u = f, and Helmholtz equation () u + λu = f with a spectral collocation method. However, they expand over the interval 1 r 1. The expansion is constructed by extending a function f n (r), originally defined on [, 1] to [ 1, 1], using (3) { fn (r) if n even, f n ( r) = f n (r) if n odd, where n is the Fourier mode. The pole condition u n () = is suggested for Fourier modes n.forn=, the pole conditions d u dr = f () and d u dr + λu r= = f () r= r= are used for the Poisson and Helmholtz equations, respectively. Eisen et al. [9] also investigate the handling of the polar coordinate singularity by mapping the unit disk onto a rectangle with a monomial expansion u(r, θ) = M M n= k= M+1 a nk Φ nk in the spectral collocation context, where Φ nk = rn e ikθ. While spectral accuracy is achieved for N 16, rounding errors contaminate the results for large values of N. A collocation approach is described by Huang and Sloan [1] for computing eigenvalues of Bessel s equation (1) using a Chebyshev expansion on r 1. Spectral convergence for the first and second eigenvalue for different Fourier modes is realized when (4) u n ()=,n, u ()= are enforced. A spectrally accurate solution of the Helmholtz equation () is also achieved with an equivalent form of the pole condition (4).

3 38 D. J. TORRES AND E. A. COUTSIAS Building additional regularity into the solution f(r, θ) = f n (r)r n e inθ is studied by Orszag et al. [16] and in a spherical context by Merilees [14]. Such regularity is justified since the nth Fourier coefficient of a function f(r, θ) decays as r n near the origin. However, generating the expansion coefficients f n (r) from f(r, θ) is an ill-conditioned operation as r for large truncations on r 1. Shen [19] uses an efficient spectral-galerkin approach in solving the Helmholtz equation on a unit disk. He enforces the boundary condition u n ()=,n for Fourier modes n greater than zero by using basis functions φ i (x) =L i (x) L i+1 (x), i=,1,..., N, where L i represents either the ith degree Legendre or the Chebyshev polynomial. A regularity boundary condition for n = is not enforced. The Galerkin method insures that the regularity condition u n ()=, n will automatically be satisfied. Matsushima and Marcus [13] treat the singularity in an elegant way using the basis Q m n (α, β; r)e imθ (with m + n even), where Q m n (α, β; r) is an orthogonal polynomial which behaves as O(r m )asr. Verkley [, 3] works along similar lines by using the basis functions r m P (, m ) (r 1)e imθ, where P (, m ) are the Jacobi polynomials. Although such expansions share with the Chebyshev method efficient representations of the relevant differential operators, as they all rely on orthogonal polynomials of a hypergeometric type (see [7]), an efficient implementation for large truncations requires a fast transform on these bases which is not readily available. The treatment of the Helmholtz polar coordinate singularity here follows Eisen et al. [9] (see also Fornberg [1]) in expanding solutions over the interval R r R rather than r R. From a Navier Stokes perspective, the expansion also puts less of a constraint on one s time step, due to the distribution of the Gaussian quadrature nodes. However, the implemented solution of the Helmholtz equation proposed here builds partial regularity into the vorticity, similar to the coordinate transformation used in [18] for velocity and pressure. If ω n represents the nth Fourier mode of vorticity, we assume ω n = r s n for n and ω 1 = rs 1, and solve for s n rather than ω n in the Helmholtz equation. While ideally ω n = r n s n, we are precluded from making such an assignment due to severe ill-conditioning which arises in the FFT. Finding an optimal α, where ω n = r α s n, is a matter of balancing the conditioning between the FFT and the Helmholtz equation. Our choice of partial regularity represents an adequate compromise while allowing a lean implementation. An optimal analysis will be pursued later. In addition, no-slip boundary conditions are constructed and imposed differently than methods used by other authors: Dennis and Quartapelle [8] and Coutsias and Lynov [5] solve the incompressible fluid equations in a vorticity-stream function formulation. The code is written in Fortran 9 and is parallelized using the MPI parallel language. Since Fourier modes can be handled independently of each other, the Poisson and Helmholtz equations can be solved independently on each processor for a particular range of Fourier modes. In addition, the potential memory capacity is enhanced in parallel, since each processor only holds a fraction of the total number of Fourier modes. No communication between processors is required, except when nonlinear terms need be multiplied. Multiplication is performed by transforming fields

4 D FLOW IN A DISK 381 Table 1 Computational speed-up m n denotes m Chebyshev modes and n Fourier modes. Processors 56x56 51x51 14x51 1x to point space using a parallel FFT-FCT algorithm, multiplying the fields in point space in transposed form, and transforming the product back into mode space. Using our implementation in MPI, we realize significant gains in computational speed by parallelizing the code, especially at larger truncations, as Table 1 shows. The code developed for one processor eliminates inefficiencies introduced by the parallelization and thus differs from the parallel code. The paper is organized as follows: Section discusses the incompressible Navier Stokes equations and the implicit-explicit time discretization used to solve them. Aspects of the Fourier Chebyshev spatial expansion are also described. Appendix A discusses an efficient technique for solving ODEs using the spectral τ-method. Section 3 applies the technique to the Poisson and Helmholtz operators which arise from the vorticity-stream function formulation and the implicit time discretization. We also discuss how imposing regularity on the vorticity improves the conditioning of the linear systems. Section 4 discusses the construction and imposition of boundary constraints on the vorticity. Section 5 summarizes the work and ends with a numerical calculation of a vortex dipole colliding with a cylindrical wall.. Incompressible Navier Stokes equations. This section discusses the solution of the D incompressible Navier Stokes equations in the vorticity-stream function formulation, using a Fourier Chebyshev spectral expansion. The equations are solved in a disk geometry, r R, θ<π. Let u, ρ, p, and ν denote the velocity field, density, pressure, and kinematic viscosity, respectively. The incompressible Navier Stokes equations include the momentum equation (5) u t + u u= 1 ρ p+ν u and the conservation of mass equation (6) u=. Taking the curl of (5) yields ω (7) t + J(ω, ψ) =ν ω, where ω is the vorticity in the z-direction and ψ, the stream function, is defined by (8) u = ψ ê z.

5 38 D. J. TORRES AND E. A. COUTSIAS The Jacobian J(ω, ψ) is defined by (9) J(ω, ψ) = 1 r [ ] ω ψ r θ ω ψ θ r and is computed at the origin using Cartesian coordinates, J(ω, ψ) = ω ψ x y ψ ω x y. To find the x- and y-derivative at the origin of a function defined in terms of r and θ, it is easiest to set θ equal to and π, respectively, and find the r-derivative. By taking the curl of (8), one obtains (1) ψ = ω. Equations (7) and (1) form the vorticity-stream function formulation of the incompressible Navier Stokes equations (5) and (6)..1. Time integration scheme. The presence of both nonlinear and linear terms in (7) suggests the use of an implicit-explicit time integration scheme. The diffusive term is treated implicitly for stability reasons, while the nonlinear term is treated explicitly for simplicity. Following Ascher et al. [], we employ a third order semi-implicit backward differentiation formula time integration scheme (a stiffly stable scheme). At each time step, the following equations are solved (the superscript denotes the time level): (11) (1) ψ k = ω k, (1 νδt )ω k+1 = 6 { 3ω k 3 11 ωk } 3 ωk + δt(3f k 3F k 1 + F k ), where F k = J(ω k,ψ k ) and δt is the time step. Thus one Poisson and one Helmholtz equation are solved at each time step... Fourier Chebyshev expansion. The spatial (r, θ) dependence of ω and ψ is treated spectrally. Due to the periodicity in the θ direction, ψ and ω are expanded in a Fourier series, (13) (14) ψ(r, θ) = ω(r, θ) = N N 1 ψn(r) c cos nθ + ψn(r) s sin nθ, n= n=1 N N 1 ωn(r) c cos nθ + ωn(r) s sin nθ. n= n=1 The term ψ n will be used to denote either ψ c n or ψ s n and similarly for ω n. A choice for the orthogonal polynomial basis must be made for the radial expansion. The Chebyshev polynomials prove useful in this regard. The Chebyshev expansion coefficients for a function of one variable can be generated efficiently in O(Mlog(M)) operations using a fast cosine transform, M being the number of expansion coefficients. The functions ψ n and ω n are expanded in a Chebyshev series

6 D FLOW IN A DISK 383 defined on the entire interval R r R, as opposed to the half-interval r R. For Guass Lobatto quadrature points, the grid is r i = Rcos( πi M ), i M. Note that only the half-interval [,R] is used in computing with fields in point space. This grid is resolved near r = R, where the grid spacing is O( 1 M ), and sparse near r =, where the grid spacing is O( 1 M ). The grid spacing near the origin does not overconstrain the time step by the Courant Friedrichs Lewy condition. Also, it is observed that the condition numbers for the spectral matrices that arise improve if ψ n and ω n are expanded over the entire interval [ R, R], compared to the half interval [,R]. We radially expand ψ n and ω n on [ R, R], following Eisen et al. [9] and using equation (3) to arrive at the following expressions: (15) ψ n (r) =ψ n (Rx) = m=m m= n+m=even ψ nm T m (x), ω n (r)= m=m m= n+m=even ω nm T m (x). Here T m (x) represents the Chebyshev polynomial of order m, 1 x Poisson and Helmholtz equations. Advancing the Navier Stokes equations in time requires the solution of a Poisson (11) and a Helmholtz (1) equation. In cylindrical coordinates, Poisson s equation ψ = ω assumes the form [ ( 1 r ψ ) + 1 ] ψ r r r r θ = ω(r, θ), r R, θ<π. Multiplying by r, substituting the Fourier expansions for ψ and ω, and using the orthogonality of the sine and cosine functions, one arrives at the following ODEs, (16) r d ψ n dr + r dψ n dr n ψ n = r ω n, n N. In cylindrical coordinates, the Helmholtz equation assumes the form [ ω ω(r, θ) ɛ r + 1 ω r r + 1 ] ω (17) r θ = f(r, θ), where ɛ ν δt and f(r, θ) denotes the right hand side of (1). Again, as with Poisson s equation, one generates a set of ODEs similar to those of Poisson s equation, [ r ω n ɛ r d ω n dr + r dω ] (18) n dr n ω n = r f n, n N..4. Boundary conditions. No-slip boundary conditions are imposed. A velocity field u is composed of a radial and tangential component, ( ) 1 ψ u =(uê r +vê θ )= r θ êr ψ r êθ. The no-slip constraint is v r=r = U, which translates (in terms of the stream function) into ψ (19) r = U. r=r

7 384 D. J. TORRES AND E. A. COUTSIAS In addition, the normal component of the velocity should be zero at the boundary (u r=r = ), which translates into ψ () θ =. r=r In terms of the individual Fourier components, the no-slip constraints (19) are dψ n dψ (1) dr = n>, r=r dr = U r=r and the normal constraints () are () ψ n r=r = n>. Two sets of boundary conditions on ψ n, n >, (1) (), cause the Poisson equation to be overdetermined. This difficulty is resolved in section Evolution diagnostics. The temporal evolution of the energy (E), enstrophy (Ω), circulation (C), and angular momentum (L) in a disk with no-slip boundary conditions can be derived from (5) (7): (3) (4) (5) (6) where and dω dt =πrν (ω ) r ν r=r E = 1 C = r=r de dt = νcω r=r νω, π R [( dc dt =πν dω dr, r=r ω r dl dt =πr νω r=r νc, r R u uds, Ω= ) +( r R ) ] 1 ω rdrdθ, r θ ω ds u dl, L =ê z rê r uds. r R Following Coutsias and Lynov [5], these equations are used to track the temporal accuracy of the code. 3. Banding Poisson and Helmholtz operators. We will now apply the techniques of Appendix A to solve the Poisson (16) and Helmholtz ODEs (18). Applying the spectral τ-method to the Poisson equations in the standard way, one forms the system of equations (59) (7) 1 R [ x D xd + n I ] ψn = x ω n,

8 D FLOW IN A DISK 385 where the convolution and differentiation matrices, x and D, transform the vector of coefficients for f(x) into the vector of coefficients for xf(x) and df dx, respectively. Here (16) has been transformed to use the independent variable, x = r R, 1 x 1. Letting (8) ψ n = P ψ n, where P is the postconditioner introduced in Appendix A, one obtains the banded system 1 [ x R D P xdp + n P ] ψ (9) n = x ω n. For the Chebyshev polynomials, i 1 i P = M 4 M 1 M i 1 i M 6 1 M 4 1 M, DP = i 1 i... 1 M 6 M 4 1 M, 1. 1 D P =..., x = We found that our postconditioned method required no special treatment for Poisson s equation. Spectrally accurate solutions for this singular problem were obtained at large truncations M by solving the system (9) with boundary conditions. However, the spectral accuracy of the postconditioned method solution was degraded for the Helmholtz equation u ɛ u = f

9 386 D. J. TORRES AND E. A. COUTSIAS Table Errors in a postconditioned solution of Helmholtz equation (17) with Dirichlet boundary conditions without regularity where f(r, θ) was generated by letting ω be the exact solution, ɛ =1 1 9, Fourier modes = 56, and a varying number of Chebyshev modes 1 x 1, R=1. ω(x, y) sin(x y) 9( 15) 3( 14) ( 13) 1( 1) ( 1) ( 11) ( 11) e 5r 1( 11) 6( 15) ( 13) 3( 14) 1( 1) 8( 1) ( 1) cos(cos(x + y)) 6( 14) ( 13) ( 13) 3( 1) 9( 1) 5( 11) 1( 1) r 7 sin(7θ) 3( 14) 8( 14) 1( 1) 3( 1) ( 11) 8( 11) ( 1) e x+y+y ( 13) 8( 13) ( 1) ( 11) 6( 11) 3( 1) ( 9) sin(πr ) 9( 14) 3( 13) 5( 13) 5( 1) 1( 11) 5( 11) 1( 1) cos(5r) 4( 14) ( 13) 1( 1) ( 13) 1( 11) 3( 11) ( 1) J (r) 5( 14) 1( 13) 9( 14) 1( 1) 7( 1) 9( 11) 5( 11) Table 3 Errors in postconditioned solution of Helmholtz equation (17) with Dirichlet boundary conditions with regularity where f(r, θ) was generated by letting ω be the exact solution: ɛ =1 1 9, Fourier modes = 56, and a varying number of Chebyshev modes 1 x 1, R=1. ω(x, y) sin(x y) ( 15) 1( 15) 5( 15) 7( 15) 1( 14) 1( 14) ( 14) e 5r 9( 13) ( 13) 9( 15) 1( 14) ( 14) 3( 14) 8( 14) cos(cos(x + y)) ( 1) 7( 13) 9( 14) ( 14) 6( 15) 4( 14) 5( 14) r 7 sin(7θ) 6( 15) 6( 15) 8( 15) 4( 14) 5( 14) ( 13) 1( 13) e x+y+y 1( 11) ( 1) 5( 14) 1( 13) 1( 13) 5( 13) 5( 13) sin(πr ) 4( 1) 4( 13) 7( 14) 9( 15) 1( 14) 5( 14) 4( 14) cos(5r) ( 1) 3( 14) 3( 14) 1( 14) ( 14) 1( 13) 4( 14) J (r) 8( 1) ( 14) 3( 15) 1( 14) 8( 15) 1( 14) ( 14) on either 1 x 1or x 1 for small ɛ 1, and large truncations. See Table for the expansion interval 1 x 1. The degradation of accuracy is even more dramatic for x 1. As epsilon becomes small, the Helmholtz ODEs (18) start to resemble r ω n = r f n (r). Not surprisingly, the spectral operator r, supplemented with tau constraints, becomes ill-conditioned as the truncation M increases. One would similarly find numerical inaccuracies if r f n (r) was divided by r in point space as r. However, one can improve the situation by building regularity into the solution ω n (r). See Table 3. Consider the equations (18). Different strategies are employed for different Fourier modes, n.

10 D FLOW IN A DISK Fourier mode = 1. If n =1,set ω 1 (r) =rs 1 (r). This is valid since ω 1 (r) should decay like r near the origin. The equation now assumes the form [ r (rs 1 ) ɛ r d (rs 1 ) dr + r d(rs ] 1) rs 1 = r f 1, dr or, after cancellation of r, (3) [ ] rs 1 ɛ r d s 1 dr +3ds 1 = f 1. dr Truncating the spectral expansions, one obtains the linear system (31) Rx s 1 ɛ [ xd +3D ] s 1 = f R 1, where x = r R, 1 x 1. Finally, letting s 1 = P s 1 yields the system of equations (3) RxP s 1 ɛ [ xd P +3DP ] s 1 R = f 1, which is supplemented with a tau constraint arising from a boundary condition at x = 1. After solving for s 1, ω 1 is recovered through (33) ω 1 = RxP s 1. If ɛ is small, spurious modes present in s 1, due to the near inversion of xp, are almost eliminated upon multiplication by xp. 3.. Fourier mode. If n, set ω n (r) =r s n (r). This is valid since ω n (r) should decay as r n near the origin. Upon substituting this form of ω n (r) into (18) and cancelling r, one obtains [ ] (34) r s n ɛ r d s n dr Letting s n = P s n yields the linear system +5rds n dr +(4 n )s n =f n. (35) R x P s n ɛ [ x D P +5xDP +(4 n )P ] s n = f n. The expansion ω n is recovered via (36) ω n = R x P s n. If ɛ is small, spurious modes present in s n, due to the near inversion of x P, are almost eliminated upon multiplication by x P Fourier mode =. Fourier mode n = requires more care. While no immediate regularity can be built into ω (r), regularity can be built into the derivative of ω (r). Start by dividing (18) by r, (37) [ d ω ω ɛ dr + 1 r ] dω = f. dr

11 388 D. J. TORRES AND E. A. COUTSIAS Differentiating and multiplying by r, one forms an ODE in dω dr, r dω [ dr ɛ r d3 ω dr 3 + r d ω dr dω ] = r df dr dr. Now set dω (38) dr = rs. This assignment is valid since ω will have an expansion of the form ω = a + a r + a 4 r 4 +. Form (38) is dictated by the Neumann boundary conditions (63) on ω o. Substituting and simplifying, it follows that [ ] (39) rs ɛ r d s dr +3ds = df dr dr. This operator is the same operator used with Fourier mode, n =1, (4) RxP s ɛ R where s = P s. The term (41) and ω is recovered via dω dx [ xd P +3DP ] s = D f R, is recovered via dω dx = R xp s dω ω = B (4) dx by (68). The first component of ω can be determined using (37). Equation (37) can be written in the form [ ω ɛ r ds ] dr +s =f using (38). Now evaluate at r = R or x =1, (43) [ ] ds ω x=1 = f x=1 + ɛ dx +s. x= Conditioning. In this section, we discuss the conditioning of the matrices arising from the Helmholtz ODE (18) matrices using the substitutions (33), (36), and (41). All linear systems (3), (35), and (4) involve the solution of a banded system (44) A s = f for s, followed by multiplication by x l P,l=1,, (45) u=x l P s.

12 D FLOW IN A DISK 389 Table 4 Condition numbers using l norm, n =3or n =1, for ɛ =1 1 9 for varying Chebyshev truncations. A = x P ɛ[x D P +5xDP +(4 n )P ] with Dirichlet boundary condition, τ 1 x P Ã = x P ɛ[x D P + xdp n P ] with Dirichlet boundary condition, τ 1 P. Truncation A x P A 1 Ã Ã 1 8.8, , , , , , , , , , , , , , , , /alpha Reciprocal of alpha for sin(x*x*y) 1e+5 5 1e+4 5 1e+3 5 1e+ 5 1e+1 5 1e Fourier mode Fig. 1. Reciprocal of α, α = x P s n s, n, where s n n is generated by solving (35) with Dirichlet boundary conditions with right hand side corresponding to exact solution ω = sin(x y), 1 r 1 using 14 Chebyshev modes. Neglecting higher order errors, the effective condition number is u u 1 α xl P A 1 A ( ) δf +δa, where δf and δa represent the relative errors in f and A. Appendix B supplies the details. Table 4 shows the condition numbers of the relevant matrices for systems with and without regularity on 1 x 1, with Dirichlet boundary conditions for small ɛ. Values (for both the sine and cosine) of 1 α are graphed versus the Fourier mode in Figures 1 and for exact solutions, ω = sin(x y) and ω = e x+y+y. Compare the product of column of Table 4 with 1 α from Figures 1 and with column 3 of Table 4. Obviously we cannot generate α for all solutions, but for these exact solutions, one

13 39 D. J. TORRES AND E. A. COUTSIAS 1/alpha Reciprocal of alpha for exp(x+y+y*y) 5 1e+5 5 1e+4 5 1e+3 5 1e+ 5 1e Fourier mode Fig.. Reciprocal of α, α = x P s n s, n, where s n n is generated by solving (35) with Dirichlet boundary conditions with right hand side corresponding to exact solution ω = e x+y+y, 1 r 1 using 14 Chebyshev modes. has solved the Helmholtz equation with regularity, with condition numbers that are four orders of magnitude better for a Chebyshev truncation of 14 for the majority of Fourier modes. Tables and 3 show that we have improved the accuracy of other smooth solutions. The accuracy without regularity would suffer even more dramatically if an expansion interval of r 1 was used. The condition numbers in Table 4 do not seem to vary much between Fourier modes of the same parity since ɛ<<1. 4. Boundary conditions. Two sets of boundary conditions on ψ ((1) ()) n>,cause the Poisson equation to be overdetermined. In addition, no boundary conditions are imposed on the vorticity, ω. One can resolve this dilemma by transferring one set of boundary constraints on ψ onto ω. This scheme uses a matrix approach and differs from the no-slip boundary schemes used by Dennis and Quartapelle [8] and Coutsias and Lynov [5]. It is efficient in that only O(M) operations are required to compute the boundary constraint on ω n for each Fourier mode. Since the boundary constraints on ω n will not be Dirichlet constraints, the condition numbers shown in Table 4 will change. However, benefits of the partial regularity built into ω n should continue to improve the accuracy of solutions. Let τ 1 denote the row vector which evaluates a vector of expansion coefficients at x = 1 upon multiplication (i.e., τ 1 f = f(x) x=1 ). Let τ denote the row vector which evaluates the derivative of a Chebyshev expansion at x = 1 upon multiplication (i.e., τ f = f (x) x=1 ). For Chebyshev polynomials, (46) τ 1 =(1,1,1,...,1,1), τ =(,1,4,9,...,i,...,M ), if M + 1 is the length of the expansion. First consider Fourier modes, n>. When Poisson s equation is solved, we choose to enforce Dirichlet boundary conditions on ψ n. The Neumann conditions on ψ n will not be satisfied unless the right hand side ( ω n ) is forced to be orthogonal to a certain

14 D FLOW IN A DISK 391 vector (solvability constraint). These solvability constraints enter the solution process when they are inserted as tau constraints in the Helmholtz operator. One can generate these solvability constraints by replacing the last two rows of the operator (7) with Dirichlet tau conditions. Denote this M + 1 by M + 1 matrix by D,n, (47) D,n ψ n = x ω n, where x ω n now denotes a vector whose last two components hold the boundary values ψ n (r) r=1 and ψ n (r) r= 1. By (), these values are zero. Continuing, One must require that ψ n =( D,n) ( 1)( x ω n ). τ ψ n = τ ( D,n) ( 1) x ω n =. Defining the row vector b n τ ( D,n )( 1) to be the solvability constraint on x ω n, one has (48) bn x ω n =, n >, which must be satisfied for the no-slip condition to be enforced. Take the definition of b n and multiply on the right by D,n to obtain or τ = b n D,n (49) ( D,n) T b T n = τ T. Thus, one can generate the solvability constraints by driving the transpose of the Dirichlet Poisson operator with a Neumann tau vector. Multiply (49) on the left by (P ) T to generate a banded system ( D,nP ) T b T n =( τ P ) T for each Fourier mode n>. The bandwidth can again be reduced in half using the fact that b n will only act on vectors representing even functions for n even and vectors representing odd functions for n odd. By (33) and (36), one has ω 1 = RxP s 1, ω n = R x P s n, n. Since one actually solves for s n in equations (3) and (35), one must cast the solvability constraints so they act on s n. From (48) and the above equations, it is evident that (5) b1 x 3 P s 1 =, bn x 4 P s n =, n must be satisfied. Row vectors b 1 x 3 P and b n x 4 P are inserted as tau constraints in the matrices (3) and (35). Now consider Fourier mode, n =. By (1), dψ dr r=r = U should be enforced.

15 39 D. J. TORRES AND E. A. COUTSIAS Equation (16), n =,can be written in the form [ d r dψ ] (51) = rω. dr dr Integrating over the disk π R (5) πr dψ dr = r=r π R, one has ω rdrdθ = π R ωrdrdθ = C = πru. Recall that C is used to denote the circulation, C = u dl. By the first and r=r the last term in (5), it is evident that the boundary condition (1), n =,will be enforced automatically upon solving (16) for n =. However, since U = u (r=r,t=) is a constant, the circulation C(t) =πru must also be held constant, which in turn imposes a constraint on ω. The circulation is related to the zero Fourier mode of the vorticity by (5), dc dt =πν dω dr. r=r =.Hence, Since C must remain constant, dc dt dω (53) dr = 1 r=r R dω dx =. x=1 Forcing the Neumann boundary condition on ω (r) imposes a corresponding boundary condition on s dω. Enforcing dr = is equivalent to enforcing τ 1 1 dω R dx = r=r. By (41), one has (54) τ 1 xp s =. We choose not to enforce boundary constraints by splitting the solution into a homogenous and particular part since the bounded homogenous solutions of (18) are ω n = I n ( r ɛ ), where I n is the modified Bessel function of the first kind, and thus grows approximately like ɛ.5 (πr).5 exp( r ɛ ) to first order, which is extremely fast for ɛ 1. Additional boundary conditions at r = in both the Poisson and Helmholtz equations arise from the differential equations themselves and the fact that the functions ψ n and ω n and their derivatives are assumed bounded at r =. In the code, regularity boundary conditions are not enforced since the expansion interval ranges from [ R, R]. Regularity boundary conditions should be satisfied automatically if the ODEs are satisfied Projecting initial vorticity distribution. If no-slip boundary conditions are imposed, an arbitrary vorticity distribution may not satisfy the solvability constraints, (48) and (53). One could proceed without changing the initial vorticity. After the first iteration, the Helmholtz equation would be solved and the initial vorticity distribution would be modified to satisfy these solvability constraints. However, this approach could lead to a subsequent vorticity distribution significantly different from the intended initial distribution.

16 D FLOW IN A DISK 393 Another approach is to change the initial vorticity distribution prior to beginning the first iteration and thus exercise more control over how the initial distribution is to be modified. We choose to add sharp boundary layers to the initial distribution and thus leave the interior distribution intact. The code takes an initial vorticity distribution ω(r, θ), and decomposes it into its Fourier components (14). Each component of ω c n(r) and ω s n(r) is modified by adding a power of xin such a way that the solvability constraints are satisfied, Specifically, for n>, ω n (x) =ω n (x)+λ n x p. λ n = b n x ω n bn x x p. If n is even, p should be even. If n is odd, p should be odd. Typically, p is chosen to be a large number. Here x p is used to denote the vector of Chebyshev expansion coefficients for r R. For n =,λ is chosen to enforce (53) and is λ = τ ω c τ x p = p. 5. Conclusion. In the time integration, a Poisson equation (11) and a Helmholtz equation (1) are solved each time step. The stream function ψ and vorticity ω are expanded in a Fourier Chebyshev series, as shown by equations (13), (14), and (15). Due to the orthogonality of the sine and cosine functions, the D Poisson and Helmholtz equations can be decomposed into independent ordinary differential equations given by (16) for Poisson and (18) for Helmholtz. For Poisson, one solves the ODEs (16) numerically by solving the system of equations (9) with the boundary conditions ψ s n r=r = ψ c n r=r =.These are enforced by requiring (55) τ 1 ψ s n = τ 1 ψ c n =. Since the system of equations (9) operates on (ψ n) c and (ψ b s), the boundary constraints (55) are recast. By (8), (56) ( τ1 P ) (ψ s n) = ( τ 1 P ) (ψ c n) = must be enforced on (ψ n) c and (ψ n) s. One solves (9) with the boundary constraints (56), by replacing the last row of (9) with the boundary constraint (56). The resulting linear systems are banded with a bandwidth of 5. Using the fact that ψn and ωn will have an even expansion if n is even, and an odd expansion if n is odd, one can further reduce the bandwidth of the matrix to 3 (with the exception of the tau constraint) and cut the size of the matrix in half. For Helmholtz, one solves the ODEs (18) numerically by solving the systems of equations given by equations (3), (35), and (4) with the boundary constraints (5) and (54). The bandwidth of the matrices are reduced as with Poisson s equation. The

17 394 D. J. TORRES AND E. A. COUTSIAS T=. T=15. T=3. T=45. T=6. T=75. T=9. T=15. T=1. T=135. T=15. T=165. Fig. 3. Dipole collision with cylindrical wall. Eleven levels of vorticity ranging from red (.) to blue (.) are displayed. resulting systems have a bandwidth of 5 for (35) and 4 for (3) and (4), with the exception of the tau constraint. The vorticity is recovered using equations (33), (36), and (41), (4), and (43). These equations improve the solution of Helmholtz equation when ɛ 1. In computing the Jacobian, the differentiation of ψ and ω with respect to the radial coordinate can be eliminated through the use of the postconditioned method. Although the present version of the code does differentiate, the inaccuracies caused by differentiation in the Jacobian could be eliminated in a future version of

18 D FLOW IN A DISK Energy decay.7 Enstrophy Energy. Enstrophy Time Time 3e-5 Relative error in energy.3 Relative error in enstrophy.5e-5. e e-5 Relative error 1e-5 Relative error -.1 5e e e Time Time Fig. 4. Top: Evolution of energy and enstrophy for Figure 3. Bottom: Relative errors in de dt and dω for Figure 3, where the exact solution was calculated using right hand sides of (3) and (4) dt and the approximate solution was computed by using a leapfrog scheme after calculating E and Ω at t δt and t + δt. the code. Runs were performed in double precision. Due to the FFT-FCT and the efficient Poisson and Helmholtz solvers, O(NMlog(NM)) operations are required to advance the solution one time step, where N is the number of Fourier modes and M is the number of Chebyshev modes. We conclude with a simulation of a dipole colliding with a circular wall at Reynolds number ( 15). The simulation was run on 4 nodes of the 3 node SP situated at the Albuquerque High Performance Computing Center in Albuquerque, New Mexico. Figure 3 shows a filled-contour plot of vorticity calculated with our solution method. Red is positive vorticity and blue is negative vorticity. The radius of the disk is 1. Eleven levels of vorticity (ranging from. to.) are shown. The Reynolds number Re = RU ν is calculated by setting U to be the dipole velocity, and R to be the distance from the center of the dipole to the location where the vorticity decays to 1 % of its maximum value. The calculation was performed with a time step of , a viscosity of. 1 5, and a dealiased Chebyshev Fourier expansion under no-slip conditions. The initial maximum radial and tangential velocities are.169 and.169 respectively. The initial vorticity distribution is 1.5e ((x x1) +y ) 1.5e ((x x) +y ), modified by the projection scheme to fit the no-slip boundary conditions, where x 1 =.15, x =.15. The average tangential velocity at the wall, r =1,never exceeded 1 1 7, when sampled every 1 iterations. Thus the no-slip boundary conditions were enforced.

19 396 D. J. TORRES AND E. A. COUTSIAS The dipole collides with the wall and splits, each lobe generating vorticity of the opposite sign. Each lobe pairs up with the wall vorticity it induces and two new unsymmetric vortex dipoles form which rebound from the wall in curved trajectories. These subsequently collide with each other, exchanging partners to form two symmetric almost-dipoles. The smallest moves backwards along the original path, heading for the diametrically opposed point to the first collision. The larger repeats the collision process. Three separate collision events were seen, with the secondary dipoles showing complicated interactions of their own. The code is currently used in studies of turbulence, decaying or forced, in a circular geometry. Premilinary results were reported by Nielsen et al. [15]. Figure 4 shows the evolution of energy and enstrophy as well as relative errors in de dω dω dt and dt. The large variations in the relative error in dt suggest the use of a variable time step but also may be due to the use of a leapfrog scheme in the diagnostics. The collision events are best witnessed by the sequence of (decreasing) local maxima in the total enstrophy evolution plot. Appendix A. Efficient solution of ODEs. Consider the ODE (57) Lu(x) n i= p i (x) di u dx i = f(x). Expanding u(x) and f(x) in the orthogonal polynomial family of choice (58) u(x) M = u i Q i (x), f(x) M = f i Q i (x) i= and employing the residual condition of the spectral τ method yields the linear system (59) L u = i= n p i (A)D i u = f. i= Boundary conditions are inserted by replacing the last rows of the matrix L with row vectors. Let L denote this matrix. D is the differentiation matrix, defined by (6) D u = u, where d dx M M u i Q i (x) = u iq i (x), i= and A is the convolution matrix, defined by i= (61) A u = u x, where x M u i Q i (x) = i= M+1 i= u x i Q i (x). One could potentially solve L u = b. However, the number of operations is an expensive O(M ) and, moreover, the matrices in this form tend to be extremely illconditioned. However this matrix can be banded, independent of the truncation M, allowing one to solve the system in a total of O(M) operations. The method relies on two recurrence relations. It is well-known that all orthogonal polynomial families share a three-term recurrence (Abramowitz and Stegun [1]) and the three-term recurrence guarantees that A is tridiagonal.

20 D FLOW IN A DISK 397 In many important cases, including the classical orthogonal polynomials (i.e., Jacobi, Chebyshev, Legendre, Gegenbauer, Hermite, and Laguerre polynomials) there also holds a relation of the form, (6) 1 Q k+lb k+l,k = Q k, k =,1,..., l= 1 Coutsias et al. [7]. Let B =[b i,j ] be the tridiagonal coefficient matrix in (6) and define the vectors q x =(Q (x),q 1 (x),...,q M (x)), In matrix form, (6) can be written q x =(Q (x),q 1(x),...,Q M(x)). (63) q x B =(Q,Q 1,Q,...,Q M 1, ). Note that an unknown term, denoted by the, is lodged in the (M + 1)th column of (63). This is due to the fact that Q M (x) needs to be constructed from Q M 1 (x), Q M (x), and Q M+1 (x). In addition, the basic recursion (6) remains unchanged regardless of how the first row of B is defined since Q (x) = for polynomial families. Thus the very first row of B will always be set to zero. For Chebyshev polynomials, b i 1,i = 1 (i 1) and b i+1,i = 1 (i+1). One can solve the set of linear equations (59) in O(M) operations through the use of the operator B. Note that it is applicable to polynomial coefficient ODEs. This method is essentially a variation of the preconditioned approach presented in Coutsias et al. [7]. The main difference is that this implementation bands the system (59) by multiplication on the right (hence the term post-conditioned). In addition, solving the new banded system of equations is exactly equivalent to solving (59) with tau constraints, neglecting round-off error. A.1. Building the postconditioner for D. Assume f(x) is a sum of orthogonal polynomials (f(x) = q x f) whose degrees range from to M. Recall the two ways in which f (x) can be represented (64) f (x) = q x f= q x f, defining f to be D f = f. Note that the last element of f is zero since the highest degree present in the function f (x) ism 1. Since the last entry of the vector f is zero, one has (by multiplying (63) on the right by f ) (65) q x B f = q x f. Combining (64) with (65), one obtains (66) q x B f = q x f or (67) q x (B f f)=.

21 398 D. J. TORRES AND E. A. COUTSIAS Now q x is composed of orthogonal and therefore independent functions Q i (with the exception of Q = ). As a result, one has from (67) (68) B f = f + c, where c is a column vector of the form c T =(,,,,...,). The superscript T denotes the transpose. Hence B acts as an integration operator. The first column of all differentiation matrices is full of zeroes (since Q becomes upon differentiation). By multiplying (68) by D, one obtains (69) D f = DB f. Upon substituting f for D f, (69) assumes the form (7) f = DB f. Since f is any arbitrary vector, except for a zero in its last entry, (7) implies that (71) (DB) 1 = I 1 where I denotes the identity matrix and G <k> denotes any matrix with its last k columns set to zero. Define the following M +1 by M+1 matrices S 1 and S 1. S 1 is the M +1 Jordan block (i.e., a matrix whose superdiagonal is filled with ones), (7) (S 1 ) ij { 1, j = i+1, otherwise, while S 1 is a matrix whose subdiagonal is filled with ones, S 1 = S T 1. From (71) and the definition of S 1, one can verify that (73) DBS 1 = S 1. Recall that the first column of D is full of zeroes. Thus, the equation (73) will not be affected if the first row of BS 1 is modified. Substitute 1 in the (1,1) location of BS 1 and zero out any other nonzero entries present in the first row. Call this new matrix B 1. Thus, one can state (74) DB 1 = S 1, where the M +1byM+ 1 matrix 1 b 1, b 1,1 b 1, B 1 = b,1 b, b,3. b 3, b.. 3, Note that B 1 will be nonsingular as the b k,k 1 s are nonzero for the Jacobi, Hermite, and Laguerre polynomials by Coutsias et al. [7]. Thus one now has a nonsingular matrix (B 1) that transforms the upper triangular matrix D into the simple matrix S 1.

22 D FLOW IN A DISK 399 A.. Building the postconditioner for D. Now, this process is extended to higher powers of D. Start with D. One can show that S k 1S k 1 = I k. Multiplying DB 1 = S 1 by S 1 and using the equation S 1 S 1 = I 1, one obtains (75) DB 1S 1 = I 1. Multiplying (75) on the left by D, one obtains (76) D B 1S 1 = D 1. Multiplying (76) on the right by B 1 yields (via equation (74) and the fact that B 1 is upper triangular) (77) (D B 1S 1 B 1) 1 =(S 1 ) 1. Multiplying (77) by S 1 leads to (78) D B 1 (S 1 B 1S 1 )=S 1. Note that D will have its first two columns full of zeros. Since B 1 is upper triangular, D B 1 will also have its first two columns full of zeros. Thus (78) will not be affected if the first two rows of S 1 B 1S 1 are modified. Only the (1,1) element of S 1 B 1S 1 will actually be changed from to 1. Call the new M +1 by M+ 1 matrix B, 1 1 B b 1, b 1,1 b 1,. b,1 b..,, which is also a nonsingular upper triangular matrix. Thus (79) D B 1B = S 1. A.3. Building the postconditioner for D i. The process can now propagate itself through induction to higher powers of D. First define B j+1 to be the matrix (S j 1 B 1S j 1 ) with its (1, 1), (, ), (3, 3),..., (j, j) elements replaced by 1. Zeroes previously occupied these positions. More simply, B j+1 is B 1 shifted j units diagonally downward, leaving the first j columns and rows vacant. B j+1 fills the first j vacant diagonal entries with ones. In general, i (8) = S i 1. D i B j j=1 Right multiplication by S i 1 B 1S i 1 and left multiplication by D yields i (81) D i+1 B j S i 1 B S i 1 = S i+1 1. j=1

23 4 D. J. TORRES AND E. A. COUTSIAS Now D i+1 has i + 1 zero first columns. In addition B j, j i are all upper triangular matrices. Thus D i+1 ( i j=1 B j) will be a matrix with i + 1 zero first columns. Therefore, (81) will not be affected if (S i 1 B S i 1) is replaced by B i+1. Equation (81) can now be restated in the form i+1 (8) D i+1 B j = S i+1 1, j=1 where (83) 1... B j 1 b 1, b 1,1 b 1,. b,1 b, b, The row vector (,,,b 1,,b 1,1,b 1,,,...) is the (j + 1)th row of B j. Thus, by induction, a nonsingular banded matrix (which we will denote P i ) P i i j=1 has been constructed, which transforms D i into S i 1 for any i upon right multiplication. The entries b i,j are determined by the recurrence relation (6), the values of which are given in [7] for many classical orthogonal polynomials. P i is upper triangular with a bandwidth of i +1. A.4. P i bands lower powers of D. Note that P i also bands D j for j<i, since ( i j D j P i = D j B k = D j B k) i i (84) B k = S j 1 B k. k=1 k=1 B j k=j+1 k=j+1 All matrices in the right hand side of the last equality are banded. Thus D j P i is a banded matrix. A.5. Summary. Equation (59) represents the standard matrix that arises (with tau constraints in the last n rows) when the ODE (57) is solved using a spectral expansion. Begin by making the substitution (85) u = P n z, where P n is the nonsingular matrix (from the previous subsection) that reduces D n to the simple matrix S n 1 upon right multiplication. P n also bands all lower order powers of D i,i<nby (84). Equation (59) now assumes the form LP n z = b. Now LP n is a banded matrix (except for the tau conditions) for the following reasons:

24 D FLOW IN A DISK 41 (i) The 1 row to the M +1 nrow are essentially the first through M +1 n rows of the matrix ( i=n i= p i(a)d i )P n. The tau constraints are mapped into new row vectors in the last n rows. (ii) The matrices D i P n are all banded matrices. (iii) The matrices p i (A) are banded matrices since A is a banded matrix. After z has been solved, u is recovered via the banded multiplication u = P n z, which is another O(M) operation. Appendix B. Conditioning. This appendix supplies the details in deriving the condition numbers in section 3.4. Begin with equations (44) and (45). Consider the perturbed system, (86) and (A + A)( s + s )= f+ f (87) u + u =(x l + x l )(P + P )( s + s ). Using (44) and (86), and assuming A 1 A <1,one can show (88) s = A 1 f + ( 1) k (A 1 A) k A 1 ( f + f). k=1 Subtracting (45) from (87), and combining the result with (88), yields ( (89) u = x l P + x l P + x l P ) s + ( x l P + x l P + x l P + x l P ) A 1 f + (x l P + x l P + x l P + x l P ) ( 1) k (A 1 A) k A 1 ( f + f). Let Λ denote the third term in the sum on the right hand side. Using (44), one can write ( ) ( ) Λ=x l P A 1 ( 1) k ( AA 1 ) k 1 A s + A 1 f k=1 + ( ( ) x l P + x l P + x l P ) ( ) ( 1) k (A 1 A) k s + A 1 f. Taking norms one has k=1 k=1 ( Λ A s + A 1 f ) ( [ ]) x l P A 1 + A 1 x l P + x l P + x l P B, where B = 1 1 A A 1.

25 4 D. J. TORRES AND E. A. COUTSIAS Taking the norm of (89), dividing by s, and using the norm inequality from (44), 1 s A f, one can show after some algebra, u ( ) s xl P δp + δx + δxδp + where ( )( ) x l P A 1 A + C A x l P (δx + δp + δxδp) δf + B[1 + C A δf]δa, δa = A A, δp = P P and C A = A A 1. Now assume, δx = xl x l, δf = f f, (9) u = x l P s α, s where α is a positive constant. Using (9) generates (91) + 1 α u u 1 α xl P δ(xp ) ( )( ) x l P A 1 A + C A x l P δ(xp ) δf + B[1 + C A δf]δa where δ(xp )=(δx + δp + δxδp). Neglecting higher order errors and δx and δp, the effective condition number is u u 1 α xl P A 1 A ( ) δf +δa. Acknowlegements. We would like to acknowledge the use of the SP computer at the Albuquerque High Performance Computing Center. The authors would like to acknowledge helpful conversations with J. P. Lynov, J. P. Boyd, B. Fornberg, and T. Hagstrom. REFERENCES [1] M. Abramowitz and I.A. Stegun, Handbook of Mathematical Functions, Dover, New York, [] U. Ascher, S. Ruuth, and B. Wetton, Implicit-explicit methods for time-dependent partial differential equations, SIAM J. Numer. Anal., 3 (1995), pp [3] J. P. Boyd, Chebyshev & Fourier Spectral Methods, Springer-Verlag, Berlin, Heidelberg, [4] C. Canuto, M. Y. Hussaini, A. Quarteroni, and T. A. Zang, Spectral Methods in Fluid Dynamics, Springer-Verlag, New York, 1988.

26 D FLOW IN A DISK 43 [5] E. A. Coutsias and J. P. Lynov, Fundamental interactions of vortical structures with boundary layers in two-dimensional flows, Physica D, 51 (1991), pp [6] E. A. Coutsias, T. Hagstrom, and D. Torres, An efficient spectral method for ordinary differential equations with rational function coefficients, Math. Comp., 65 (1996), pp [7] E. A. Coutsias, T. Hagstrom, J. S. Hesthaven, and D. Torres, Integration preconditioners for differential operators in spectral τ-methods, in proceedings of the International Conference on Spectral and Higher Order Methods, R. Scott, ed., Houston, 1995; to appear in a special issue of Houston J. Math. [8] S. C. R. Dennis and L. Quartapelle, Direct solution of the vorticity-stream function ordinary differential equations by a Chebyshev approximation, J. Comput. Phys., 5 (1983), p [9] H. Eisen, W. Heinrichs, and K. Witsch, Spectral collocation methods and polar coordinate singularities, J. Comput. Phys., 96 (1991), pp [1] B. Fornberg, A pseudospectral approach for polar and spherical geometries, SIAM J. Sci. Comput., 16 (1995), pp [11] D. Gottlieb and S. Orszag, Numerical Analysis of Spectral Methods, SIAM, Philadelphia, PA, [1] W. Huang and D. Sloan, Pole condition for singular problems: The pseudospectral approximation, J. Comput. Phys., 17 (1993), pp [13] T. Matsushima and P. S. Marcus, A spectral method for polar coordinates, J. Comput. Phys., 1 (1995), pp [14] P. E. Merilees, An alternative scheme for the summation of a series of spherical harmonics, J. Appl. Meteor., 1 (1973), pp [15] A. H. Nielsen, D. Torres, and E. A. Coutsias, Decaying two-dimensional turbulence in bounded flows, in Proceedings of the International Congress on Plasma Physics and the 5th EPS Conference on Controlled Fusion and Plasma Physics, [16] S. A. Orszag, A. T. Patera, and R. Balasubramanian, Spectral Methods for Flows in Complex Geometries, Paper 83-9, American Institute of Aeronautics and Astronautics, Washington, D.C. [17] V. G. Priymak, Pseudospectral algorithms for Navier Stokes simulation of turbulent flows in cylindrical geometry with coordinate singularities, J. Comput. Phys., 118 (1995), pp [18] V. G. Priymak and T. Miyazaki, Accurate Navier Stokes investigation of transitional and turbulent flows in a circular pipe, J. Comput. Phys., 141 (1998), pp [19] J. Shen, Efficient spectral-galerkin methods III. Polar and cylindrical geometries, SIAM. J. Sci. Comput., 18 (1997), [] C. Temperton, Self-sorting mixed-radix fast Fourier transforms, J. Comput. Phys., 5 (1983), pp [1] D. Torres, Integration Operators in the Spectral τ-method with Navier Stokes Applications, Ph.D. thesis, University of New Mexico, Albuquerque, NM, [] W. T. Verkley, A Pseudo-spectral model for two-dimensional incompressible flow in a circular basin, I. Mathematical formulation, J. Comput. Phys., 136 (1997), pp [3] W. T. Verkley, A pseudo-spectral model for two-dimensional incompressible flow in a circular basin, II. Numerical examples, J. Comput. Phys., 136 (1997), pp

Helmholtz Institute for Supercomputational Physics (HISP) Fourth Helmholtz Summer School 2004 COMPUTATIONAL FLUID MECHANICS

Helmholtz Institute for Supercomputational Physics (HISP) Fourth Helmholtz Summer School 2004 COMPUTATIONAL FLUID MECHANICS Helmholtz Institute for Supercomputational Physics (HISP) Fourth Helmholtz Summer School 004 COMPUTATIONAL FLUID MECHANICS Laurette TUCKERMAN laurette@limsifr Recursion Relations and Influence Matrices

More information

c 2003 Society for Industrial and Applied Mathematics

c 2003 Society for Industrial and Applied Mathematics SIAM J. NUMER. ANAL. Vol. 41, No. 6, pp. 333 349 c 3 Society for Industrial and Applied Mathematics CONVERGENCE ANALYSIS OF SPECTRAL COLLOCATION METHODS FOR A SINGULAR DIFFERENTIAL EQUATION WEIZHANG HUANG,

More information

PART IV Spectral Methods

PART IV Spectral Methods PART IV Spectral Methods Additional References: R. Peyret, Spectral methods for incompressible viscous flow, Springer (2002), B. Mercier, An introduction to the numerical analysis of spectral methods,

More information

A FAST SOLVER FOR ELLIPTIC EQUATIONS WITH HARMONIC COEFFICIENT APPROXIMATIONS

A FAST SOLVER FOR ELLIPTIC EQUATIONS WITH HARMONIC COEFFICIENT APPROXIMATIONS Proceedings of ALGORITMY 2005 pp. 222 229 A FAST SOLVER FOR ELLIPTIC EQUATIONS WITH HARMONIC COEFFICIENT APPROXIMATIONS ELENA BRAVERMAN, MOSHE ISRAELI, AND ALEXANDER SHERMAN Abstract. Based on a fast subtractional

More information

Least-Squares Spectral Collocation with the Overlapping Schwarz Method for the Incompressible Navier Stokes Equations

Least-Squares Spectral Collocation with the Overlapping Schwarz Method for the Incompressible Navier Stokes Equations Least-Squares Spectral Collocation with the Overlapping Schwarz Method for the Incompressible Navier Stokes Equations by Wilhelm Heinrichs Universität Duisburg Essen, Ingenieurmathematik Universitätsstr.

More information

A Simple Compact Fourth-Order Poisson Solver on Polar Geometry

A Simple Compact Fourth-Order Poisson Solver on Polar Geometry Journal of Computational Physics 182, 337 345 (2002) doi:10.1006/jcph.2002.7172 A Simple Compact Fourth-Order Poisson Solver on Polar Geometry Ming-Chih Lai Department of Applied Mathematics, National

More information

An Accurate Fourier-Spectral Solver for Variable Coefficient Elliptic Equations

An Accurate Fourier-Spectral Solver for Variable Coefficient Elliptic Equations An Accurate Fourier-Spectral Solver for Variable Coefficient Elliptic Equations Moshe Israeli Computer Science Department, Technion-Israel Institute of Technology, Technion city, Haifa 32000, ISRAEL Alexander

More information

A new class of highly accurate differentiation schemes based on the prolate spheroidal wave functions

A new class of highly accurate differentiation schemes based on the prolate spheroidal wave functions We introduce a new class of numerical differentiation schemes constructed for the efficient solution of time-dependent PDEs that arise in wave phenomena. The schemes are constructed via the prolate spheroidal

More information

A fast and well-conditioned spectral method: The US method

A fast and well-conditioned spectral method: The US method A fast and well-conditioned spectral method: The US method Alex Townsend University of Oxford Leslie Fox Prize, 24th of June 23 Partially based on: S. Olver & T., A fast and well-conditioned spectral method,

More information

Fast Structured Spectral Methods

Fast Structured Spectral Methods Spectral methods HSS structures Fast algorithms Conclusion Fast Structured Spectral Methods Yingwei Wang Department of Mathematics, Purdue University Joint work with Prof Jie Shen and Prof Jianlin Xia

More information

DIRECT NUMERICAL SIMULATION IN A LID-DRIVEN CAVITY AT HIGH REYNOLDS NUMBER

DIRECT NUMERICAL SIMULATION IN A LID-DRIVEN CAVITY AT HIGH REYNOLDS NUMBER Conference on Turbulence and Interactions TI26, May 29 - June 2, 26, Porquerolles, France DIRECT NUMERICAL SIMULATION IN A LID-DRIVEN CAVITY AT HIGH REYNOLDS NUMBER E. Leriche, Laboratoire d Ingénierie

More information

Spectral method for the unsteady incompressible Navier Stokes equations in gauge formulation

Spectral method for the unsteady incompressible Navier Stokes equations in gauge formulation Report no. 04/09 Spectral method for the unsteady incompressible Navier Stokes equations in gauge formulation T. W. Tee I. J. Sobey A spectral method which uses a gauge method, as opposed to a projection

More information

A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning

A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning Int. J. Contemp. Math. Sciences, Vol. 2, 2007, no. 22, 1097-1106 A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning M. T. Darvishi a,, S.

More information

Math 302 Outcome Statements Winter 2013

Math 302 Outcome Statements Winter 2013 Math 302 Outcome Statements Winter 2013 1 Rectangular Space Coordinates; Vectors in the Three-Dimensional Space (a) Cartesian coordinates of a point (b) sphere (c) symmetry about a point, a line, and a

More information

Computational Methods. Systems of Linear Equations

Computational Methods. Systems of Linear Equations Computational Methods Systems of Linear Equations Manfred Huber 2010 1 Systems of Equations Often a system model contains multiple variables (parameters) and contains multiple equations Multiple equations

More information

Energy dissipating structures generated by dipole-wall collisions at high Reynolds number

Energy dissipating structures generated by dipole-wall collisions at high Reynolds number Energy dissipating structures generated by dipole-wall collisions at high Reynolds number Duncan Sutherland 1 Charlie Macaskill 1 David Dritschel 2 1. School of Mathematics and Statistics University of

More information

Simple Examples on Rectangular Domains

Simple Examples on Rectangular Domains 84 Chapter 5 Simple Examples on Rectangular Domains In this chapter we consider simple elliptic boundary value problems in rectangular domains in R 2 or R 3 ; our prototype example is the Poisson equation

More information

Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction

Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction Problem Jörg-M. Sautter Mathematisches Institut, Universität Düsseldorf, Germany, sautter@am.uni-duesseldorf.de

More information

Numerical methods for the Navier- Stokes equations

Numerical methods for the Navier- Stokes equations Numerical methods for the Navier- Stokes equations Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Dec 6, 2012 Note:

More information

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids Fluid dynamics Math background Physics Simulation Related phenomena Frontiers in graphics Rigid fluids Fields Domain Ω R2 Scalar field f :Ω R Vector field f : Ω R2 Types of derivatives Derivatives measure

More information

Week 2 Notes, Math 865, Tanveer

Week 2 Notes, Math 865, Tanveer Week 2 Notes, Math 865, Tanveer 1. Incompressible constant density equations in different forms Recall we derived the Navier-Stokes equation for incompressible constant density, i.e. homogeneous flows:

More information

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim.

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim. 56 Summary High order FD Finite-order finite differences: Points per Wavelength: Number of passes: D n f(x j ) = f j+n f j n n x df xj = m α m dx n D n f j j n= α m n = ( ) n (m!) (m n)!(m + n)!. PPW =

More information

d 1 µ 2 Θ = 0. (4.1) consider first the case of m = 0 where there is no azimuthal dependence on the angle φ.

d 1 µ 2 Θ = 0. (4.1) consider first the case of m = 0 where there is no azimuthal dependence on the angle φ. 4 Legendre Functions In order to investigate the solutions of Legendre s differential equation d ( µ ) dθ ] ] + l(l + ) m dµ dµ µ Θ = 0. (4.) consider first the case of m = 0 where there is no azimuthal

More information

Nonlinear Evolution of a Vortex Ring

Nonlinear Evolution of a Vortex Ring Nonlinear Evolution of a Vortex Ring Yuji Hattori Kyushu Institute of Technology, JAPAN Yasuhide Fukumoto Kyushu University, JAPAN EUROMECH Colloquium 491 Vortex dynamics from quantum to geophysical scales

More information

Rational Chebyshev pseudospectral method for long-short wave equations

Rational Chebyshev pseudospectral method for long-short wave equations Journal of Physics: Conference Series PAPER OPE ACCESS Rational Chebyshev pseudospectral method for long-short wave equations To cite this article: Zeting Liu and Shujuan Lv 07 J. Phys.: Conf. Ser. 84

More information

The Turbulent Rotational Phase Separator

The Turbulent Rotational Phase Separator The Turbulent Rotational Phase Separator J.G.M. Kuerten and B.P.M. van Esch Dept. of Mechanical Engineering, Technische Universiteit Eindhoven, The Netherlands j.g.m.kuerten@tue.nl Summary. The Rotational

More information

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION 7.1 THE NAVIER-STOKES EQUATIONS Under the assumption of a Newtonian stress-rate-of-strain constitutive equation and a linear, thermally conductive medium,

More information

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel LECTURE NOTES on ELEMENTARY NUMERICAL METHODS Eusebius Doedel TABLE OF CONTENTS Vector and Matrix Norms 1 Banach Lemma 20 The Numerical Solution of Linear Systems 25 Gauss Elimination 25 Operation Count

More information

Numerical Methods I Solving Square Linear Systems: GEM and LU factorization

Numerical Methods I Solving Square Linear Systems: GEM and LU factorization Numerical Methods I Solving Square Linear Systems: GEM and LU factorization Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fall 2014 September 18th,

More information

Appendix C: Recapitulation of Numerical schemes

Appendix C: Recapitulation of Numerical schemes Appendix C: Recapitulation of Numerical schemes August 31, 2009) SUMMARY: Certain numerical schemes of general use are regrouped here in order to facilitate implementations of simple models C1 The tridiagonal

More information

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C. Lecture 9 Approximations of Laplace s Equation, Finite Element Method Mathématiques appliquées (MATH54-1) B. Dewals, C. Geuzaine V1.2 23/11/218 1 Learning objectives of this lecture Apply the finite difference

More information

Chapter 4 No. 4.0 Answer True or False to the following. Give reasons for your answers.

Chapter 4 No. 4.0 Answer True or False to the following. Give reasons for your answers. MATH 434/534 Theoretical Assignment 3 Solution Chapter 4 No 40 Answer True or False to the following Give reasons for your answers If a backward stable algorithm is applied to a computational problem,

More information

Evolution equations with spectral methods: the case of the wave equation

Evolution equations with spectral methods: the case of the wave equation Evolution equations with spectral methods: the case of the wave equation Jerome.Novak@obspm.fr Laboratoire de l Univers et de ses Théories (LUTH) CNRS / Observatoire de Paris, France in collaboration with

More information

NUMERICAL SIMULATION OF THE FLOW AROUND A SQUARE CYLINDER USING THE VORTEX METHOD

NUMERICAL SIMULATION OF THE FLOW AROUND A SQUARE CYLINDER USING THE VORTEX METHOD NUMERICAL SIMULATION OF THE FLOW AROUND A SQUARE CYLINDER USING THE VORTEX METHOD V. G. Guedes a, G. C. R. Bodstein b, and M. H. Hirata c a Centro de Pesquisas de Energia Elétrica Departamento de Tecnologias

More information

arxiv: v1 [math.na] 4 Nov 2015

arxiv: v1 [math.na] 4 Nov 2015 ON WELL-CONDITIONED SPECTRAL COLLOCATION AND SPECTRAL METHODS BY THE INTEGRAL REFORMULATION KUI DU arxiv:529v [mathna 4 Nov 25 Abstract Well-conditioned spectral collocation and spectral methods have recently

More information

Recurrence Relations and Fast Algorithms

Recurrence Relations and Fast Algorithms Recurrence Relations and Fast Algorithms Mark Tygert Research Report YALEU/DCS/RR-343 December 29, 2005 Abstract We construct fast algorithms for decomposing into and reconstructing from linear combinations

More information

Lecture 18 Classical Iterative Methods

Lecture 18 Classical Iterative Methods Lecture 18 Classical Iterative Methods MIT 18.335J / 6.337J Introduction to Numerical Methods Per-Olof Persson November 14, 2006 1 Iterative Methods for Linear Systems Direct methods for solving Ax = b,

More information

COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE

COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE BENGT FORNBERG and DAVID MERRILL Abstract. For modeling convective flows over a sphere or within a spherical

More information

Evaluation of Chebyshev pseudospectral methods for third order differential equations

Evaluation of Chebyshev pseudospectral methods for third order differential equations Numerical Algorithms 16 (1997) 255 281 255 Evaluation of Chebyshev pseudospectral methods for third order differential equations Rosemary Renaut a and Yi Su b a Department of Mathematics, Arizona State

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

Navier-Stokes equations

Navier-Stokes equations 1 Navier-Stokes equations Introduction to spectral methods for the CSC Lunchbytes Seminar Series. Incompressible, hydrodynamic turbulence is described completely by the Navier-Stokes equations where t

More information

Fast Direct Solver for Poisson Equation in a 2D Elliptical Domain

Fast Direct Solver for Poisson Equation in a 2D Elliptical Domain Fast Direct Solver for Poisson Equation in a 2D Elliptical Domain Ming-Chih Lai Department of Applied Mathematics National Chiao Tung University 1001, Ta Hsueh Road, Hsinchu 30050 Taiwan Received 14 October

More information

Physics 342 Lecture 23. Radial Separation. Lecture 23. Physics 342 Quantum Mechanics I

Physics 342 Lecture 23. Radial Separation. Lecture 23. Physics 342 Quantum Mechanics I Physics 342 Lecture 23 Radial Separation Lecture 23 Physics 342 Quantum Mechanics I Friday, March 26th, 2010 We begin our spherical solutions with the simplest possible case zero potential. Aside from

More information

A Legendre Computational Matrix Method for Solving High-Order Fractional Differential Equations

A Legendre Computational Matrix Method for Solving High-Order Fractional Differential Equations Mathematics A Legendre Computational Matrix Method for Solving High-Order Fractional Differential Equations Mohamed Meabed KHADER * and Ahmed Saied HENDY Department of Mathematics, Faculty of Science,

More information

Lecture 3: The Navier-Stokes Equations: Topological aspects

Lecture 3: The Navier-Stokes Equations: Topological aspects Lecture 3: The Navier-Stokes Equations: Topological aspects September 9, 2015 1 Goal Topology is the branch of math wich studies shape-changing objects; objects which can transform one into another without

More information

The need for de-aliasing in a Chebyshev pseudo-spectral method

The need for de-aliasing in a Chebyshev pseudo-spectral method The need for de-aliasing in a Chebyshev pseudo-spectral method Markus Uhlmann Potsdam Institut für Klimafolgenforschung, D-442 Potsdam uhlmann@pik-potsdam.de (March 2) Abstract In the present report, we

More information

A High-Order Galerkin Solver for the Poisson Problem on the Surface of the Cubed Sphere

A High-Order Galerkin Solver for the Poisson Problem on the Surface of the Cubed Sphere A High-Order Galerkin Solver for the Poisson Problem on the Surface of the Cubed Sphere Michael Levy University of Colorado at Boulder Department of Applied Mathematics August 10, 2007 Outline 1 Background

More information

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 7

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 7 Numerical Fluid Mechanics Fall 2011 Lecture 7 REVIEW of Lecture 6 Material covered in class: Differential forms of conservation laws Material Derivative (substantial/total derivative) Conservation of Mass

More information

An introduction to Birkhoff normal form

An introduction to Birkhoff normal form An introduction to Birkhoff normal form Dario Bambusi Dipartimento di Matematica, Universitá di Milano via Saldini 50, 0133 Milano (Italy) 19.11.14 1 Introduction The aim of this note is to present an

More information

Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations

Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations Semi-implicit Krylov Deferred Correction Methods for Ordinary Differential Equations Sunyoung Bu University of North Carolina Department of Mathematics CB # 325, Chapel Hill USA agatha@email.unc.edu Jingfang

More information

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems Index A-conjugate directions, 83 A-stability, 171 A( )-stability, 171 absolute error, 243 absolute stability, 149 for systems of equations, 154 absorbing boundary conditions, 228 Adams Bashforth methods,

More information

Moving interface problems. for elliptic systems. John Strain Mathematics Department UC Berkeley June 2010

Moving interface problems. for elliptic systems. John Strain Mathematics Department UC Berkeley June 2010 Moving interface problems for elliptic systems John Strain Mathematics Department UC Berkeley June 2010 1 ALGORITHMS Implicit semi-lagrangian contouring moves interfaces with arbitrary topology subject

More information

http://www.springer.com/3-540-30725-7 Erratum Spectral Methods Fundamentals in Single Domains C. Canuto M.Y. Hussaini A. Quarteroni T.A. Zang Springer-Verlag Berlin Heidelberg 2006 Due to a technical error

More information

Stochastic Spectral Approaches to Bayesian Inference

Stochastic Spectral Approaches to Bayesian Inference Stochastic Spectral Approaches to Bayesian Inference Prof. Nathan L. Gibson Department of Mathematics Applied Mathematics and Computation Seminar March 4, 2011 Prof. Gibson (OSU) Spectral Approaches to

More information

Section 5.2 Series Solution Near Ordinary Point

Section 5.2 Series Solution Near Ordinary Point DE Section 5.2 Series Solution Near Ordinary Point Page 1 of 5 Section 5.2 Series Solution Near Ordinary Point We are interested in second order homogeneous linear differential equations with variable

More information

Fourth Order Convergence of Compact Finite Difference Solver for 2D Incompressible Flow

Fourth Order Convergence of Compact Finite Difference Solver for 2D Incompressible Flow Fourth Order Convergence of Compact Finite Difference Solver for D Incompressible Flow Cheng Wang 1 Institute for Scientific Computing and Applied Mathematics and Department of Mathematics, Indiana University,

More information

Post-processing of solutions of incompressible Navier Stokes equations on rotating spheres

Post-processing of solutions of incompressible Navier Stokes equations on rotating spheres ANZIAM J. 50 (CTAC2008) pp.c90 C106, 2008 C90 Post-processing of solutions of incompressible Navier Stokes equations on rotating spheres M. Ganesh 1 Q. T. Le Gia 2 (Received 14 August 2008; revised 03

More information

Advanced Computational Fluid Dynamics AA215A Lecture 2 Approximation Theory. Antony Jameson

Advanced Computational Fluid Dynamics AA215A Lecture 2 Approximation Theory. Antony Jameson Advanced Computational Fluid Dynamics AA5A Lecture Approximation Theory Antony Jameson Winter Quarter, 6, Stanford, CA Last revised on January 7, 6 Contents Approximation Theory. Least Squares Approximation

More information

Final Report: DE-FG02-95ER25239 Spectral Representations of Uncertainty: Algorithms and Applications

Final Report: DE-FG02-95ER25239 Spectral Representations of Uncertainty: Algorithms and Applications Final Report: DE-FG02-95ER25239 Spectral Representations of Uncertainty: Algorithms and Applications PI: George Em Karniadakis Division of Applied Mathematics, Brown University April 25, 2005 1 Objectives

More information

1462. Jacobi pseudo-spectral Galerkin method for second kind Volterra integro-differential equations with a weakly singular kernel

1462. Jacobi pseudo-spectral Galerkin method for second kind Volterra integro-differential equations with a weakly singular kernel 1462. Jacobi pseudo-spectral Galerkin method for second kind Volterra integro-differential equations with a weakly singular kernel Xiaoyong Zhang 1, Junlin Li 2 1 Shanghai Maritime University, Shanghai,

More information

Kadath: a spectral solver and its application to black hole spacetimes

Kadath: a spectral solver and its application to black hole spacetimes Kadath: a spectral solver and its application to black hole spacetimes Philippe Grandclément Laboratoire de l Univers et de ses Théories (LUTH) CNRS / Observatoire de Paris F-92195 Meudon, France philippe.grandclement@obspm.fr

More information

Scientific Computing

Scientific Computing Scientific Computing Direct solution methods Martin van Gijzen Delft University of Technology October 3, 2018 1 Program October 3 Matrix norms LU decomposition Basic algorithm Cost Stability Pivoting Pivoting

More information

RATIONAL CHEBYSHEV COLLOCATION METHOD FOR SOLVING NONLINEAR ORDINARY DIFFERENTIAL EQUATIONS OF LANE-EMDEN TYPE

RATIONAL CHEBYSHEV COLLOCATION METHOD FOR SOLVING NONLINEAR ORDINARY DIFFERENTIAL EQUATIONS OF LANE-EMDEN TYPE INTERNATIONAL JOURNAL OF INFORMATON AND SYSTEMS SCIENCES Volume 6, Number 1, Pages 72 83 c 2010 Institute for Scientific Computing and Information RATIONAL CHEBYSHEV COLLOCATION METHOD FOR SOLVING NONLINEAR

More information

PSEUDO-COMPRESSIBILITY METHODS FOR THE UNSTEADY INCOMPRESSIBLE NAVIER-STOKES EQUATIONS

PSEUDO-COMPRESSIBILITY METHODS FOR THE UNSTEADY INCOMPRESSIBLE NAVIER-STOKES EQUATIONS PSEUDO-COMPRESSIBILITY METHODS FOR THE UNSTEADY INCOMPRESSIBLE NAVIER-STOKES EQUATIONS Jie Shen Department of Mathematics, Penn State University University Par, PA 1680, USA Abstract. We present in this

More information

Improved near-wall accuracy for solutions of the Helmholtz equation using the boundary element method

Improved near-wall accuracy for solutions of the Helmholtz equation using the boundary element method Center for Turbulence Research Annual Research Briefs 2006 313 Improved near-wall accuracy for solutions of the Helmholtz equation using the boundary element method By Y. Khalighi AND D. J. Bodony 1. Motivation

More information

Performance Evaluation of Generalized Polynomial Chaos

Performance Evaluation of Generalized Polynomial Chaos Performance Evaluation of Generalized Polynomial Chaos Dongbin Xiu, Didier Lucor, C.-H. Su, and George Em Karniadakis 1 Division of Applied Mathematics, Brown University, Providence, RI 02912, USA, gk@dam.brown.edu

More information

ADI iterations for. general elliptic problems. John Strain Mathematics Department UC Berkeley July 2013

ADI iterations for. general elliptic problems. John Strain Mathematics Department UC Berkeley July 2013 ADI iterations for general elliptic problems John Strain Mathematics Department UC Berkeley July 2013 1 OVERVIEW Classical alternating direction implicit (ADI) iteration Essentially optimal in simple domains

More information

Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments

Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments Implicitly Defined High-Order Operator Splittings for Parabolic and Hyperbolic Variable-Coefficient PDE Using Modified Moments James V. Lambers September 24, 2008 Abstract This paper presents a reformulation

More information

A Comparison between Solving Two Dimensional Integral Equations by the Traditional Collocation Method and Radial Basis Functions

A Comparison between Solving Two Dimensional Integral Equations by the Traditional Collocation Method and Radial Basis Functions Applied Mathematical Sciences, Vol. 5, 2011, no. 23, 1145-1152 A Comparison between Solving Two Dimensional Integral Equations by the Traditional Collocation Method and Radial Basis Functions Z. Avazzadeh

More information

Lab 1: Iterative Methods for Solving Linear Systems

Lab 1: Iterative Methods for Solving Linear Systems Lab 1: Iterative Methods for Solving Linear Systems January 22, 2017 Introduction Many real world applications require the solution to very large and sparse linear systems where direct methods such as

More information

A finite difference Poisson solver for irregular geometries

A finite difference Poisson solver for irregular geometries ANZIAM J. 45 (E) ppc713 C728, 2004 C713 A finite difference Poisson solver for irregular geometries Z. Jomaa C. Macaskill (Received 8 August 2003, revised 21 January 2004) Abstract The motivation for this

More information

Fourier Spectral Computing for PDEs on the Sphere

Fourier Spectral Computing for PDEs on the Sphere Fourier Spectral Computing for PDEs on the Sphere an FFT-based method with implicit-explicit timestepping a simple & efficient approach Dave Muraki, Andrea Blazenko & Kevin Mitchell Mathematics, Simon

More information

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems

Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 1 of 45 Lecture Notes 6: Dynamic Equations Part C: Linear Difference Equation Systems Peter J. Hammond latest revision 2017 September

More information

Spherical Coordinates and Legendre Functions

Spherical Coordinates and Legendre Functions Spherical Coordinates and Legendre Functions Spherical coordinates Let s adopt the notation for spherical coordinates that is standard in physics: φ = longitude or azimuth, θ = colatitude ( π 2 latitude)

More information

2 ICOSAHOM 95 In Sec. 3, the solution of this problem via the integral solvability constraint method by Coutsias and Lynov [9] is briey discussed, and

2 ICOSAHOM 95 In Sec. 3, the solution of this problem via the integral solvability constraint method by Coutsias and Lynov [9] is briey discussed, and An accurate and ecient spectral tau method for the incompressible Navier-Stokes equations in a planar channel E.A. Coutsias J.S. Hesthaven y J.P. Lynov z Abstract We present a spectral tau method for the

More information

Kasetsart University Workshop. Multigrid methods: An introduction

Kasetsart University Workshop. Multigrid methods: An introduction Kasetsart University Workshop Multigrid methods: An introduction Dr. Anand Pardhanani Mathematics Department Earlham College Richmond, Indiana USA pardhan@earlham.edu A copy of these slides is available

More information

AMS 209, Fall 2015 Final Project Type A Numerical Linear Algebra: Gaussian Elimination with Pivoting for Solving Linear Systems

AMS 209, Fall 2015 Final Project Type A Numerical Linear Algebra: Gaussian Elimination with Pivoting for Solving Linear Systems AMS 209, Fall 205 Final Project Type A Numerical Linear Algebra: Gaussian Elimination with Pivoting for Solving Linear Systems. Overview We are interested in solving a well-defined linear system given

More information

Integration preconditioners for dierential operators in spectral -methods. 1 Introduction. The classical orthogonal polynomial bases most commonly

Integration preconditioners for dierential operators in spectral -methods. 1 Introduction. The classical orthogonal polynomial bases most commonly Integration preconditioners for dierential operators in spectral -methods E A Coutsias T Hagstrom y J S Hesthaven z D Torres x Abstract We present simple, banded preconditioners that transform linear ordinary

More information

Open boundary conditions in numerical simulations of unsteady incompressible flow

Open boundary conditions in numerical simulations of unsteady incompressible flow Open boundary conditions in numerical simulations of unsteady incompressible flow M. P. Kirkpatrick S. W. Armfield Abstract In numerical simulations of unsteady incompressible flow, mass conservation can

More information

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2 Index advection equation, 29 in three dimensions, 446 advection-diffusion equation, 31 aluminum, 200 angle between two vectors, 58 area integral, 439 automatic step control, 119 back substitution, 604

More information

Special Functions of Mathematical Physics

Special Functions of Mathematical Physics Arnold F. Nikiforov Vasilii B. Uvarov Special Functions of Mathematical Physics A Unified Introduction with Applications Translated from the Russian by Ralph P. Boas 1988 Birkhäuser Basel Boston Table

More information

AN ALGORITHM FOR COMPUTING FUNDAMENTAL SOLUTIONS OF DIFFERENCE OPERATORS

AN ALGORITHM FOR COMPUTING FUNDAMENTAL SOLUTIONS OF DIFFERENCE OPERATORS AN ALGORITHM FOR COMPUTING FUNDAMENTAL SOLUTIONS OF DIFFERENCE OPERATORS HENRIK BRANDÉN, AND PER SUNDQVIST Abstract We propose an FFT-based algorithm for computing fundamental solutions of difference operators

More information

An example of the Rvachev function method

An example of the Rvachev function method arxiv:1603.00320v1 [physics.flu-dyn] 1 Mar 2016 An example of the Rvachev function method Alexander V. Proskurin Altai State University, Altai State Technical University, k210@list.ru Anatoly M. Sagalakov

More information

Stability and Convergence Analysis of Fully Discrete Fourier Collocation Spectral Method for 3-D Viscous Burgers Equation

Stability and Convergence Analysis of Fully Discrete Fourier Collocation Spectral Method for 3-D Viscous Burgers Equation J Sci Comput (01) 53:10 18 DOI 10.1007/s10915-01-961-8 Stability and Convergence Analysis of Fully Discrete Fourier Collocation Spectral Method for 3-D Viscous Burgers Equation Sigal Gottlieb Cheng Wang

More information

K. BLACK To avoid these diculties, Boyd has proposed a method that proceeds by mapping a semi-innite interval to a nite interval [2]. The method is co

K. BLACK To avoid these diculties, Boyd has proposed a method that proceeds by mapping a semi-innite interval to a nite interval [2]. The method is co Journal of Mathematical Systems, Estimation, and Control Vol. 8, No. 2, 1998, pp. 1{2 c 1998 Birkhauser-Boston Spectral Element Approximations and Innite Domains Kelly Black Abstract A spectral-element

More information

Domain Decomposition Preconditioners for Spectral Nédélec Elements in Two and Three Dimensions

Domain Decomposition Preconditioners for Spectral Nédélec Elements in Two and Three Dimensions Domain Decomposition Preconditioners for Spectral Nédélec Elements in Two and Three Dimensions Bernhard Hientzsch Courant Institute of Mathematical Sciences, New York University, 51 Mercer Street, New

More information

Overlapping Schwarz preconditioners for Fekete spectral elements

Overlapping Schwarz preconditioners for Fekete spectral elements Overlapping Schwarz preconditioners for Fekete spectral elements R. Pasquetti 1, L. F. Pavarino 2, F. Rapetti 1, and E. Zampieri 2 1 Laboratoire J.-A. Dieudonné, CNRS & Université de Nice et Sophia-Antipolis,

More information

Introduction to Finite Element Method

Introduction to Finite Element Method Introduction to Finite Element Method Dr. Rakesh K Kapania Aerospace and Ocean Engineering Department Virginia Polytechnic Institute and State University, Blacksburg, VA AOE 524, Vehicle Structures Summer,

More information

12.1 Viscous potential flow (VPF)

12.1 Viscous potential flow (VPF) 1 Energy equation for irrotational theories of gas-liquid flow:: viscous potential flow (VPF), viscous potential flow with pressure correction (VCVPF), dissipation method (DM) 1.1 Viscous potential flow

More information

Physics 6303 Lecture 15 October 10, Reminder of general solution in 3-dimensional cylindrical coordinates. sinh. sin

Physics 6303 Lecture 15 October 10, Reminder of general solution in 3-dimensional cylindrical coordinates. sinh. sin Physics 6303 Lecture 15 October 10, 2018 LAST TIME: Spherical harmonics and Bessel functions Reminder of general solution in 3-dimensional cylindrical coordinates,, sin sinh cos cosh, sin sin cos cos,

More information

Numerical Experiments for Finding Roots of the Polynomials in Chebyshev Basis

Numerical Experiments for Finding Roots of the Polynomials in Chebyshev Basis Available at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 12, Issue 2 (December 2017), pp. 988 1001 Applications and Applied Mathematics: An International Journal (AAM) Numerical Experiments

More information

Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS

Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS 5.1 Introduction When a physical system depends on more than one variable a general

More information

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs Chapter Two: Numerical Methods for Elliptic PDEs Finite Difference Methods for Elliptic PDEs.. Finite difference scheme. We consider a simple example u := subject to Dirichlet boundary conditions ( ) u

More information

PDEs, part 1: Introduction and elliptic PDEs

PDEs, part 1: Introduction and elliptic PDEs PDEs, part 1: Introduction and elliptic PDEs Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2013 Partial di erential equations The solution depends on several variables,

More information

The Convergence of Mimetic Discretization

The Convergence of Mimetic Discretization The Convergence of Mimetic Discretization for Rough Grids James M. Hyman Los Alamos National Laboratory T-7, MS-B84 Los Alamos NM 87545 and Stanly Steinberg Department of Mathematics and Statistics University

More information

Numerical Methods for Inverse Kinematics

Numerical Methods for Inverse Kinematics Numerical Methods for Inverse Kinematics Niels Joubert, UC Berkeley, CS184 2008-11-25 Inverse Kinematics is used to pose models by specifying endpoints of segments rather than individual joint angles.

More information

MATH 590: Meshfree Methods

MATH 590: Meshfree Methods MATH 590: Meshfree Methods Chapter 34: Improving the Condition Number of the Interpolation Matrix Greg Fasshauer Department of Applied Mathematics Illinois Institute of Technology Fall 2010 fasshauer@iit.edu

More information

1e N

1e N Spectral schemes on triangular elements by Wilhelm Heinrichs and Birgit I. Loch Abstract The Poisson problem with homogeneous Dirichlet boundary conditions is considered on a triangle. The mapping between

More information

Solution of Parabolic Partial Differential Equations

Solution of Parabolic Partial Differential Equations Solution of Parabolic Partial Differential Equations in Complex Geometries by a Modified Fourier Collocation Method Knut S. Eckhoff* Carl Erik Wasberg* Abstract The heat equation with Dirichlet boundary

More information

NUMERICAL EVALUATION OF A SYMMETRIC POTENTIAL FUNCTION

NUMERICAL EVALUATION OF A SYMMETRIC POTENTIAL FUNCTION MATHEMATICS OF COMPUTATION Volume 67, Number 222, April 1998, Pages 641 646 S 25-5718(98)948-X NUMERICAL EVALUATION OF A SYMMETRIC POTENTIAL FUNCTION LORI A. CARMACK Abstract. We discuss the numerical

More information