acoustic_screen
Calculates closed-form acoustic values for cavity modes, Helmholtz resonance, mass-law TL, and duct cutoff. Use for quick screening without a full FEM solve.
Instructions
Closed-form acoustics screen (NO solver). kind: 'cavity_modes' (lx/ly/lz_mm
-> the lowest n_modes rigid-cavity eigenfrequencies f=(c/2)·√(Σ(n/L)²) with
[nx,ny,nz] indices — exact, and the future oracle for the planned Elmer
HelmholtzSolve FEM) | 'helmholtz' (neck_area_mm2 + neck_length_mm +
cavity_volume_mm3 -> resonance with flanged end correction — ±10 %) |
'mass_law' (frequency_hz + surface_density_kg_m2 -> limp-wall TL =
20·log₁₀(f·m″)−47 dB — ±3 dB) | 'duct_cutoff' (duct_width_mm or
duct_diameter_mm -> first cross-mode; plane waves only below — exact). Sound
speed from air at t_ambient_c unless c_m_s given. Fidelity is labeled per kind;
escalate to the Elmer acoustic_fem_submit solve (Tier B1) when the margin is
within ~2× the band.
Returns {kind, c_m_s, fidelity, band_pct, band_db, valid_range_ok, warnings, escalate_to} plus per kind: {modes:[{f_hz,n}], f_fundamental_hz} | {f_resonance_hz, neck_radius_mm, l_eff_mm} | {tl_db, fm_product} | {f_cutoff_hz, geometry}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| c_m_s | No | ||
| lx_mm | No | ||
| ly_mm | No | ||
| lz_mm | No | ||
| n_modes | No | ||
| t_ambient_c | No | ||
| frequency_hz | No | ||
| duct_width_mm | No | ||
| neck_area_mm2 | No | ||
| neck_length_mm | No | ||
| duct_diameter_mm | No | ||
| cavity_volume_mm3 | No | ||
| surface_density_kg_m2 | No |