RunMat
  • Pricing
RunMat
GitHub
GitHub
Sign inTry in browser
DesktopRuntimePhysicsCADAdministrationAgent

Get RunMat updates

New releases, guides and examples.

Product+
  • Runtime
  • GPU
  • Parallel
  • Compile
  • Interop and MEX
  • Simulation
  • MCAD
  • ECAD
  • Enterprise
  • AI integrations
  • Pricing
  • Download
Math+
  • Signal processing
  • Linear algebra
  • Statistics
  • Curve fitting
  • Differential equations
  • Control systems
  • Optimization
  • Finance
  • Data and tables
  • Plotting
Physics+
  • Simulation overview
  • Structural
  • Thermal
  • Electromagnetic
  • Joule heating
  • Thermal stress
  • Acoustics
  • Fluid flow
  • Conjugate heat transfer
  • Fluid–structure
  • What is FEA
Industries+
  • Aerospace
  • Automotive and transportation
  • Defense
  • Electronics and semiconductors
  • Energy
  • Industrial machinery
  • Life sciences
  • Quantitative finance
Learn+
  • Guides
  • Docs
  • Function reference
  • Language reference
  • Migration guide
  • Changelog
  • MATLAB Online
  • MATLAB AI agent
  • For students
Compare+
  • RunMat vs MATLAB
  • RunMat vs Ansys
  • RunMat vs SOLIDWORKS
  • RunMat vs Altium
  • RunMat vs Cadence
  • RunMat vs COMSOL
  • RunMat vs Python
  • RunMat vs Julia
  • RunMat vs Physics AI
  • RunMat vs Octave
  • Benchmarks
  • MATLAB alternatives
  • All comparisons
Company+
  • About
  • Blog
  • Contact
  • Source code↗
  • License
  • Privacy
  • Terms

Product

  • Runtime
  • GPU
  • Parallel
  • Compile
  • Interop and MEX
  • Simulation
  • MCAD
  • ECAD
  • Enterprise
  • AI integrations
  • Pricing
  • Download

Math

  • Signal processing
  • Linear algebra
  • Statistics
  • Curve fitting
  • Differential equations
  • Control systems
  • Optimization
  • Finance
  • Data and tables
  • Plotting

Physics

  • Simulation overview
  • Structural
  • Thermal
  • Electromagnetic
  • Joule heating
  • Thermal stress
  • Acoustics
  • Fluid flow
  • Conjugate heat transfer
  • Fluid–structure
  • What is FEA

Industries

  • Aerospace
  • Automotive and transportation
  • Defense
  • Electronics and semiconductors
  • Energy
  • Industrial machinery
  • Life sciences
  • Quantitative finance

Learn

  • Guides
  • Docs
  • Function reference
  • Language reference
  • Migration guide
  • Changelog
  • MATLAB Online
  • MATLAB AI agent
  • For students

Compare

  • RunMat vs MATLAB
  • RunMat vs Ansys
  • RunMat vs SOLIDWORKS
  • RunMat vs Altium
  • RunMat vs Cadence
  • RunMat vs COMSOL
  • RunMat vs Python
  • RunMat vs Julia
  • RunMat vs Physics AI
  • RunMat vs Octave
  • Benchmarks
  • MATLAB alternatives
  • All comparisons

Company

  • About
  • Blog
  • Contact
  • Source code↗
  • License
  • Privacy
  • Terms
GitHubXLinkedIn

© Dystr, Inc. · RunMat v0.7.1, Nov 17, 2026

RunMat® is a registered trademark of Dystr, Inc. MATLAB® is a registered trademark of The MathWorks, Inc. RunMat is not affiliated with, endorsed by, or sponsored by The MathWorks, Inc.

/
    • Overview
    • Structural
    • Thermal
    • Electromagnetic
    • Trace impedance
    • Acoustics
    • Fluid flow
    • Thermal stress
    • Joule heating
    • Conjugate heat transfer
    • Fluid–structure
Docs>Physics>Physics

Acoustics

Acoustic analysis predicts pressure modes and pressure response in a fluid domain. The physical model needs density and sound speed, a pressure/velocity source, and boundary behavior such as a rigid wall, radiation condition, or impedance. RunMat does not infer those conditions from CAD face names or from an enclosed-looking volume.

The .fea language checks static, modal, transient, harmonic, and nonlinear acoustic procedure contracts. The Rust numerical library has a canonical Tet4/Tet10 harmonic entry, physics::acoustic::solve_canonical_harmonic, with exact pressure, normal-velocity, rigid-wall and positive real impedance boundaries. The public typed .fea executor does not connect that entry end to end. The older reduced acoustic Helmholtz graph remains separately identified as a proxy; it is not the canonical FE formulation.

The canonical acoustic qualification record states the independent references, supported library envelope and outstanding gates.

What acoustic equation is represented?

For small-amplitude harmonic pressure p^\hat pp^​ in a homogeneous medium,

∇2p^+k2p^=−q^,k=ωc,\nabla^2\hat p+k^2\hat p=-\hat q,\qquad k=\frac{\omega}{c},∇2p^​+k2p^​=−q^​,k=cω​,

with pressure, normal-velocity, impedance, rigid-wall, radiation, or periodic boundary conditions. An impedance boundary has the frequency-domain form

p^=Zv^n.\hat p=Z\hat v_n.p^​=Zv^n​.

Air with loss is described per material by damping_ratio ζ\zetaζ in the acoustic block: the bulk modulus becomes complex, K(1+iη)K(1+i\eta)K(1+iη) with loss factor η=2ζ\eta=2\zetaη=2ζ, so the sound speed is c1+iηc\sqrt{1+i\eta}c1+iη​ and a resonance's half-power bandwidth is η\etaη times its frequency. Harmonic studies apply it region by region.

The implemented reduced component constructs a bounded structured graph from the analysis model, uses nearest-neighbor Laplacian weights 1/hd21/h_d^21/hd2​, adds k2k^2k2 and damping/boundary diagonal terms, maps pressure sources onto graph nodes, and solves the complex Helmholtz system. Its admitted realization is named ReducedAcousticHelmholtz; source evidence distinguishes a hashed-target graph projection from a synthetic fallback. This component is useful for pipeline integration and diagnostics; it is not a general solver for arbitrary CAD acoustics.

Which acoustic procedures are defined?

ProcedureRequired domain/stateCurrent numerical status
acoustic staticStatic pressure stateTyped contract; reduced component is harmonic, not static
acoustic modalPositive mode count; acoustic modes stateCanonical Tet4/Tet10 pressure eigen-solve; publishes modal.frequency_hz, modal.eigenvalue and one acoustic.mode_shape.<mode> field per mode
acoustic transientTime samples; acoustic pressure stateCanonical Tet4/Tet10 Newmark pressure solve; standalone studies publish retained nodal pressure snapshots, time and energy series, and authored native nodal pressure histories sampled over time. Without an authored history, only the final pressure snapshot is retained.
acoustic harmonicFrequency samples and complex pressureCanonical Tet4/Tet10 complex pressure; one certified sparse LU per frequency solves and proves the operator nonsingular; publishes acoustic.pressure, acoustic.particle_velocity and acoustic.intensity at every frequency, and authored outputs (pressure, level in dB re 20 µPa) at the sampled frequencies
acoustic nonlinearLoad-factor domainTyped contract only

No unsupported procedure is approximated by silently selecting the reduced harmonic component. Standalone cavity-mode studies do not admit authored observations. Standalone pressure transients admit history outputs of scalar acoustic_pressure at native nodes with every-accepted-step, explicit-time, or time-interval sampling. Final-only history and other observation kinds, locations, recoveries, and sampling domains are rejected. Explicit times must uniquely resolve to accepted transient grid points; the original authored time labels remain in the history.

How do I describe an acoustic cavity modal study?

model cavity_model {
    assign material.air to geometry.cavity.region.fluid
    constraint pressure_reference {
        acoustic.pressure {
            target = geometry.cavity.region.reference_face
            value = 0 Pa
        }
    }
}

study cavity_modes {
    geometry = geometry.cavity
    mesh = mesh.cavity
    model = model.cavity_model
    analysis modes { acoustic modal { modes = 20 } }
}

The discrete eigenproblem is Kpϕi=ωi2Mpϕi\mathsf K_p\boldsymbol\phi_i=\omega_i^2\mathsf M_p\boldsymbol\phi_iKp​ϕi​=ωi2​Mp​ϕi​. runmat run solves it on the canonical mesh and publishes each natural frequency with its pressure mode shape and residual.

How do I apply an acoustic pressure or speaker velocity?

signal drive : velocity over frequency {
    samples = [
        { at = 100 Hz, value = 0.005 m/s },
        { at = 1000 Hz, value = 0.010 m/s },
    ]
    interpolation = linear
    extrapolation = reject
}

excitation speaker {
    normal_velocity {
        target = geometry.cavity.region.driver
        signal = signal.drive
    }
}

Use acoustic_pressure for a pressure drive and normal_velocity for a boundary velocity. The signal quantity, frequency domain, interpolation, and complex/real shape must match the excitation. Static direct forms are available when one constant value is sufficient.

How do I model rigid, radiating, or impedance boundaries?

load enclosure {
    acoustic.rigid_wall { target = geometry.duct.region.walls }
}

load termination {
    acoustic.impedance {
        target = geometry.duct.region.outlet
        impedance = 415 Pa*s/m
    }
}
  • acoustic.rigid_wall imposes zero normal velocity.
  • acoustic.radiation represents an outgoing-wave truncation.
  • acoustic.impedance relates pressure and normal velocity through the declared specific impedance.
  • acoustic.pressure prescribes the primary pressure unknown.
  • periodic and phase-shifted periodic constraints pair repeating acoustic boundaries.

These are different physical models. A radiation boundary is not a generic replacement for a measured termination impedance, and a pressure reference is not an absorbing boundary.

Why are my acoustic resonances or sound levels wrong?

Investigate:

  • wrong geometry units or sound speed;
  • a missing pressure reference for a formulation that needs one;
  • rigid-wall assumptions on openings that should radiate;
  • source area/direction or impedance units that do not match the experiment;
  • insufficient spatial resolution relative to wavelength λ=c/f\lambda=c/fλ=c/f;
  • frequency samples that skip narrow resonances;
  • damping or boundary loss added without physical basis;
  • reduced/synthetic realization evidence where full CAD-backed FE accuracy is required.

Pressure amplitude, RMS pressure, and sound-pressure level are not interchangeable. When SPL is reported, its reference pressure and amplitude convention must be part of the output definition:

Lp=20log⁡10 ⁣(prmspref).L_p=20\log_{10}\!\left(\frac{p_{rms}}{p_{ref}}\right).Lp​=20log10​(pref​prms​​).

See acoustic constraints, acoustic loads, fluid–structure interaction, outputs, and current status.

On this page
  • What acoustic equation is represented?
  • Which acoustic procedures are defined?
  • How do I describe an acoustic cavity modal study?
  • How do I apply an acoustic pressure or speaker velocity?
  • How do I model rigid, radiating, or impedance boundaries?
  • Why are my acoustic resonances or sound levels wrong?