Boundary Element Method Vibroacoustics Matlab GUI

bem_vibroacoustics_a (ver 1.2) is a Matlab GUI for acoustic radiation and scattering by the boundary element method (BEM). Only the surface of the vibrating body is meshed, and the radiation condition at infinity is met exactly by the Green’s function, so there is no air volume to mesh or truncate. The app solves eight problems, from the classic sphere benchmarks to a machinery housing whose top plate is driven by a point force, and every result that has a closed form is checked against it.

Download:
bem_vibroacoustics_a_11_25_26.zip: Matlab source (about 0.8 MB). Unzip into your Matlab folder and run bem_vibroacoustics_a in Matlab.
bem_vibroacoustics_sa_11_25_26.zip: Stand-alone Windows executable (about 0.8 MB). This version does not need Matlab, but it needs the free MATLAB Runtime R2024a.

Documents: Equations (PDF, 3 pages): the boundary integral formulation, the self terms, CHIEF, the half-space Green’s function, sound power and radiation efficiency, the closed-form checks, the top plate model, and references. The PDF is also in the source zip, and the View Equations button opens it from the app.

Worked examples: BEM_Worked_Examples_revA.pptx (PowerPoint, 14 slides). Eight examples run through the GUI, each checked against a closed form or a hand calculation: a pulsating sphere, an oscillating sphere, rigid-sphere scattering against the Mie series, an irregular frequency removed by CHIEF, mesh convergence for a vibrating cap, a box top plate driven by a point force, a sphere over a rigid floor, and an STL capsule housing in sea water.

The app was developed and tested in Matlab R2024a. It uses base Matlab only, with no toolboxes. The source zip contains the app, the BEM solver bem_vibro_engine.m, the equations PDF and a sample STL mesh.

EIGHT PROBLEMS

Sphere benchmarks (exact solutions)

  • Pulsating sphere: a pure monopole. The field error is about 0.5% and the power error 0.3% with 1280 elements at ka = 1.
  • Oscillating rigid sphere: a dipole with a figure-eight pattern and a null at 90 degrees.
  • Rigid sphere, plane-wave scattering: scattered and total pressure and backscatter target strength, checked against the Mie partial-wave series.
  • Vibrating cap on a rigid sphere: a loudspeaker in a spherical cabinet or a transducer face, checked against the Legendre series.

Practical geometries

  • Machinery housing (box): a gearbox, pump casing or oil pan. The drive can be a top-face piston, all faces breathing, rigid-body translation, or a simply supported top plate driven by a point force. The plate velocity comes from a modal sum and drives the BEM, a one-way structure-to-acoustics coupling. The results show the plate resonances, the critical frequency and the radiation efficiency, compared with the same plate in an infinite baffle (Rayleigh integral).
  • Closed cylinder: a transformer tank, motor housing, pipe section or sonar housing, with side wall breathing, an end cap piston or rigid-body translation.
  • Pulsating sphere above a rigid floor: the half-space Green’s function gives the ground-reflection lobes and nulls without meshing the floor.
  • Imported STL mesh: any closed CAD surface, with uniform pulsating motion, rigid-body translation or plane-wave scattering. The normals are turned outward automatically and open edges are reported.
HOW THE APP WORKS
  • English or metric units, and air, fresh water or sea water, or a custom fluid.
  • Single frequency: directivity, surface pressure, radial decay and an SPL map in a plane, plus sound power and radiation efficiency.
  • Frequency sweep: sound power, radiation efficiency or target strength versus frequency.
  • CHIEF interior points remove the false spikes at the irregular frequencies of the plain BEM. The results list the first irregular frequency.
  • Preview Mesh shows the surface mesh with the vibrating area highlighted, and the number of elements per wavelength.
  • View Equations opens the equations PDF, and Export Results to Workspace saves the full solution in Matlab.
METHOD AND VERIFICATION

The solver is a direct collocation BEM with constant elements, a dense complex system solved at each frequency. It is written to be read: the formulation, the singular self terms, CHIEF and the image source are each a few lines. The automated tests check the sphere cases against their series solutions (about 1% at 1280 elements), the cap against the Legendre series as the mesh is refined (power error 14%, 5.6% and 0.9% for 320, 1280 and 5120 elements), the ground case against the image-source estimate, the box, cylinder and STL cases against the compact monopole at low frequency, and the top plate natural frequencies, critical frequency and baffled-plate radiation against hand calculations and the high-frequency limit.

LIMITATIONS

This is a teaching and first-estimate tool. The dense direct solve limits a model to about 6000 elements, so large or high-frequency models need a fast multipole or H-matrix code. The surface must be closed. Fluid loading on the vibrating structure is neglected, so the plate drive is for air, not water. Constant elements need a fine mesh near velocity steps such as the edge of the cap. In the stand-alone version there is no Matlab workspace, so Export Results to Workspace is for the source version.

The app is free to use and is provided as is, with no warranty. Please send me an email if you have questions or suggestions.

Tom Irvine

More stand-alone Matlab GUIs: Matlab Engineering GUI Packages Hub

Learn This in a Live Course

Sound radiation, radiation efficiency and boundary element methods are covered in the Acoustics & Statistical Energy Analysis course. The February 2027 series includes live one-hour classes, IACET CEUs, recorded sessions and slides. See the schedule and fees or register here.

Leave a Comment