Introduction To Acoustics Module
Introduction To Acoustics Module
Introduction To Acoustics Module
Acoustics Module
VERSION 4.4
November 2013
COMSOL 4.4
Contact Information
Visit the Contact COMSOL page at www.comsol.com/contact to submit general inquiries, contact
Technical Support, or search for an address and phone number. You can also visit the Worldwide
Sales Offices page at www.comsol.com/contact/offices for address and contact information.
If you need to contact Support, an online request form is located at the COMSOL Access page at
www.comsol.com/support/case.
Other useful links include:
Support Center: www.comsol.com/support
Product Download: www.comsol.com/support/download
Product Updates: www.comsol.com/support/updates
COMSOL Community: www.comsol.com/community
Events: www.comsol.com/events
COMSOL Video Center: www.comsol.com/video
Support Knowledge Base: www.comsol.com/support/knowledgebase
Part number: CM020204
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
The Acoustics Module Physics Interfaces. . . . . . . . . . . . . . . . . . . . . . 3
The Physics Interface List by Space Dimension and Study Type . . 7
|i
ii |
Introduction
The Acoustics Module consists of a set of physics interfaces, which enable you to
simulate the propagation of sound in fluids and in solids. The interface
applications include pressure acoustics, acoustic-solid interaction, aeroacoustics,
and thermoacoustics.
Figure 1: COMSOL model of the sound pressure level distribution in a muffler system.
Acoustic simulations using this module can easily model classical problems such as
scattering, diffraction, emission, radiation, and transmission of sound. These
problems are relevant to muffler design, loudspeaker construction, sound
insulation for absorbers and diffusers, the evaluation of directional acoustic
patterns like directivity, noise radiation problems, and much more. The
acoustic-structure interaction features can model problems involving structureand fluid-born sound and their interaction. For example, acoustic-structure
interaction is simulated for detailed muffler design, ultrasound piezo-actuators,
sonar technology, and noise and vibration analysis of machinery in the automotive
industry. Using the COMSOL Multiphysics capabilities enables the analysis and
design of electroacoustic transducers such as loudspeakers, sensors, microphones,
and receivers.
Aeroacosutic problems can be analyzed and modeled by solving either the
linearized potential flow equations or the linearized Euler equations. These are
used to model the one way interaction between an external flow and an acoustic
field, applications range from jet-engine noise analysis to simulating acoustic flow
sensors and mufflers with flow.
Introduction
|1
Figure 2: The Acoustics Module physics interfaces. Some interfaces require additional modulesboth of
the Acoustic-Shell Interaction interfaces and the Thermoacoustic-Shell Interaction interface require the
Structural Mechanics Module. The Pipe Acoustics, Transient interface requires the Pipe Flow Module.
There are many application areas where these interfaces are usedfrom modeling
simple pressure waves in air to examining complex interactions between elastic
waves and pressure waves in porous materials. For a brief introduction to the basic
concepts and theory of acoustics see the Basics of Acoustics starting on page 12.
The Acoustics Module model library has many examples of applications ranging
from modeling sound insulation lining, modeling loudspeakers, microphones, and
2 | Introduction
mufflers. These examples show, among other things, how to simulate acoustic
losses. The loss models range from homogenized empirical fluid models for
fibrous materials to include thermal and viscous loss in detail using the
Thermoacoustics interface.
The Flow Duct model uses the Linearized Potential Flow interface to show the
influence a flow has on the sound field in a jet engine. Predefined couplings can
be used to model the interaction between acoustic, structure, and electric fields in
piezoelectric materials (see The Model Libraries Window on page 11 for
information about accessing these models). You can also get started with your
own model by going to the tutorial Model Example: Absorptive Muffler
starting on page 16.
P RESSURE A COUSTICS
The Pressure Acoustics branch ( ) has physics interfaces where the sound field
is described and solved by the pressure p. The pressure represents the acoustic
variations on top of the ambient stationary pressure. The ambient pressure is, in
the absence of flow, simply the static absolute pressure.
The interfaces enable solving the acoustic problem both in the frequency domain
using the Pressure Acoustics, Frequency Domain interface ( ), where the
Helmholtz equation is solved, and as a transient system using the Pressure
Acoustics, Transient interface ( ), where the classical wave equation is solved.
The Boundary Mode Acoustics interface ( ) is used to study propagating modes
in waveguides and ducts (only a finite set of shapes, or modes can propagate over
a long distance).
A large variety of boundary conditions are available, include hard walls and
impedance conditions, radiation, symmetry, and periodic conditions for modeling
open boundaries, and conditions for applying sources. The interfaces also have
several fluid models, which, in a homogenized way, mimic the behavior of sound
propagation in more complex media. This includes the propagation in porous or
fibrous materials (the Poroacoustics domain feature), the propagation in narrow
structures of constant cross section (the Narrow Region Acoustics domain
feature), and fluid models for defining bulk absorption behavior. So-called
perfectly matched layers (PMLs) are also available to truncate the computational
domain. Finally, the far-field feature can be used to determine the pressure in any
Introduction
|3
Figure 3: A 3D far-field polar plot of the loudspeaker sensitivity at 3000 Hz. From the Vented
Loudspeaker Enclosure model found in the model library.
4 | Introduction
Two more physics interfaces are available under this branchElastic Waves ( ),
for modeling elastic waves in solids, and Poroelastic Waves ( ), for precisely
modeling the propagation of sound in a porous material. The latter includes the
two-way coupling between deformation of the solid matrix and the pressure waves
in the saturating fluid. The interface solves Biots equations in the frequency
domain.
With these interfaces you can model frequency domain and transient problems
involving pressure acoustics and solid mechanics, with 3D, 2D, and 2D
axisymmetric geometries.
A EROACOUSTICS
The one way interaction of a background fluid flow with an acoustic field (so
called flow borne noise/sound) is modeled using the interfaces found under the
Aeroacoustics branch ( ). The coupling between the fluid mechanics and the
acoustics is based on solving the set of linearized governing equations. In this way
solve for the acoustic variations of the dependent variables on top of a stationary
background mean-flow. Different interfaces exist that solve the governing
equations under various physical approximations.
The Linearized Potential Flow, Frequency Domain ( ) and the Linearized
Potential Flow, Transient ( ) interfaces model the interaction of a stationary
background potential flow with an acoustic field. This interface is only suited for
cases where the flow is inviscid and, being irrotational, has no vorticity. The
background flow is typically solved for using the Compressible Potential Flow
interface ( ).
The Linearized Potential Flow, Boundary Mode interface ( ) is used to study
boundary mode acoustic problems in a background flow field. It is typically used
to define sources at the inlet of ducts.
The Linearized Euler, Frequency Domain interface ( ) and the The Linearized
Euler, Transient interface ( ) solve the Linearized Euler equations. They are
used to compute the acoustic variations in density, velocity, and pressure in the
presence of a stationary background mean-flow that is well approximated by an
ideal gas flow.
T HERMOACOUSTICS
The interfaces under the Thermoacoustics branch ( ) are used to accurately
model acoustics in geometries with small dimensions. Near walls, viscosity and
thermal conduction become important because a viscous and a thermal boundary
layer are created, resulting in significant losses. This makes it necessary to include
thermal conduction effects and viscous losses explicitly in the governing
Introduction
|5
equations. This is done by solving the full set of linearized compressible flow
equations, that is, the linearized Navier-Stokes, continuity, and energy equations.
Because a detailed description is needed to model thermoacoustics, the interface
simultaneously solve for the acoustic pressure p, the particle velocity vector u, and
the acoustic temperature variation T.
In the Thermoacoustics, Frequency Domain interface ( ), the governing
equations are implemented in the time harmonic formulation and solved in the
frequency domain. Both mechanical and thermal boundary conditions exist.
Coupling the thermoacoustic domain to a pressure acoustic domain is also
straightforward, with a predefined boundary condition.
A Thermoacoustic-Solid Interaction, Frequency Domain interface ( ) is
available to solve coupled vibro-acoustic problems. This can, for example, be used
to model small electroacoustic transducers or damping in MEMS devices.
Predefined boundary conditions exist between solid domains and fluid domains.
The Thermoacoustic-Shell Interaction, Frequency Domain interface ( ) is used
for modeling the interactions between shells and acoustics in small dimensions.
This can, for example, be used to analyze the damped vibrations of shells in
hearing aids and prevent feedback problems.
Figure 4: Deformation of the diaphragm (or membrane) at 12 kHz in the Axisymmetric Condenser
Microphone model found in the model library.
6 | Introduction
ICON
TAG
SPACE
DIMENSION
Pressure Acoustics,
Frequency Domain1
acpr
all dimensions
eigenfrequency; frequency
domain; frequency-domain
modal; mode analysis (2D and
1D axisymmetric models only)
Pressure Acoustics,
Transient
actd
all dimensions
eigenfrequency; frequency
domain; frequency-domain
modal; time dependent;
time-dependent modal; modal
reduced order model; mode
analysis (2D and 1D
axisymmetric models only)
Boundary Mode
Acoustics
acbm
3D, 2D
axisymmetric
mode analysis
Acoustics
Pressure Acoustics
Acoustic-Structure Interaction
Acoustic-Solid
Interaction,
Frequency Domain
acsl
3D, 2D, 2D
axisymmetric
eigenfrequency; frequency
domain; frequency-domain
modal
Acoustic-Solid
Interaction, Transient
astd
3D, 2D, 2D
axisymmetric
eigenfrequency; frequency
domain; frequency-domain
modal; time dependent;
time-dependent modal; modal
reduced order model
Acoustic-Shell
Interaction,
Frequency Domain2
acsh
3D
eigenfrequency; frequency
domain; frequency-domain
modal
Acoustic-Shell
Interaction,
Transient2
acshtd
3D
eigenfrequency; frequency
domain; frequency-domain
modal; time dependent;
time-dependent modal; modal
reduced order model
Introduction
|7
INTERFACE
ICON
TAG
SPACE
DIMENSION
Acoustic-Piezoelectri
c Interaction,
Frequency Domain
acpz
3D, 2D, 2D
axisymmetric
eigenfrequency; frequency
domain; frequency-domain
modal
Acoustic-Piezoelectri
c Interaction,
Transient
acpztd
3D, 2D, 2D
axisymmetric
eigenfrequency; frequency
domain; frequency-domain
modal; time dependent;
time-dependent modal; modal
reduced order model
Elastic Waves
elw
3D, 2D, 2D
axisymmetric
eigenfrequency; frequency
domain; frequency-domain
modal
Poroelastic Waves
elw
3D, 2D, 2D
axisymmetric
eigenfrequency; frequency
domain; frequency-domain
modal
Pipe Acoustics,
Frequency Domain3
pafd
3D, 2D
eigenfrequency; frequency
domain
Pipe Acoustics,
Transient3
patd
3D, 2D
time dependent
Linearized Potential
Flow, Frequency
Domain
ae
all dimensions
Linearized Potential
Flow, Transient
aetd
all dimensions
Linearized Potential
Flow, Boundary
Mode
aebm
3D, 2D
axisymmetric
mode analysis
Compressible
Potential Flow
cpf
all dimensions
Linearized Euler,
Frequency Domain
lef
3D, 2D
axisymmetric,
2D, and 1D
frequency domain;
eigenfrequency
Linearized Euler,
Transient
let
3D, 2D
axisymmetric,
2D, and 1D
time dependent
Aeroacoustics
8 | Introduction
INTERFACE
ICON
TAG
SPACE
DIMENSION
Linearized
Navier-Stokes,
Frequency Domain4
lnsf
3D, 2D
axisymmetric,
2D, and 1D
frequency domain;
eigenfrequency
Linearized
Navier-Stokes,
Transient4
lnst
3D, 2D
axisymmetric,
2D, and 1D
time dependent
Thermoacoustics,
Frequency Domain
ta
all dimensions
eigenfrequency; frequency
domain; frequency domain
modal; mode analysis (2D and
1D axisymmetric models only)
Thermoacoustic-Soli
d Interaction,
Frequency Domain
tas
3D, 2D, 2D
axisymmetric
eigenfrequency; frequency
domain; frequency domain
modal
Thermoacoustic-Shel
l Interaction2
tash
3D
eigenfrequency; frequency
domain; frequency domain
modal
solid
3D, 2D, 2D
axisymmetric
stationary; eigenfrequency;
prestressed analysis,
eigenfrequency; time
dependent; time-dependent
modal; frequency domain;
frequency-domain modal;
prestressed analysis, frequency
domain; modal reduced order
model
Thermoacoustics
Structural Mechanics
Solid Mechanics1
Introduction
|9
INTERFACE
Piezoelectric Devices
ICON
TAG
SPACE
DIMENSION
pzd
3D, 2D, 2D
axisymmetric
stationary; eigenfrequency;
time dependent;
time-dependent modal;
frequency domain; frequency
domain modal; modal reduced
order model
This physics interface is included with the core COMSOL package but has added functionality
for this module.
2
Requires both the Structural Mechanics Module and the Acoustics Module.
3 Requires both the Pipe Flow Module and the Acoustics Module.
4
These physics interfaces are available as a technology preview feature.
10 | Introduction
and solution data to save space on the DVD (a few MPH-files have no
solutions for other reasons). You can open these models to study the settings
and to mesh and re-solve the models. It is also possible to download the full
versionswith meshes and solutionsof most of these models when you
update your model library. These models appear in the Model Libraries
window with the
icon. If you position the cursor at a compact model in
the Model Libraries window, a No solutions stored message appears. If a full
MPH-file is available for download, the corresponding nodes context menu
includes a Download Full Model item ( ).
To check all available Model Libraries updates, select Update COMSOL Model
Library ( ) from the File>Help menu (Windows users) or from the Help menu
(Mac and Linux users).
The Absorptive Muffler model tutorial starts on page 16 and the last section,
starting on page 43, provides a brief overview of some of the other models also
available in the Acoustics Module model library.
| 11
Basics of Acoustics
Acoustics is the physics of sound. Sound is the sensation, as detected by the ear,
of very small rapid changes in the acoustic pressure p above and below a static value
p0. This static value is the atmospheric pressure (about 100,000 pascals). The
acoustic pressure variations are typically described as pressure waves propagating
in space and time. The wave crests are the pressure maxima while the troughs
represent the pressure minima.
Sound is created when the air is disturbed by a source. An example is a vibrating
object, such as a speaker cone in a sound system. It is possible to see the movement
of a bass speaker cone when it generates sound at a very low frequency. As the cone
moves forward it compresses the air in front of it, causing an increase in air
pressure. Then it moves back past its resting position and causes a reduction in air
pressure. This process continues, radiating a wave of alternating high and low
pressure at the speed of sound.
The frequency f (SI unit: Hz = 1/s) is the number of vibrations (pressure peaks)
perceived per second and the wavelength l (SI unit: m) is the distance between two
such peaks. The speed of sound c (SI unit: m/s) is given as the product of the
frequency and the wavelength, c = f. It is often convenient to define the angular
frequency (SI unit: rad/s) of the wave, which is = 2f, and relates the
frequency to a full 360o phase shift. The wave number k (SI unit: rad/m) is
defined as k = 2/. The wave number, which is the number of waves over a
specific distance, is also usually defined as a vector k, such that it also contains
information about the direction of propagation of the wave, with |k| = k. In
general, the relation between the angular frequency and the wave number k is
called the dispersion relation; for simple fluids it is /k = c.
Governing Equations
The equations that describe the propagation of sound in fluids are derived from
the governing equations of fluid flow. That is, conservation of mass, which is
described by the continuity equation; the conservation of momentum, that is
often referred to as the Navier-Stokes equation; an energy conservation equation;
the model constitutive equations; and an equation of state to describe the relation
between thermodynamic variables. In the classical case of pressure acoustics,
which describes most acoustic phenomena accurately, the flow is assumed lossless
and adiabatic, viscous effects are neglected, and a linearized isentropic equation of
state is used.
Under these assumptions, the acoustic field is described by one variable, the
pressure p (SI unit: Pa), and is governed by the wave equation
12 | Basics of Acoustics
2p
1 -------1----------- + ---- p q = Q
2 t 2
0
0 c
where t is time (SI unit: s), 0 is the density of the fluid (SI unit: kg/m3), and q
and Q are possible acoustic dipole and monopole source terms (SI units: N/m3
and 1/s2, respectively).
Acoustic problems often involve simple harmonic waves such as sinusoidal waves.
More generally, any signal may be expanded into harmonic components via its
Fourier series. The wave equation can then be solved in the frequency domain for
one frequency at a time. A harmonic solution has the form
p x t = p x sin t
where the spatial p(x) and temporal sin(t) components are split. The pressure
may be written in a more general way using complex variables
p x t = p x e
it
(5)
where the actual physical value of the pressure is the real part of Equation 5. Using
this assumption for the pressure field, the time-dependent wave equation reduces
to the well-known Helmholtz equation
2
------ p q -----------2 p = Q
0
0 c
(6)
In the homogenous case where the two source terms q and Q are zero, one simple
solution to the Helmholtz equation (Equation 6) is the plane wave
p = P0 e
i t k x
(7)
where P0 is the wave amplitude and it is moving in the k direction with angular
frequency and wave number k = |k|.
| 13
boundary layer (the latter is discussed in Models with Losses on page 15). In
order to get an accurate solution, the mesh should be fine enough to both resolve
the geometric features and the wavelength. As a rule of thumb, the maximal mesh
size should be less than or equal to /N, where N is a number between 5 and 10.
For transient acoustic problems the same considerations apply. However, several
new time scales are also introduced. One is given by the frequency contents of the
signal and by the desired maximal frequency resolution: T = 1 fmax. The other is
given by the size of the time step t used by the numerical solver. A condition on
the so-called CFL number dictates the relation between the time step size and the
minimal mesh size hmin, The CFL number is defined as
ct
h min
CFL = -----------
(8)
where c is the speed of sound in the system. It is good practice to have CFL
numbers of approximately 0.2 (when using quadratic spatial elements). More
information is included with the Gaussian Explosion tutorial model described
on page 43.
In order to run accurate acoustic simulations it is important to think about these
physical and numerical scales and about their influence on the convergence and
correctness of the numerical solution. A good practical approach is to test the
robustness of a solution compared to changes in the mesh in all cases and the
numerical time stepping in the transient problems. If some measure of the
solution, within a given accuracy range, changes when the mesh is refined then the
mesh was probably not good enough.
Boundary Conditions
Boundary conditions define the nature of the boundaries of the computational
domain. Some define real physical obstacles, like a sound hard wall or a moving
interface. Others, called artificial boundary conditions, are used to truncate the
domain. The artificial boundary conditions are, for example, used to simulate an
open boundary where no sound is reflected. It may also mimic a reacting boundary
such as a perforated plate.
Elastic Waves
The propagation of sound in solids happens through small-amplitude elastic
oscillations of the solids shape and structure. These elastic waves are transmitted
to surrounding fluids as ordinary sound waves. Through acoustic-structure
interaction, the fluids pressure causes a fluid load on the solid domain, and the
structural acceleration affects the fluid domain as a normal acceleration across the
fluid-solid boundary.
14 | Basics of Acoustics
The Acoustics Module has the Poroelastic Waves interface available to model
poroelastic waves that propagate in porous materials. These waves result from the
complex interaction between acoustic pressure variations in the saturating fluid
and the elastic deformation of the solid porous matrix.
-------f
th =
k
--------------fC p
Basics of Acoustics
| 15
Model Definition
The muffler, schematically shown in Figure 9, consists of a 24-liter resonator
chamber with a section of the centered exhaust pipe included at each end. In the
first version of the model, the chamber is empty. In the second version it is lined
with 15 mm of absorbing glass wool.
Figure 9: Geometry of the lined muffler with the upper half removed. The exhaust fumes enter through
the left pipe (inlet) and exit through the right pipe (outlet).
Domain Equations
This model solves the problem in the frequency domain using the time-harmonic
Pressure Acoustics, Frequency Domain interface. The model equation is a slightly
modified version of the Helmholtz equation for the acoustic pressure, p:
2
p
p ------- ---------= 0
2
c
cc c
where c is the density, cc is the speed of sound, and gives the angular frequency.
The subscript c refers to that these can be complex valued.
In the absorbing glass wool, modeled as a Poroacoustics domain, the damping
enters the equation as a complex speed of sound, cc/kc, and a complex density,
ckc Zc/, where kc is the complex wave number and Zc equals the complex
impedance. This is a so-called equivalent fluid model for the porous domain where
the losses are modeled in a homogenized way.
For a highly porous material with a rigid skeleton, the well-known Delany and
Bazley model estimates these parameters as functions of frequency and flow
resistivity. Using the original coefficients of Delany and Bazley (Ref. 1), the
expressions are
a f 0.7
a f 0.595
k c = k a 1 + 0.098 ---------
i 0.189 ---------
Rf
Rf
a f 0.734
a f 0.732
Z c = Z a 1 + 0.057 ---------
i 0.087 ---------
Rf
Rf
where Rf is the flow resistivity, and where ka/ca and Zaa ca are the free-space
wave number and impedance of air, respectively. This model is the default selected
for the Delany-Bazley-Miki model in the Poroacoustics domain feature. You can
find flow resistivities in tables, see for example Ref. 4 or by measuring it. For
glass-wool-like materials, Bies and Hansen (Ref. 2) give an empirical correlation
1.53
3.18 10 9 ap
R f = -----------------------------------------2
d av
where ap is the materials apparent density and dav is the mean fiber diameter.
This model uses a lightweight glass wool with ap12 kg/m3 and dav 10 m.
Boundary Conditions
There are three types boundary conditions used in this model.
At the solid boundaries, which are the outer walls of the resonator chamber
and the pipes, the model uses sound hard (wall) boundary conditions. The
condition imposes that the normal velocity at the boundary is zero.
The boundary condition at the inlet involves a combination of an incoming
imposed plane wave and an outgoing radiating plane wave (see Ref. 3 and
the documentation for details). This boundary condition is valid as long as
| 17
the frequency is kept below the cutoff frequency for the second propagating
mode in the tube.
At the outlet boundary, the model specifies an outgoing radiating plane
wave.
Figure 10: The pressure distribution in the absorptive muffler without the liner is shown for f = 1500 Hz.
Here win and wout denote the incoming power at the inlet and the outgoing power
at the outlet, respectively. Each of these quantities can be calculated as an integral
over the corresponding surface:
w out =
p --------dA
2c
w in =
p0
--------- dA
2c
Figure 11: Attenuation (dB) in the empty muffler as a function of frequency (blue curve). The first four
dips are due to longitudinal resonances. In the muffler with absorbing liner (green curve) the dips are still
present, but the general trend is that the higher the frequency, the better the damping.
Figure 11 shows the result of a parametric frequency study. For the undamped
muffler, the graph shows that the damping works rather well for most low
frequencies, with the exception of a few distinct dips where the muffler chamber
displays resonances. At frequencies higher than approximately 1250 Hz, the plots
behavior is more complicated and there is generally less damping. This is because
for such frequencies, the tube supports not only longitudinal resonances but also
cross-sectional propagation modes. Slightly above this frequency, a range of
modes that are combinations of this propagation mode and the longitudinal
modes participate. This will make the damping properties increasingly
unpredictable. For an analysis of these modes, see Eigenmodes in a Muffler
described on page 43. The glass wool lining improves the attenuation at the
resonance frequencies as well as at higher frequencies.
| 19
References
1. M. A. Delany and E. N. Bazley, Acoustic Properties of Fibrous Absorbent Materials,
Appl. Acoust., vol. 3, pp. 105116, 1970.
2. D. A. Bies and C. H. Hansen, Flow Resistance Information for Acoustical Design,
Appl. Acoust., vol. 13, pp. 357391, 1980.
3. D. Givoli and B. Neta, High-order Non-reflecting Boundary Scheme for
Time-dependent Waves, J. Comp. Phys., vol. 186, pp. 2446, 2003.
4. T. J. Cox and P. DAntonio, Acoustic Absorbers and Diffusers, Second Edition, Taylor
and Francis, 2009.
M o d e l W i z a rd
The instructions take you through two versions of the model, first with a
completely hollow chamber with rigid walls, then where the chamber is lined with
glass wool.
Note: These instructions are for the user interface on Windows but apply, with
minor differences, also to Linux and Mac.
1 To start the software, double-click the COMSOL icon on the desktop. When
the software opens, you can choose to use the Model Wizard to create a new
COMSOL model or Blank Model to create one manually. For this tutorial, click
the Model Wizard button.
If COMSOL is already open, you can start the Model Wizard by selecting
New
from the File menu and then click Model Wizard
.
The Model Wizard guides you through the first steps of setting up a model. The
next window lets you select the dimension of the modeling space.
2 In the Space Dimension window click the 3D button
7 Click Done
Global Definitions
Note: The location of the text files used in this exercise vary based on the
installation. For example, if the installation is on your hard drive, the file path
might be similar to C:\Program Files\COMSOL44\models\.
Parameters
1 On the Home toolbar, click Parameters
Note: On Linux and Mac, the Home toolbar refers to the specific set of controls
near the top of the Desktop.
2 Go to the Parameters settings window. Under Parameters click Load from
File
.
3 Browse to the model library folder (Acoustics_Module\Industrial Models) and
double-click the file absorptive_muffler_parameters.txt.
The parameters define the physical values and the geometrical dimensions of the
system. The geometry is now parameterized and simply changing the value of a
dimension in the parameters list updates the geometry automatically.
| 21
Geometr y 1
1 In the Model Builder under
Component 1, click Geometry 1
Work Plane 1
1 On the Geometry toolbar, click Work
Plane
.
2 Go to the Work Plane settings window.
Under Plane Definition, from the Plane
list, choose yz-plane.
Rectangle 1
1 In the Model Builder, right-click Plane Geometry
and add a Rectangle
. A Rectangle node is added
to the Model Builder.
2 Go to the Rectangle settings window.
Under Size in the:
- Width field, enter W.
- Height field, enter H.
Fillet 1
1 On the Work plane toolbar, click Fillet
2 Click the Zoom Extents button
Graphics toolbar.
on the
Rectangle 2
1 Right-click Plane Geometry
Fillet 2
1 On the Work plane toolbar, click
Fillet
.
2 On the object r2, select Points 1,2,3,4 only.
3 Go to the Fillet settings window. Under Radius in the Radius field, enter
(H-2*D)/2.
4 On the Home toolbar, click the Build All
button
. The node sequence under
Work Plane 1 should match this figure at
this point:
Extrude 1
1 On the Work plane toolbar, click
Close
.
2 On the Geometry toolbar, click Extrude
| 23
Cylinder 1
1 On the Geometry toolbar, click
Cylinder
.
2 Go to the Cylinder settings window. Under
Size and Shape in the:
- Radius field, enter R_io.
- Height field, enter L_io.
Cylinder 2
1 On the Geometry toolbar, click
Cylinder
.
2 Go to the Cylinder settings window. Under Size and Shape in the:
- Radius field, enter R_io.
- Height field, enter L_io.
on
Definitions
Explicit 1
1 On the Definitions toolbar, click Explicit
| 25
5 Go to the Explicit settings window. Under Input Entities from the Geometric
entity level list, choose Boundary.
6 Select Boundary 1 only.
Explicit 2
1 On the Definitions toolbar, click Explicit
Integration 1
1 On the Definitions toolbar, click
Component Couplings and choose
Integration
.
2 Go to the Integration settings window.
Under Source Selection from the
Geometric entity level list, choose
Boundary.
3 From the Selection list, choose Inlet.
Integration 2
1 On the Definitions toolbar, click Component
Couplings and choose Integration
. An
Integration 2 node is added to the Model Builder.
2 Go to the Integration settings window. Under
Source Selection from the Geometric entity level
list, choose Boundary.
Variables 1
1 In the Model Builder, right-click Definitions
2 Go to the Variables settings window. Under Variables in the table, enter the
following settings:
NAME
EXPRESSION
DESCRIPTION
w_in
intop1(p0^2/(2*acpr.rho*
acpr.c))
w_out
intop2(abs(p)^2/(2*acpr.
rho*acpr.c))
Mate rials
1 On the Home toolbar, click Add Material
| 27
The green check marks indicate which material parameters are necessary in the
model.
Note: By default the first material added applies to all domains so the geometric
scope settings do not need to be changed.
In the second version of this model, a lining material is inserted in Domain 2. For
now, the muffler is completely hollow.
P re s su re A c o u s ti c s , Fre q u e n c y D o m a in
Plane Wave Radiation 1
1 On the Physics toolbar, click Boundaries and choose Plane Wave Radiation
node is added to the Model Builder. Nodes with a D in the upper left corner
indicate it is a default node.
Po ro ac o u s ti c s
1 On the Physics toolbar, click Domains and choose Poroacoustics
Me sh 1
Because the geometry is long and slender and it has constant cross sections, an
extruded mesh is used. This reduces the number of mesh elements while still
retaining the desired mesh resolution of the acoustic field.
Model Example: Absorptive Muffler
| 29
Free Triangular 1
1 In the Model Builder window, under Component 1 right-click Mesh 1 and
choose More Operations>Free Triangular
.
2 To more easily locate and select a boundary, click the Wireframe Rendering
button
on the Graphics window toolbar.
3 Select Boundaries 6, 9, and 16 only.
Size
1 In the Model Builder under
Component 1>Mesh 1, click Size
Swept 1
1 On the Mesh toolbar, click Swept
| 31
Study 1
Step 1: Frequency Domain
1 In the Model Builder, expand the Study 1 node, then click Step 1: Frequency
Domain
.
2 Go to the Frequency Domain settings window. Under Study Settings in the
Frequencies field, enter range(50,25,1500).
3 Locate the Physics and Variables
Selection section. Select the Modify
physics tree and variables for study
step check box.
4 In the tree, under
Component 1>Pressure Acoustics,
Frequency Domain, click Pressure
Acoustics Model 2.
5 Click the Disable button
the table.
under
Results
The first default plot shows the pressure distribution on the walls of the muffler at
the highest frequency, 1500 Hz. To get a better view of the standing wave pattern,
you can plot the norm of the pressure instead of the real part of the pressure.
The pattern is very different at different frequencies. See for example what happens
at 1250 Hz.
1 In the Model Builder under Results, click Acoustic Pressure (acpr)
2 Go to the 3D Plot Group settings window. Under Data from the Parameter
value (freq) list, choose 1250.
3 On the 3D plot group toolbar, click the Plot button
| 33
At 1250 Hz, the absolute value of the pressure does not vary much with the
x-coordinate. The reason is that this is just higher than the cutoff frequency for
the first symmetric propagating mode, which is excited by the incoming wave. For
a separate analysis of the propagating modes in the chamber, see the description
for the Eigenmodes in a Muffler model starting on page 43.
The two other default plot groups show the sound pressure level on the wall
surface and the pressure inside the muffler as isosurfaces.
1D Plot Group 4
1 On the Home toolbar, click Add Plot Group and choose 1D Plot Group
2 On the 1D plot group toolbar, click Global
| 35
M o d e l W i z a rd
In this, the second version of the model, the muffler is lined with a layer of
absorptive glass wool. Continue working with the model developed so far and
make the following changes. The first task is to add a second study to keep the
existing results intact.
1 On the Home toolbar, click Add Study
Study 2
1 In the Model Builder, click Study 2
2 In the Study settings window, under the Study Settings section, click to clear
the Generate default plots check box.
2 In the Frequency Domain settings window, locate the Study Settings section.
| 37
Results
You chose not to have new default plots generated. Once the solution process is
finished you can use the existing plot groups and just switch the data set to see
how the damping material affects the solution.
2 In the 3D Plot Group settings window under Data, from the Data set list
choose Solution 2.
At 1500 Hz, the pressure in the chamber is much lower than before. Continue to
study how the transmission has changed.
1D Plot Group 4
1 On the 1D plot group toolbar, click Global
| 39
Now, create a plot that represents the intensity flux through the muffler system.
Use streamlines that follow the intensity vector (flux of energy through the
muffler). You can change between solutions and frequencies to study and visualize
the muffler's sound-absorbing properties.
3 D P l o t G ro u p 5
1 On the Home toolbar, click Add Plot Group and choose 3D Plot Group
Intensity
1 Click Intensity
| 41
2 Click the Root node (the first node in the model tree). On the Root settings
window under Model Thumbnail, click Set Model Thumbnail.
Make adjustments to the image in the Graphics window using the toolbar buttons
until the image is one that is suitable to your purposes.
Gaussian Explosion
This model introduces important concepts to remember when solving transient
problems. In particular, it examines the relationship between the frequency
content in the sources driving the model, the mesh resolution, and the time step.
Eigenmodes in a Muffler
In this model, the propagating modes in the chamber of an automotive muffler
are computed. The geometry is a cross-section of the chamber as described in the
Absorptive Muffler example in this guide.
The purpose of the model is to study the shape of the propagating modes and to
find the cut-off frequencies. As discussed in the Absorptive Muffler tutorial, some
of the modes significantly affect the damping of the muffler at frequencies above
| 43
the cut-off. In the Eigenmodes in Muffler model, modes with cut-off frequencies
up to 1500 Hz are studied.
Figure 13: First fully symmetric propagation mode of the muffler chamber (with no absorbing liner). The
plot shows the absolute value of the pressure.
Piezoacoustic Transducer
A piezoelectric transducer can be used either to transform an electric current to an
acoustic pressure field or, the opposite, to produce an electric current from an
acoustic field. These devices are generally useful for applications that require the
generation of sound in air and liquids. Examples of such applications include
phased array microphones, ultrasound equipment, inkjet droplet actuators, sonar
transducers, and devices for drug discovery, bioimaging, and
acousto-biotherapeutics.
Figure 14: Surface and height plot of the pressure distribution created by the piezoactuator at f = 100
kHz.
| 45
Figure 15: Iso-pressure contours (in gray scale) and deformation of the speaker cone (colors).
determined. The model requires the Acoustics Module, the AC/DC Module, and
the Structural Mechanics Module.
Figure 16: Deformation of the microphone membrane (diaphragm) at 20 kHz. The geometry is courtesy
of Brel & Kjr.
| 47