A spectral collocation method to solve Helmholtz problems with boundary conditions involving mixed tangential and normal derivatives

https://doi.org/10.1016/j.jcp.2004.03.004Get rights and content

Abstract

The performing spectral method, developed by Haldenwang et al. [J. Comput. Phys. 55 (1984) 115], to solve multi-dimensional Helmholtz equations, associated to mixed boundary conditions with constant coefficients, is extended to boundary conditions mixing a first order normal derivative with a second order tangential derivative. The accuracy of the proposed algorithm is evaluated on two test cases for which analytical solutions exist: an academic problem and a physical configuration including an interface with shear viscosity. The procedure is also applied to the research of the Rayleigh–Bénard instability thresholds in closed cavities with thin diffusive walls.

Introduction

The Navier–Stokes and energy equations associated with boundary conditions mixing a normal derivative to a second order tangential derivative are encountered in many physical systems such as fluids confined within walls of arbitrary thermal conductivity [5] or in flows involving an interface with shear viscosity [10]. This type of condition arises whenever a boundary is subjected to a coupling between flux and intrinsic interfacial dissipation of some physical quantity.

Conservation equations are often transformed into Helmholtz problems which can be solved using a direct Chebyshev collocation method as developed by Dang-Vu and Delcarte [8]. This method leads to the resolution of quasi-tridiagonal systems. Though avoiding any iterative algorithm, and offering a very accurate solution, this procedure is slower than the one proposed by Haidvogel and Zang [4] in the case of time dependent problems for which a Helmholtz equation has to be solved at each time step. Haldenwang et al. [6] have proposed a performing 3D spectral solver for the Helmholtz equation in case of Dirichlet, Neumann or Robin (mixed) boundary conditions with constant coefficients. This method, based on successive diagonalisations of the second order derivatives of the Helmholtz operator, allows to reduce efficiently the computing time and is relevant to time dependent problems. In this paper, we propose an extension of this method to boundary conditions mixing a normal derivative to a second order tangential derivative.

The general formulation of the method is presented in Section 2, the corresponding algorithm is detailed in Section 3, and validated in Section 4 through comparisons with analytical solutions of mathematical and physical configurations. Results of the literature on the thermal stability of a fluid contained in a rectangular enclosure heated from below are reproduced and extended. The CPU cost of the proposed algorithm is estimated on this time dependent problem. Section 5 presents the conclusions.

Section snippets

Description of the problem and method of solution

We consider the 2D Helmholtz problem in Cartesian coordinates2ux2+2uz2−au=f,x,z,∈[−1,1],a>0,where u and f are, respectively, the solution and a source term, x and z being the horizontal and vertical directions. The following boundary conditions are imposed:u∈Ωα2uz2ux(z)atx=±1(a)αu=γ(x)atz=±1(b).α, α and β are constant (Fig. 1).

For clarity's sake, the method is developed in case of Dirichlet conditions along one set of parallel boundaries with γ depending on the

The discrete problem

We use a Chebyshev collocation spectral method on a Gauss–Lobatto grid [2], [3]. The collocation points along ex and ez are given byxi=−cosiπNx,i∈{0,…,Nx},zj=−cosjπNz,j∈{0,…,Nz}.The discrete Helmholtz problem readsNxk=0(Dx2)ikukj+∑Nzl=0(Dz2)jluil−auij=fij,i∈{0,…,Nx}andj∈{0,…,Nz},associated with the set of boundary conditions:u∈ΩαNzl=0(Dz2)jlu|0NxlNxk=0(Dx)|0Nxkukj(j)forj∈{0,…,Nz}(a)αui|0Nz(i)fori∈{0,…,Nx}(b)with γ(j)=γ(zj) and γ(i)=γ(xi). Dzx denotes the first

An analytical test case

The algorithm is now applied to the Helmholtz problem , where the source, f, and the coefficients, α, β, γ(z), α, β, γ(x), are given byf=−(2π2+a)(sin(πx)sin(πz)+cos(πx)cos(πz))−aC,α=−12,β=±1,γ(z)=−π22cos(πz)∓πsin(πz),α=1,γ(x)=−cos(πx)+C.Of course, the chosen coefficients insure the compatibility of the boundary conditions in the corners of the domain. The analytical solution is the trigonometric function of x and z:u=sin(πx)sin(πz)+cos(πx)cos(πz)+C.This function does not

Conclusion

We have extended the successive diagonalisation technique solving the Helmholtz problem with homogeneous Robin boundary conditions to the case of boundary conditions mixing a second order tangential derivative with a first order normal derivative. The algorithm does not increase the computation time but requires more memory storage. The spectral accuracy is preserved. The application of the procedure to the determination of the transition thresholds between the conductive and convective regimes

Acknowledgements

The authors thank the CRI (Centre de Ressources Informatiques de l'Université d'Orsay) for the use of its computing facilities and the support they received.

References (13)

There are more references available in the full text version of this article.

Cited by (16)

  • Jacobi-Gauss-Lobatto collocation method for solving nonlinear reaction-diffusion equations subject to Dirichlet boundary conditions

    2016, Applied Mathematical Modelling
    Citation Excerpt :

    The processes of diffusion and reaction play an essential role in the dynamics of many systems, e.g., in plasma [2], or semiconductor physics [3]. Spectral methods (see, e.g., [4,5] and the references therein) are techniques used in applied mathematics and scientific computing to numerically solve both linear and nonlinear differential equations. The Galerkin, tau and collocation methods are three well-known types of spectral methods.

  • On the regularity of some thermocapillary convection models

    2008, European Journal of Mechanics, B/Fluids
View all citing articles on Scopus
View full text