Acoustic waves
This page describes the available boundary conditions and couplings for linear acoustic wave propagation in Allsolve. The weak formulation is stated up front; the full derivation is at the end of this page.
Weak formulation
Section titled βWeak formulationβThe weak form solved by Allsolve is
where is the acoustic pressure, the speed of sound in the fluid, and the test function.
See Formulation derivation for the full strong-to-weak derivation.
Interactions
Section titled βInteractionsβPerfectly matched layer
Section titled βPerfectly matched layerβImplements an absorbing boundary region to simulate infinite space and prevent reflections from truncated boundaries. Placed at the outer boundary of the acoustic domain, it absorbs outgoing sound waves without reflection.
Key properties:
- Used to simulate open boundaries for scattering acoustic structures.
Two types available:
- AML type: Suitable for smooth boundaries.
- Box PML: Suitable for rectangular or cornered boundaries.
- The number of PML layers can be tuned in the Shared PML settings.
| Example | Use case for Perfectly matched layer |
Constraint
Section titled βConstraintβApplies a fixed acoustic pressure to a node or region, enforcing a Dirichlet boundary condition for the acoustic wave equation. Use this to define fixed-pressure boundaries, such as a driven pressure inlet.
| How to use | Provide a scalar pressure value in Pascals (Pa). |
| Example | 101325 applies standard atmospheric pressure to the selected node or region. |
| Unit | Acoustic pressure in Pascals (Pa) |
Absorbing boundary
Section titled βAbsorbing boundaryβApplies a first-order absorbing boundary condition to truncate the computational domain, allowing outgoing acoustic waves to pass through with minimal reflection. Lighter-weight than a Perfectly matched layer β suitable when a simpler setup is acceptable and some small residual reflection is tolerable.
| How to use | Select the outer boundary of the acoustic domain where waves should exit. No additional parameters are needed β the condition automatically matches the acoustic impedance of the medium. |
Periodicity
Section titled βPeriodicityβImposes periodic boundary conditions on the acoustic pressure field between two boundaries. Reduces the computational domain size for geometrically symmetric problems, avoiding the need to model the full geometry.
| Example | Periodicity follows the same principles, regardless of which physics module it belongs to. See how periodicity is used in magnetism as a reference: Periodicity in electric motors |
Acoustic damping
Section titled βAcoustic dampingβApplies acoustic energy dissipation within a region, modelling losses due to porous materials, viscous absorption, or other damping mechanisms. Reduces the acoustic pressure amplitude as waves propagate through the damped region.
| How to use | Select the target region and set the damping value. |
Normal acceleration
Section titled βNormal accelerationβApplies a prescribed normal acceleration to a boundary, acting as an acoustic source. Use this to model vibrating surfaces that radiate sound into the acoustic domain β a loudspeaker cone or a vibrating plate for example.
| How to use | Select the target boundary and set the normal acceleration value. |
| Example | 1.0 applies an inward normal acceleration of 1 m/sΒ² to the boundary. |
| Unit | Acceleration in meters per second squared (m/sΒ²) |
Continuity
Section titled βContinuityβEnsures continuity of the scalar acoustic pressure across an interface between two boundaries. Used to map the acoustic field continuously across mismatched or sliding mesh interfaces.
| Example | Continuity follows the same principles, regardless of which physics module it belongs to. See how continuity is used in magnetism as a reference: Continuity in electric motors |
Couplings to Other Physics
Section titled βCouplings to Other PhysicsβThis formulation supports the following couplings:
- Acoustic structure
- Solid mechanics
- Elastic waves
Compatibilities with analysis types
Section titled βCompatibilities with analysis typesβAcoustic waves supports Harmonic, Multiharmonic, Transient, and Eigenmode analysis. Static analysis is not applicable.
See the full compatibility table in Simulations overview.
Use cases
Section titled βUse casesβ- Acoustic waves - Solid mechanics coupling in a loudspeaker
- Acoustic waves - Elastic waves coupling in a PMUT array
Formulation derivation
Section titled βFormulation derivationβStrong formulation
Section titled βStrong formulationβThis formulation is derived under the linear approximation for Newtonian fluids. The governing equations are the NavierβStokes equations for compressible flow:
For small density and pressure variations the speed of sound in the fluid is given by
We can neglect the viscosity terms in since we are interested only in the region within a few acoustic wavelengths. Considering an inviscid fluid and no external forces, rewrites as
which can, for tiny perturbations, be linearised around a mean value:
where the overlined quantities are the mean values (constant in space and time) and the terms are tiny perturbations. Since the fluid is at rest, . Injecting equations to into equations and and neglecting nonlinear perturbations gives
By algebraic manipulation (using the product rule and the continuity equation multiplied by ) and neglecting secondβorder perturbations we obtain useful approximation
As a result, the two middle terms in the first relation of cancel and we obtain
Taking the divergence of the first relation and the time derivative of the second we get
which can be combined into a single equation
With the isentropic approximation the acoustic wave equation can be written as
with the speed of sound in the fluid and the pressure variation around the mean pressure.
Deriving the weak form
Section titled βDeriving the weak formβFrom this point, is written simply as . To form the weak formulation, multiply both sides by the test function and integrate over the domain :
We can use the Leibniz rule for a nabla operator to rewrite the Laplace term
and then apply the Divergence theorem on the divergence term to obtain the final weak formulation stated at the top of this page.