Theory
The acoustic model solves the Helmholtz equation with second-order (P2) tetrahedra. A wave is represented only when the elements are small compared with its wavelength ; the shortest wavelength is that at . On auto the maximum element size is the shortest wavelength divided by , equation (1), passed to the mesher Gmsh as its maximum size Mesh.MeshSizeMax (Gmsh reference manual, 2025). With the medium mapped from the flow solution, the sound speed varies with the temperature and each point uses its own value, , so a hot region is meshed more coarsely than a cold one.
With mean-flow convection on, a wave travelling against a flow of Mach number has the shorter wavelength . is therefore raised to , equation (2), with the largest Mach number of the mapped flow (clipped at 0.5).
On compact mufflers the Curvature factor usually sets the element size rather than the wavelength: on case V1 (a 2.0 m multi-chamber muffler with a perforated pipe and three absorptive packings) at 500 Hz, raising from 10 to 16 changes the mesh from 21k to 23k tetrahedra.
After meshing, the resolution gate counts the elements per wavelength the mesh actually has, equation (3): the wavelength at (the local one with a mapped medium) divided by the mean edge length of each element, judged on the worst element. Delaunay tetrahedra come out up to about 1.3 times the requested maximum size, so the gate is applied to the mesh as built, not to the setting.
Equations
| where | meaning | unit |
|---|---|---|
| Elements per wavelength (setting) | - | |
| Maximum element size given to the mesher | m | |
| Shortest wavelength, at | m | |
| Sound speed (smallest in the model, or local with a mapped medium) | m/s | |
| Highest frequency of the sweep | Hz | |
| Largest Mach number of the mapped mean flow, at most 0.5 | - | |
| Elements per wavelength of element as built | - | |
| Sound speed at the element (local with a mapped medium) | m/s | |
| Mean length of the six edges of element | m |
Default and rule
- Default
- auto: 10Computed by the programMeasured
- Rule
Auto = 10. A typed value is used as typed.
- Source
The default of 10 is set together with the curvature-driven acoustic mesh settings, based on comparisons with a reference finite-element solution on an extremely fine mesh (case V1); on those models the curvature factor, not , decides the agreement. In the expansion-chamber validation the transmission loss is mesh independent to below 0.01 dB for 6, 10 and 16 elements per wavelength (0.8333 / 0.8330 / 0.8325 dB at the worst frequency), because the mesh is curvature limited.
The gate limits 4 and 5 are the program's choice of what P2 elements need; they are not derived from a published criterion. Because of the dispersion error of finite elements for the Helmholtz equation, a fixed count per wavelength is not exact at high frequencies.
Valid range warning below 4; gate: warn below 5, fail below 4 elements per wavelength as built
Values
The program does not limit the number. Below 4 the Mesh step warns that P2 elements need at least 4.
Resolution gate
Fails when the worst element has fewer than 4 elements per wavelength at ; warns below 5.
Absorptive packing
Packing regions are meshed with the gas wavelength; their own, shorter wavelength is reported separately by the acoustic quality check.