pyva.systems.acoustic1Dsystems.HelmholtzResonator
- class pyva.systems.acoustic1Dsystems.HelmholtzResonator(volume, length, radius, fluid=Fluid(c0=air, rho0=1.23, eta=0.01), length_correction_factor=1.7, **kwargs)
Bases:
object
The HelmholtzResonator class provides methods for modelling of HR
- volume
- Type:
volume of the resonace volume
- length
- Type:
length of the neck
- radius
- Type:
radius of neck
- length_correction
- Type:
sum of upper and lower correction part
- Fluid
- Type:
fluid in the system
- end_impedance
- Type:
function handle for end transfer impedance
- __init__(volume, length, radius, fluid=Fluid(c0=air, rho0=1.23, eta=0.01), length_correction_factor=1.7, **kwargs)
Class contructor for helholtzResonator
- Parameters:
volume (float) – volume of the resonace volume
length (float) – length of the neck
radius (float) – radius of neck
length_correction_factor (float) – sum of upper and lower end correction as factor of radius
fluid (fluid) – fluid in the system
KwArgs (dict) – Arbitrary keyword parameter list
end_impedance (function) – radiation impedance of end correction
Methods
__init__
(volume, length, radius[, fluid, ...])Class contructor for helholtzResonator
acoustic_FE
(omega[, ID])Acoustic Point Element of HR
Angular resonance frequency of HR
radiation_impedance
(omega)Radiation impedance of a HelmholtzResonator Za = p/Q
Attributes
Area property
- acoustic_FE(omega, ID=[1], **kwargs)
Acoustic Point Element of HR
A p = q with A = 1/Z_rad
Uses the HR radiation impedance to determine the properties of this point element.
- Parameters:
omega (float) – angular frequency.
ID (list of int) – node ID.
- Returns:
single DOF FE representation of HR
- Return type:
Dynamic matrix
- property area
Area property
- Returns:
area.
- Return type:
float
- omega_resonance()
Angular resonance frequency of HR
Assumes the resistance free resonance frequency
- Returns:
resonance angular frequency
- Return type:
float
- radiation_impedance(omega)
Radiation impedance of a HelmholtzResonator Za = p/Q
- Parameters:
omega (float) – angular frequency.
- Returns:
Z – radiation impedance.
- Return type:
complex