Expand description
Analytical solutions for wave equation validation
This module provides exact solutions to acoustic scattering problems used to validate numerical methods (BEM, FEM).
§Available Solutions
- 1D: Plane wave, standing wave, damped wave
- 2D: Cylinder scattering (Bessel/Hankel series)
- 3D: Sphere scattering (Mie theory)
Modules§
- solutions_
1d - 1D Analytical Solutions
- solutions_
2d - 2D Analytical Solutions
- solutions_
3d - 3D Analytical Solutions
Structs§
- Analytical
Solution - Analytical solution result
- Point
- Point in space (1D, 2D, or 3D)
Constants§
- SPEED_
OF_ SOUND - Default speed of sound (m/s)
Functions§
- classify_
regime - Classify scattering regime based on ka
- cylinder_
directivity_ 2d - Pressure directivity pattern (far-field)
- cylinder_
scattering_ 2d - Cylinder scattering: rigid circular cylinder in a plane wave
- cylinder_
scattering_ cross_ section_ 2d - Total scattering cross-section (2D)
- damped_
wave_ 1d - 1D wave with absorption: p(x) = exp(-(α + ik)x)
- helmholtz_
1d_ mode - 1D Helmholtz solution in a bounded domain [0, L]
- legendre_
p - Legendre polynomial Pₙ(x)
- plane_
wave_ 1d - 1D plane wave: p(x) = exp(ikx)
- plane_
wave_ 2d - 2D plane wave: p(x,y) = exp(ik(x cos θ + y sin θ))
- plane_
wave_ 3d - 3D plane wave: p(x,y,z) = exp(ik·r)
- point_
source_ 3d - Point source (monopole): G(r) = exp(ikr)/(4πr)
- sphere_
rcs_ 3d - Radar Cross Section (RCS) for sphere
- sphere_
scattering_ 3d - Sphere scattering: rigid sphere in a plane wave (Mie theory)
- sphere_
scattering_ efficiency_ 3d - Scattering efficiency Q_scat = σ / (πa²)
- spherical_
bessel_ j - Spherical Bessel function jₙ(x)
- spherical_
bessel_ y - Spherical Bessel function yₙ(x) (Neumann function)
- standing_
wave_ 1d - 1D standing wave: p(x) = sin(kx)