Audio acoustic modeling using full-wave methods

Similar documents
Timo Lähivaara, Tomi Huttunen, Simo-Pekka Simonaho University of Kuopio, Department of Physics P.O.Box 1627, FI-70211, Finland

Modeling the Acoustic Scattering from Axially Symmetric Fluid, Elastic, and Poroelastic Objects due to Nonsymmetric Forcing Using COMSOL Multiphysics

Continued Fraction Absorbing Boundary Conditions for Transient Elastic Wave Propagation Modeling

High Frequency Wave Scattering

Modeling of Pinna Related Transfer Functions (PRTF) using the Finite Element Method (FEM)

ACCURACY OF NUMERICAL SOLUTION OF HEAT DIFFUSION EQUATION

3D Finite Difference Time-Domain Modeling of Acoustic Wave Propagation based on Domain Decomposition

Advanced Image Reconstruction Methods for Photoacoustic Tomography

The ultra weak variational formulation for 3D elastic wave problems

Abaqus Technology Brief. Sound Radiation Analysis of Automobile Engine Covers

arxiv: v1 [math.na] 26 Jun 2014

Fictitious Domain Methods and Topology Optimization

Von Neumann Analysis for Higher Order Methods

SIMULATION OF AN IMPLANTED PIFA FOR A CARDIAC PACEMAKER WITH EFIELD FDTD AND HYBRID FDTD-FEM

Acoustic Field Comparison of High Intensity Focused Ultrasound by using Experimental Characterization and Finite Element Simulation

Spherical Microphone Arrays

Modeling of Pinna Related Transfer Functions (PRTF) Using the Finite Element Method (FEM)

The Nagumo Equation with Comsol Multiphysics

Virtual Acoustic Prototyping for Loudspeaker Horn Development

Finite Element Modeling and Multiphysics Simulation of Air Coupled Ultrasonic with Time Domain Analysis

Visualizing diffraction of a loudspeaker enclosure

Tu P13 08 A MATLAB Package for Frequency Domain Modeling of Elastic Waves

A Well-posed PML Absorbing Boundary Condition For 2D Acoustic Wave Equation

NOISE PROPAGATION FROM VIBRATING STRUCTURES

A Level Set-Based Topology Optimization Method For Three-Dimensional Acoustic Problems Using Fast Multipole Boundary Element Method

Attenuation Analysis and Acoustic Pressure Levels for Combined Absorptive Mufflers

HFSS Hybrid Finite Element and Integral Equation Solver for Large Scale Electromagnetic Design and Simulation

NUMERICAL SIMULATION OF IRREGULAR SURFACE ACOUSTIC WAVE EQUATION BASED ON ORTHOGONAL BODY-FITTED GRIDS

NUMERICAL MODELING OF ACOUSTIC WAVES IN 2D-FREQUENCY DOMAINS

We N Converted-phase Seismic Imaging - Amplitudebalancing Source-independent Imaging Conditions

A Graphical User Interface (GUI) for Two-Dimensional Electromagnetic Scattering Problems

Simulation of Photo-Sensitive Devices with FDTD Method. Copyright 2008 Crosslight Software Inc.

A-posteriori Diffusion Analysis of Numerical Schemes in Wavenumber Domain

Modelling of scattering of sound from trees by the PSTD method

CHAPTER 4 RAY COMPUTATION. 4.1 Normal Computation

Chapter 6. Petrov-Galerkin Formulations for Advection Diffusion Equation

GPU Ultrasound Simulation and Volume Reconstruction

An Example Eddy Currents

Journal of Theoretical and Applied Mechanics, Sofia, 2015, vol. 45, No. 2, pp

Time domain construction of acoustic scattering by elastic targets through finite element analysis

Multicomponent land data pre-processing for FWI: a benchmark dataset

Verification and Validation for Seismic Wave Propagation Problems

AN ANALYTICAL APPROACH TREATING THREE-DIMENSIONAL GEOMETRICAL EFFECTS OF PARABOLIC TROUGH COLLECTORS

COMSOL BASED 2-D FEM MODEL FOR ULTRASONIC GUIDED WAVE PROPAGATION IN SYMMETRICALLY DELAMINATED UNIDIRECTIONAL MULTI- LAYERED COMPOSITE STRUCTURE

Three dimensional modeling using ponderomotive guiding center solver

ULTRASONIC WAVE PROPAGATION THROUGH NOZZLES AND PIPES WITH

Absorbing boundary domain for CSEM 3D modelling

Nonoscillatory Central Schemes on Unstructured Triangulations for Hyperbolic Systems of Conservation Laws

Wallace Hall Academy

Abstract. Die Geometry. Introduction. Mesh Partitioning Technique for Coextrusion Simulation

Index. C m (Ω), 141 L 2 (Ω) space, 143 p-th order, 17

Example 13 - Shock Tube

Fiber Optic Communication Systems. Unit-03: Properties of Light.

Nonoscillatory Central Schemes on Unstructured Triangular Grids for Hyperbolic Systems of Conservation Laws

3D efficiency of some road barrier crownings using a 2D½ BEM

Computation of Three-Dimensional Electromagnetic Fields for an Augmented Reality Environment

Acoustic Source Location in Vehicle Cabins and Free-field with Nearfield Acoustical Holography via Acoustic Arrays.

Proceedings of Meetings on Acoustics

THE concept of using a lossy material to absorb an

DYNAMIC ANALYSIS OF A GENERATOR ON AN ELASTIC FOUNDATION

A Diagonal Split-cell Model for the High-order Symplectic FDTD Scheme

SUPPLEMENTARY INFORMATION

Design of Electromagnetic Test Sites

This document is downloaded from the Digital Open Access Repository of VTT. VTT P.O. box 1000 FI VTT Finland

Optimization to Reduce Automobile Cabin Noise

Determining The Surface Tension Of Water Via Light Scattering

Introduction to HRTFs

European Hyperworks Technology Conference 2010 Mesh and orientation dependance of FE models for dynamic simulations.

2.5D Forward Solver To Model Scattering Of Long Dielectric Cylinders In An Active Millimeter Wave Imaging System

Finite Element Analysis on Sound Wave Propagation into Human Head

ESTIMATION OF SURFACE MOBILITY OF AN INFINITE PLATE FOR A S UARE CONTACT AREA WITH UNIFORM FORCE ATION BY THE FINITE ELEMENT METHOD

Comparisons of Compressible and Incompressible Solvers: Flat Plate Boundary Layer and NACA airfoils

Contents Contents Creating a Simulation Example: A Dipole Antenna AMDS User s Guide

Kevin J. Barker. Scott Pakin and Darren J. Kerbyson

Implementation of PML in the Depth-oriented Extended Forward Modeling

Excerpt from the Proceedings of the COMSOL Conference 2010 Paris

Computation of a scattered acoustic field, given an incident

Good Practice guide to measure roundness on roller machines and to estimate their uncertainty

Scale model measurements of the acoustic performance of vented and absorptive road covers

Wavefield Analysis of Rayleigh Waves for Near-Surface Shear-Wave Velocity. Chong Zeng

Fluid-Structure Interaction Modeling of High-Aspect Ratio Nuclear Fuel Plates using COMSOL

Room Acoustics. CMSC 828D / Spring 2006 Lecture 20

A fast direct solver for high frequency scattering from a cavity in two dimensions

ACTIVE NOISE CONTROL APPLIED TO BUILDINGS COMPONENTS

Influence of mesh density on a finite element model under dynamic loading Sébastien ROTH

Loudspeaker Complex Directional Response Characterization

ARCHAEOLOGICAL 3D MAPPING USING A LOW-COST POSITIONING SYSTEM BASED ON ACOUSTIC WAVES

Numerical Analysis of Shock Tube Problem by using TVD and ACM Schemes

Large-scale Ultrasound Simulations Using the Hybrid OpenMP/MPI Decomposition

Computer Project 3. AA Computational Fluid Dyanmics University of Washington. Mishaal Aleem March 17, 2015

Modeling & Simulation of Supersonic Flow Using McCormack s Technique

On the Resolution Necessary to Capture Dynamics of Unsteady Detonation

Bengt Johansson Vibraphon, Gärdesvägen 10, Vaxholm, Sweden,

Comparison Between Scattering Coefficients Determined By Specimen Rotation And By Directivity Correlation

Comparison of radiosity and ray-tracing methods for coupled rooms

Simulation of NDT Inspection in 3D Elastic Waveguide Involving Arbitrary Defect

TWO-DIMENSIONAL FEM MODELING OF SEISMIC WAVE PROPAGATION IN COAL SEAM. By Hongliang Wang

High-Order Finite-Element Earthquake Modeling on very Large Clusters of CPUs or GPUs

Reflection and Refraction of Light

State University of Nuevo Leon, Mexico Mechanical & Electrical Engineering School

Transcription:

Acoustics 8 Paris Audio acoustic modeling using full-wave methods Timo Lahivaara, Tomi Huttunen and Simo-Pekka Simonaho University of Kuopio, P.O.Box 1627, 7211 Kuopio, Finland simo-pekka.simonaho@uku.fi 1417

Acoustics 8 Paris The numerical simulation of wave propagation poses a significant challenge in scientific computation. Historically, several approaches are explored in order to get a stable method that can be efficiently used for approximating wave propagation without excessive numerical dissipation or dispersion. Unfortunately, the traditional approaches, such as the finite element and the finite difference, require many discretization points per wavelength to obtain reliable solutions. In this study, two alternative full-wave methods for reducing the computational complexity are consider. The methods are the time-domain discontinuous Galerkin method and the ultra weak variational formulation in the frequency domain. Using these techniques, the directivity patterns and the frequency response of a loudspeaker are studied. Moreover, the simulated results are compared to experimental measurements. 1 Introduction The modeling of the acoustic wave fields often provides additional information for acoustical measurements. In the case of long wavelengths, wave problems can be modeled using full-wave type methods which include the finite element, finite difference and boundary element methods. Unfortunately, when the wavelength decreases, these traditional full-wave modeling techniques become increasingly expensive since a sufficient number of discretization points per wavelength (1 points per wavelength is considered as the rule of thumb) is required to obtain a reliable solution. In addition, the numerical pollution due to the accumulation of phase error forces the use of even more grid points per wavelength to keep the relative error of solutions sufficiently low. Promising candidates for solving the wave propagation problems with a reduced computational cost are the ultra weak variational formulation (UWVF [3] (Waveller software [6] used in this study)) (in the frequency domain) and the discontinuous Galerkin (DG) [5] (in the time-domain). These approaches use same computation meshes as the standard finite element method. However, the idea of the UWVF approach is that the sound field can be computed elementwise using plane wave basis functions. In most cases, the use of the plane wave basis significantly reduces the need of CPU-time and memory compared to conventional techniques (such as the finite element method). In the time-domain DG method the high-order Legendre polynomial basis are used. In general, the Legendre basis is a common choice for the DG method. In this study, the UWVF and DG methods are used for approximating the wave propagation in three spatial dimensions (3D). We consider geometry which contains a real loudspeaker in free space. Results are computed using the MPI parallelized FORTRAN9 UWVF code (Waveller) and MPI parallelized C++ DG solver codes. The used PC-cluster contains 24 Pentium 4 with 96 GB total RAM. The main goal of this work is to study the directivity pattern and frequency response of the loudspeaker. In addition, these results are compared to experimental measurements. 2 Numerical Methods and Measurement System In this section, the numerical methods for the wave equation are summarized and the measurement system is outlined. In this study, the full-wave solution means the numerical solution of the acoustical wave equation. The wave equation is approximated in the frequency domain using the UWVF method and in the time-domain using the DG method. As the mathematical model we assume that Ω is a bounded Lipschitz domain in R 3, Γ is its boundary, x =(x, y, z) Ω is the spatial variable and t [,T] time. Then, the linear acoustic wave equation with the boundary condition on the boundary Γ and initial condition with t = t can be written as 1 2 u c 2 ρ u t t 2 = ( ) 1 ρ u in Ω, (1) = u at t = t, (2) u = u 1 at t = t, (3) σ u ( ) 1 t + n ρ u = ( Q σ u ( )) 1 t + n ρ u + 2σg on Γ, (4) where u is the acoustic pressure, c is the wave speed and ρ is the density. In Eqs. (2) and (3) the u and u 1 contain the given initial values and in Eq. (4) n is the outward unit normal of the boundary Γ, g is a source function, and σ is a real and positive parameter. The Helmholtz problem is obtained by assuming that the acoustic pressure field is time-harmonic, i.e. u(x,t) = û(x)e iωt. The truncation of an unbounded problem is done using the perfectly matched layer (PML) [1], which is a numerical damping layer surrounding the computational domain. For the DG and UWVF methods, the domain Ω is partitioned into a collection of finite elements (tetrahedra are a natural choice in 3D). After the partitioning, the weak formulation can be written individually for each element. Furthermore, the communication between adjacent elements is handled using a numerical flux. The final weak form for the problem is obtained by summing over all of the elements. The more detailed derivation for the UWVF method can be found from [2] and for the DG method from [4]. In this paper the time integration of the DG method is carried out using the Crank-Nicolson time integration method. The DG and UWVF methods are used for simulating the directivity of a loudspeaker. The simulations are compared with experimental measurements. The directivity pattern of a loudspeaker was measured in the semi anechoic chamber. To avoid the floor reflection, the floor between loudspeaker and the microphone was covered with plastic foam wedges (see Fig. 1). In the measurement, the sine wave was fed to the loudspeaker and its 1418

response on the acoustical axis was measured. Next, the loudspeaker was rotated and its response measured again. The measurements were performed using B&K 4954 free-field microphone. The distance between the microphone and loudspeaker was 1 m. The amplitude of the sine wave was set to be 94 db on the acoustical axis of the loudspeaker. The measurements were performed in 5 degrees interval in the angle from -3 to 3 and -6 to 6 degrees around the acoustic axis in yzplane and xz-plane, respectively. 3 Numerical Experiments Acoustics 8 Paris In this section numerical examples are studied. Let us consider the wave propagation in homogeneous medium. In particular, our focus in the following simulations is to study the directivity and the frequency response of the loudspeaker. In all of the simulations the wave propagation is studied in air. More precisely the speed of sound c and the density ρ are 34 m/s and 1.2 kg/m 3, respectively. Attenuation is ignored in all cases. Before calculations we need to generate the problem geometry. The problem geometry consists of the loudspeaker and the surrounding free space. First, we generate the loudspeaker geometry from its CAD geometry file using the Gambit R software. Then, the Comsol Multiphysics software R wasusedtomakethefree space geometry (box with the PML region). After that, we unite the loudspeaker geometry in the box. Before the simulations, the problem geometry needs to be partitioned into elements i.e. into the computational mesh. For that purpose the Comsol Multiphysics R software was used. Fig. 2 shows the problem geometry. In Fig. 2 the volume between the inner and the outer cube is the PML region. The thickness of the PML is 69 cm in all simulations. The dimension of the computational domain is Ω=[ 1.725, 1.725] 3 m. Fig. 1: The measurement system with the microphone array consists of 6 5 microphones (Panasonic WM-61A capsules). Measurements were also performed using microphone array and an automated scanning system. The microphone array consists of 6 5 microphones (Panasonic WM-61A capsules). The distance between adjacent microphones was 5 cm (see Fig. 1). The microphone array is initially positioned at a corner of the measurement area. Next, the stimulus signal is fed to loudspeaker and the response is measured. All 3 channels were recorded simultaneously using 24-bit data acquistion hardware. After data acquistion, the microphone array is moved to the next measurement position and data is acquired again. This process is repeated until the whole measurement area is covered. Synchronization between the loudspeaker and the data acquistion is controlled with the data acquistion hardware. The stimulus signal triggers the response measurements and in this way one can assume that all data is acquired simultaneously. The stimulus signal was generated using Eq. (7). The measurement area was 1 1 cm 2 and distance between adjacent measurement points was 2.5 cm. Fig. 2: The problem geometry which contains the sound source (loudspeaker located in free space). Figure shows also the PML region(s). The source is introduced to the model by using an inhomogeneous Neumann boundary condition on the bass surface. Other parts of the loudspeaker are handled using the sound-hard boundary condition, except the end of the reflex tube, which contains the absorbing boundary condition. Finally, the exterior boundaries of the problem geometry have the absorbing boundary condition. Before going any further, two stability indicators for the solutions must be introduced. In this study we want to control the grid density and the Courant-Friedrichs- Lewy (CFL) number. The indicator of the grid density shows how many approximation points there are 1419

Acoustics 8 Paris per wavelength. This can be presented as N = λ h max, (5) where λ is the wavelength, h max is the longest distance between two nodes of a single element in the computation mesh and N is the number of points per wavelength. For the time-domain solutions also the CFL number must be controlled. The CFL number can be written as follows CFL = cδ t, (6) h min where c is the speed of sound, δ t is the length of the time step and h min is the smallest distance between two nodes of the the computational mesh. In all simulations the CFL number is equal to.2. The computation mesh is shown in Fig. 3. In Fig. 3 the cross-section of the whole mesh and also the surface mesh of the loudspeaker are shown. One must note that the source surface is shown in different color in the surface mesh. Computation meshes consists of 463692 (h max = 194.7 mm and h min = 78.3 mm) elements. For the directivity pattern simulations sine wave at frequency of 1 Hz is used, from which we obtain the grid density N 1.7463 (5). Respectively, for the frequency response simulations the frequency of 2 Hz is used (the mean frequency of the gaussian pulse), which gives N.8732 (5). seen from Fig. 4(a) that the pattern is symmetric in the xz-plane. In the yz-plane it is interesting to notice how the asymmetry of the speaker affect on the shape of the solution. The diffraction of the field behind the loudspeaker (xz and yz planes) can also be seen from the directivity patterns. 15 21 12 24 UWVF DG measurement xz plane 9 1 6 27.5 3 3 18 12 (a) yz plane 9 1 6 33 15.5 3 18 21 33 24 27 (b) 3 z (m).4.5.6.1.1 y (m).5.5.1 x (m) Fig. 3: Mesh used in the computations. Top: The mesh consists of 463692 elements. Bottom: The surface mesh of the loudspeaker. One must note that in the surface mesh the sound source is shown with different color. The directivity patterns are shown in Fig. 4. It can be Fig. 4: The directivity patterns at 1 Hz. The title shows the studied plane. Both figures contains the numerical solutions and the measurement. The measurements are carried out with angle [-6:5:6] in the xz-plane and [-3:5:3] in the yz-plane. Fig. 5 shows the frequency response of the loudspeaker. Results are shown in the frequency domain (normalized pressure field as a function of frequency) and in the timedomain (normalized pressure field as a function of time). The conversion between the time and frequency domain is carried out using the Fourier transform. These results are computed at the acoustics axis at the distance of 1 m. The sound source for the time-domain simulations is written as follows ( g =exp (x b (t t )) 2) sin (ω (t t )), (7) 142

Acoustics 8 Paris where x b = 2, t is the time, t =.1 and ω denotes the angular frequency. 1 UWVF DG measurement.8 Amplitude.6.4.2 1 15 2 25 3 f (Hz) 1.5 Amplitude.5 1 2 4 6 t (ms) Fig. 5: The frequency response at the acoustic axis (1 m). A normalized pressure amplitude as a function of the frequency (Top) and time (Bottom). Both figures shows two numerical solutions (DG and UWVF) and measurement. Measurements is performed using a B&K 4954 microphone. Finally, Figs. 6 and 7 show the pressure fields. Fig. 6 shows the sound pressure level in decibels and realpart of the pressure field at a single frequency (1 Hz) which are computed using the UWVF method. In Fig. 7 the pressure fields are shown in a plane at a single time instant of the DG simulation and experimental measurement. These results are shown in normalized pressure amplitude scale. 4 Conclusions In this work the wave equation equation is solved in 3D using the UWVF method in frequency domain and the DG method in the time-domain. The main goal of the work was to study the directivity and frequency response of the loudspeaker. The geometry of the problem contained the real geometry of the loudspeaker in free space. Numerical solutions were computed using the parallelized UWVF (Waveller software) and DG solvers and these results were compared to measurements. As a conclusion it can be seen from Fig. 4 where the directivity patterns of the loudspeaker were simulated Fig. 6: An example solution computed using the UWVF method at 1 Hz. Top: The real-part of the pressure field. Bottom: The sound pressure level in decibels (colorbar shows the db value). that a good accuracy can be obtained using the both methods. On the other hand, Fig. 5 shows that the frequency response of the used sound source can be also approximated with satisfactory accuracy. Finally, Fig. 7 shows that the modeled pressure field in the single plane agrees well with the corresponding measurement. Nevertheless, while the results show that simulation of the loudspeaker is possible, a detailed comparison with measurements still needs to be made to validate the simulation accuracy. The simulation model can be further improved. For example, one must note that our model does not approximate the reflex tubes correctly. This is handled only by using the absorbing boundary condition at the end of the tube. The model for loudspeaker surface would also be better by using the real surface impedance of the 1421

Acoustics 8 Paris.5 [3] B. Després, Sur une formulation variationnelle de type ultra-faible, Comptes Rendus de l Academie des Sciences - Series I, 939-944 (1994) y (m) [4] P. Monk, R. Richter, A discontinuous Galerkin method for linear symmetric hyperbolic systems in inhomogeneous media, J. Sci. Comp., 443-477 (25) [5] W. Reed, T. Hill, Triangular mesh methods for the neutron transport equation, LA-UR-73-479, Los Alamos National Laboratory, Los Alamos, New Mexico, USA, (1973).5.5.5 x (m).5 [6] www.waveller.com y (m).5.5.5 x (m) Fig. 7: Pressure fields in the time-domain (normalized pressure amplitude) at the time instant 1.9 ms (on the acoustic axis at 6 cm distance from the loudspeaker ). Top: Numerical solution using the DG method. Bottom: Measured pressure field. loudspeaker material. Acknowledgments The authors wish to thank the Finnish Funding Agency for Technology and Innovation (Tekes) and the European Regional Development Fund (ERDF) for financial support. This work was also supported by the Academy of Finland (application number 213476, Finnish Programme for Centres of Excellence in Research 26-211) and by the Finnish IT center for science (CSC). References [1] J. Bérenger, A perfectly matched layer for the absorption of electromagnetic waves, J. Comput. Phys., 185-2 (1994) [2] T. Huttunen, The Ultra Weak Variational Formulation for Ultrasound Transmission Problems, PhD thesis, University of Kuopio, (24) 1422