scieee AI-readable full text Open interactive document viewer

Simulation of the acoustic wave propagation using a meshless method

Bajko, Jaroslav; Niedoba, Pavel; Čermák, Libor; Jícha, Miroslav

Abstract

This paper presents numerical simulations of the acoustic wave propagation phenomenon modelled via Linearized Euler equations. A meshless method based on collocation of the strong form of the equation system is adopted. Moreover, the Weighted least squares method is used for local approximation of derivatives as well as stabilization technique in a form of spatial fltering. The accuracy and robustness of the method is examined on several benchmark problems.

Full text

Simulation of the acoustic wave propagation using a meshless method J. Bajko1a,P. Niedoba1,L.ˇ Cerm´ak1,andM. J´ıcha1 1Energy Institute, Department of Thermodynamics and Environmental Engineering, Brno University of Technology, Technick´a 2896/2, 616 69 Brno, Czech Republic Abstract. This paper presents numerical simulations of the acoustic wave propagation phenomenon modelled via Linearized Euler equations. A meshless method based on collocation of the strong form of the equation system is adopted. Moreover, the Weighted least squares method is used for local approximation of derivatives as well as stabilization technique in a form of spatial filtering. The accuracy and robustness of the method is examined on several benchmark problems. 1 Introduction Numerical study of sound generation and propagation phenomenon plays a major role in Computational Aeroacoustics (CAA), especially in predictions of sound generated by turbulent flows and its environmental consequences. This paper is aiming to contribute to the development of suitable methods for sound propagation simulations governed by the Linearized Euler equations (LEE), cf. [1,2]. Various numerical mesh-based methods, cf. [3,4], have been investigated in this context, but there is also growing interest in meshless methods, cf. [5–11], due to their potential advantages. Depending on applications, these methods can be superior in accuracy, stability, robustness and can deal with complex geometries, multiphase flow, problems with free boundaries and moving objects. In this paper, the development of a meshless method adjusted for linear systems is outlined. Firstly, LEE as a linear hyperbolic system is introduced, followed by the Weighted Least SQuares (WLSQ) method which is employed in two ways - for local interpolation of acoustic variables and for spatial filtering, cf. [12,13]. The WLSQ filtration technique serves primarily for the stabilization of the numerical scheme and can be utilized under the assumption that the governing equations are linear and the solution is smooth enough. Finally, abilities of the method are demonstrated on various benchmark problems for the acoustic wave propagation, cf. [14–16]. The method is tested on unstructured point distributions and several types of boundary conditions (BC) are implemented, namely the nonreflecting BC realized by the Perfectly Matched Layer (PML), cf. [17–19]. aPresent address: ba[email protected] 2 Linearized Euler equations The hyperbolic non-homogeneous LEE represent one of the suitable models for the acoustic wave propagation phenomenon. We consider the 2D matrix form (x=(x, y)∈Ω, t > 0) written as ∂w ∂t +A1(w0)∂w ∂x +A2(w0)∂w ∂y =S,(1) where w(x,t)=⎛ ⎜ ⎜ ⎝ ρ(x,t) u(x,t) v(x,t) p(x,t) ⎞ ⎟ ⎟ ⎠ ,w0(x)=⎛ ⎜ ⎜ ⎝ ρ0(x) u0(x) v0(x) p0(x) ⎞ ⎟ ⎟ ⎠ ,(2) Vector function w(x,t) denotes the time dependent acoustic variables (density, velocity components and pressure) and w0(x) steady mean flow variables corresponding to the underlying flow field. Jacobian matrices of the system (1) are given as A1=⎛ ⎜ ⎜ ⎝ u0ρ000 0u001 ρ0 00u00 0γp00u0 ⎞ ⎟ ⎟ ⎠ ,A2=⎛ ⎜ ⎜ ⎝ v00ρ00 0v000 00v01 ρ0 00γp0v0 ⎞ ⎟ ⎟ ⎠ ,(3) where γ=1.4 is the ratio of specific heats and S= S(x,t) represents the acoustic source term, cf. [1,2]. The initial–value boundary problem for LEE then consists of the equation system (1) with the initial and boundary condition (IC) w(x,0) = w in(x),x∈Ω, (4) (BC) w(x,t)=w Γ(x,t),x∈Γ=∂Ω, t > 0.(5) DOI: 10.1051/ ,02003 (2017) 714302003 143 EPJ Web of Conferences epjconf/201 EFM 2016 © The Authors, published by EDP Sciences. This is an open access article distributed under the terms of the Creative Commons Attribution License 4.0 (http://creativecommons.org/licenses/by/4.0/). 3 Meshless method with WLSQ filtering In the context of meshless methods we distiguish between the global cloud ˆ Ωdefined as a set of npoints discretizing a domain of interest Ωand local clouds ˆ Ωi,i=1,...,nthat are calculated in the pre-processing step of the simulation. An i-th local cloud usually consists of a set of nineighbours chosen by a certain rule. Practically, efficient algorithms for nearest neighbor search such as the k-d tree are used. Therefore, the number of points niis controlled by the radius of an open ball or it can be prescribed manually. 3.1 Weighted Least Squares Method For every local cloud ˆ Ωiwe wish to find a local approximation ˆw:Ωi→Rin the form ˆw(x)= m  l=1 αlpl(x)=pT(x)α(6) where pT(x)=(p1(x),p 2(x),...,p m(x)) (7) and α=(α1,α 2,...,α m)T∈Rm.(8) Functions pl:Rd→R,l=1,...,m, form a basis Bof an approximation space F= span(B). The complete (multivariate) polynomial basis of degree ν, cf. [5,10] is adopted in this work. For d= 2 and ν= 3, the basis B=1,x,y,x 2,xy,y2,x 3,x 2y,xy2,y3.(9) 3.2 WLSQ approximation It is well known that WLSQ method finds the coefficients αin (6) by minimizing the objective function J(α)withweights J(α)=(Pα−w)TΦ(Pα−w),(10) where Pdenotes the moment matrix of type (ni×m), Φthe diagonal weight matrix of order niand wthe vector of given function values. The weighting function φ:Rd→Rprescribes the contribution of every point to J(α) in the local cloud according the distance to the star point xi 1, cf. [10]. Solution to the system of normal equations PTΦPα=PTΦw.(11) then yields α=PTΦP−1PTΦw(12) assumming the invertibility of the above mentioned matrix. We suppose that the number of points niin ˆ Ωiis greater than the number of basis functions m, i.e. ni>mholds. 3.3 WLSQ interpolation By adding the interpolation constraint ˆw(xi 1)=w1,(13) to the Normal equations (11), the value w1is reproduced at the star point xiexactly. This modification can be gently implemented and allows to use the WLSQ method for multiple purposes, namely the spatial discretization of the governing equations (interpolation) as well as numerical filtering (approximation). 3.4 Spatial discretization of LEE In order to obtain the semi–discrete form of governing equations (1), the collocation method is adopted, i.e. the expression ∂ˆ w ∂t +A1 ∂ˆ w ∂x +A2 ∂ˆ w ∂y −Sx=xi = 0 (14) has to be satisfied. Acoustic variables ˆ wiare locally approximated using WLSQ method with interpolation condition described in section (3.1). The collocation then leads to a system of ordinary differential equations (ODE) in form dwi(t) dt=RHSi(t)+S(xi,t) (15) where RHSi(t) contains contributions to the righthand side from all neighbours of the star point xi,cf. [7,10,11]. The interpolation condition in the WLSQ approach allows to simplify the left side of the equation system (15) avoiding the necessity to solve the system of nlinear equations. Therefore, using WLSQ with interpolation condition greatly reduces the computation costs and improves stability, cf. [10,11]. The system of ODE (15) is then solved with high order lowdissipation and low-dispersion runge-kutta scheme optimized for wave propagation problems, cf. [20]. 3.5 Numerical filtering The numerical scheme (15) can be viewed as a generalized finite differences scheme based on central differences which is not stable in general, cf. [8,9]. For linear problems, e.g. the acoustic wave propagation described by LEE, the stabilization can be gently achieved in the context of WLSQ method used as a filter. In general, filters based on least squares minimization are known as Savitzky–Golay filters, cf. [12,13]. It is not only the stability, but also robustness and accuracy of the meshless method is then affected by the WLSQ filter. DOI: 10.1051/ ,02003 (2017) 714302003 143 EPJ Web of Conferences epjconf/201 EFM 2016 2 The i-th local cloud ˆ Ωiis utilized for filtering after every time step in a way that wi(t)≈w(xi,t)is replaced by the filtered value wi(t)=pT(xi)α(16) at the star point xi. 3.6 Boundary conditions Firstly, solid–wall slip BC is prescribed at points where the acoustic waves should be reflected. The acoustic velocity vector v=(u,v) at the boundary point x∈Γis forced to stay orthogonal to the normal vector n=(nx,n y), i.e. v·n=0.(17) Secondly, non–reflecting BC is prescribed at domain boundaries, where waves should leave the computational domain without any reflection. It can be achieved artificially by designing a layer of points around the domain of interest that will affect the solution in such a way that the major spectrum of incoming waves will dissipate. The PML is implemented in our numerical experiments, cf. [17–19]. 4 Numerical experiments 4.1 2D Wall-reflected acoustic pulse problem This benchmark problem is designed to verify the implementation of the wall boundary condition and the accuracy and stability of a numerical method when a reflection of an acoustic wave from the solid wall occur. Let us consider a 2D domain Ω=(−100,100) × 0,150) that is depicted in Fig. 1 together with an initial pulse located at (xp,y p)=(0,25). The wall boundary condition is prescribed at line y=0.We suppose the underlying medium at rest, which implies that the mean flow velocity equals zero and therefore the Mach number M= 0 and for w0it holds ρ0=1,u 0=v0=0,p 0=ρ0 γ=5 7.(18) The Initial-value boundary problem consists of the equation system (1) with the source term S=0,above mentioned boundary conditions and initialized by the initial condition w(x, y, 0) given as follows w in(x, y)=εexp(−κr2 p)(1,0,0,1)T,(19) where the radius rp=(x−xp)2+(y−yp)2and κ=(ln2)/b2. The amplitude and the half–width of the acoustic initial pulse are determined by ε= 1 and b= 5, respectively. x y 2 00 150 25 Fig. 1. Rectangular domain Ω, wall (solid line) and external boundary (dashed line). 4.1.1 Numerical solution Results of the acoustic wave simulation in terms of the acoustic pressure contours are plotted ase a series of Fig. (2–5) at particular times T=10,25,50,75. The time integration was performed with time step dt =0.025 that corresponds to the unstructured point distribution with n= 36006 number of points.                       Fig. 2. Ac. pressure p(x, y, T) contours at time T=10. The comparison of the acoustic pressure p(x, y, T ) along the line x= 0 and analytical solution at time T= 75 is shown in Fig. 6. 4.2 2D Convected acoustic monopole The domain of interest for the following benchmark problem is simple square Ω=(−100,100)2extended by the PML Ωe, cf. Fig. 7. Furthemore, stretching of points towards outlet boundaries and artificial dissipation is applied in order to suppress all incoming waves and eliminate spurious reflections. DOI: 10.1051/ ,02003 (2017) 714302003 143 EPJ Web of Conferences epjconf/201 EFM 2016 3                       Fig. 3. Ac. pressure p(x, y, T ) contours at time T= 25.                       Fig. 4. Ac. pressure p(x, y, T ) contours at time T= 50.                       Fig. 5. Ac. pressure p(x, y, T ) contours at time T= 75.            Fig. 6. Ac. pressure p(x, y, T) along the line x=0. x y Ωe M0=0.5 1 00 100 50 50 Fig. 7. Square domain Ω,PMLlayerΩe(shaded region) and external boundary (dashed line). We will consider subsonic underlying mean flow in x-direction with Mach number M0=0.5aswellas supersonic flow with M0=1.5. In this example, the acoustic source term on the right-hand side of the system (1) is the periodic perturbation of acoustic density and pressure at the origin xs=ys= 0 which is given as S(x,t)=e−α((x−xs)2+(y−ys)2)sin(ωt)(1,0,0,1)T (20) where α=ln(2)/2, amplitude ε=0.5 and angular frequency ω=2π/30. The temporal computation was performed with time step dt =0.1, number of points n= 50181 irregularly distributed and stretched in the PML. Contours of the acoustic pressure p(x, y, T)attimeT= 270 for the subsonic case are shown in Fig. 8 and for the supersonic case in Fig. 9. Waves moving in the PML layer clearly dissipate and there are no spurious waves returning to the domain of interest. DOI: 10.1051/ ,02003 (2017) 714302003 143 EPJ Web of Conferences epjconf/201 EFM 2016 4                      Fig. 8. Subsonic flow - acoustic pressure p(x, y, T )contours at time T= 270.                        Fig. 9. Supersonic flow - detail of the acoustic pressure p(x, y, T ) contours at time T=270. 4.3 2D Acoustic monopole in a sheared mean flow Prescribing the velocity components in (18) in form u0(x, y)=umax tanh(2y/δ),v 0= 0 (21) we get the non-constant underlying flow known as sheared mean flow, cf. [1,15]. In this example, the peak velocity is taken as umax =0.5 and the shear layer thickness δ= 150. The convection velocity profile is depicted in Fig. 10. Instantaneous acoustic pressure contours at time T= 270 are plotted in Fig. 11. 5 Discussion Linearity of governing equations (LEE) and therefore the absense of shock waves and strong disturbances                   Fig. 10. Velocity profile u0(x, y)                   Fig. 11. Acoustic pressure p(x, y, T) at time T= 270. in the solution allowed to develop a new stabilization technique in a meshless framework. Instead of the upwind approximation of derivatives widely used, e.g. in Finite volume methods, the stability of the meshless method was achieved by the WLSQ filtering of the numerical solution after each time step. The method was tested on acoustic benchmark problems, such as the 2D wall bounded acoustic pulse problem and the acoustic monopole in a free stream and sheared mean flow. In order to suppress waves leaving the domain, the non-reflecting boundary condition in form of the PML was sucessfully utilized, cf. Fig. 8. To conclude, the method proved its ability to solve the wave propagation problems governed by LEE in various settings and is prepared for further applications. Acknowledgement Authors greatly acknowledge support from the project No. GA 13-27505S funded by the Czech Grant Agency. DOI: 10.1051/ ,02003 (2017) 714302003 143 EPJ Web of Conferences epjconf/201 EFM 2016 5 References 1. Ch. Bailly, D. Juv´e, AIAA 38 (2000). 2. W.D. Roeck, Hybrid Methodologies for the computational Aeroacoustic Analysis of Confined, Subsonic Flows, Katholieke Universiteit Leuven (2007). 3. Ch.K.W. Tam, J.C. Webb, J. Comput. Phys. 107 262–281 (1993). 4. X. Nogueira, S. Khelladi, I. Colominas, L. Cueto- Felgueroso, J. Par´ıs, H. G´omez, Arch. Comput. Meth. Eng. 18 315–340 (2011). 5. G.R. Liu, Y.T. Gu, An Introduction to Meshfree Methods and Their Programming (2005). 6. G.E. Fasshauer, Meshfree Approximation Methods with Matlab,6, ISBN: 978-981-270-634-8, (2007). 7. J. Bajko, L. ˇ Cerm´ak, M. J´ıcha, Comput. Meth. Appl. Mech. Eng. 280 157–175 (2014). 8. A.J. Katz, A. Jameson, AIAA 699 2008. 9. A.J. Katz: Meshless methods for computational fluid dynamics, Stanford University (2009). 10. E. Ortega, E. O˜nate, S. Idelsohn, Int. J. Numer. Meth. Fluids 60 937–971 (2009). 11. R. L¨ohner, C. Sacco, E. O˜nate, S. Idelsohn, Int. J. Numer. Meth. Eng. 53, 1765–1779 (2002). 12. A. Savitzky, M. J. E. Golay, Anal. Chem. 36(8) 1627–1639 (1964). 13. P.A. Gorry, Anal. Chem. 62(6) 570–573 (1990). 14. Ch. K. W. Tam, Benchmark Problems and Solutions, 1-13 (1995). 15. R. Ewert, W. Schr¨oder, J. Comput. Phys. 188(2) 365–398 (2003). 16. K. Li, Q.B. Huang, J.L. Wanga, L.G. Lin, Eng. Anal. Boundary Elem. 35 47–55 (2011). 17. T. Colonius, Annu. Rev. Fluid Mech. 36 315–45 (2004). 18. F. Q. Hu, J. Comput. Phys. 175 455–480 (2001). 19. F. Q. Hu, J. Comput. Phys. 208, 469–492 (2005). 20. F.Q. Hu, M.Y. Hussainy, J.L. Manthey, J. Comput. Phys. 124 177-191 (1996). DOI: 10.1051/ ,02003 (2017) 714302003 143 EPJ Web of Conferences epjconf/201 EFM 2016 6