pyva.systems.acoustic1Dsystems.MassStiffness
- class pyva.systems.acoustic1Dsystems.MassStiffness(mass, stiffness, area=1.0, damping=0, vdamping=0)
Bases:
LumpedAcoustic
The MassStiffness class provides a generic mass, spring and damping element in an acoustic 1D network
- mass
- Type:
of the layer in the 1D element
- stiffness
- Type:
of the layer in the 1D element
- area
- Type:
the mass/stiffness is extended over
- vdamping
- Type:
vicous damping
- damping
- Type:
damping loss
- __init__(mass, stiffness, area=1.0, damping=0, vdamping=0)
Class contructor for MassStiffness objects
- Parameters:
mass (float) – of the layer in the 1D element
stiffness (float) – of the layer in the 1D element
area (float) – area of the mass/stiffness is extended over
vdamping (float) – vicous damping
damping (float) – damping loss of the tube
Examples
import acoustic1Dsystems as ac1Dsys myTube = ac1Dsys.1Dlumped(1,0)
Methods
Signal
(omega)generates a Signal from the requested frequency range
__init__
(mass, stiffness[, area, damping, ...])Class contructor for MassStiffness objects
acoustic_FE
(omega[, ID])Acoustic Finite Element of MassLayers
plot
(omega[, fig])Plots the transfer impedance for the related part
radiation_impedance
(omega)transfer_impedance
(omega[, ID])Transferimpedance of LumpedAcoustic
Attributes
Mass per area
Stiffness per area
- Signal(omega)
generates a Signal from the requested frequency range
- Parameters:
omega (float) – angular frequency.
- Returns:
slope of transfer impedance.
- Return type:
- acoustic_FE(omega, ID=[1, 2], **kwargs)
Acoustic Finite Element of MassLayers
Takes simple 1D transmission line model based on AcousticTube properties to model the so mobility matrix, given by
- Parameters:
omega (float) – angular frequency.
ID (list of int, optional) – IDs of element ports. The default is [1,2].
- Returns:
Mobility matrix of limped acoustic
- Return type:
- property mass_per_area
Mass per area
- Returns:
specific mass per area.
- Return type:
float
- plot(omega, fig=1, **kwargs)
Plots the transfer impedance for the related part
- Parameters:
omega (float) – angular frequency.
fig (int, optional) – figure ID. The default is 1.
**kwargs (dict) – Arbitrary keyword parameter list passed to Signal.plot.
- Return type:
None.
- property stiffness_per_area
Stiffness per area
- Returns:
ftiffness per area.
- Return type:
float
- transfer_impedance(omega, ID=[1, 2], **kwargs)
Transferimpedance of LumpedAcoustic
Takes simple 1D transmission line model based on AcousticTube properties to model the so called transfer impedance, given by
This class is an abstrat class that has no implementation of the specific transfer impedance. This must be done by the daughter classes
- Parameters:
omega (float) – angular frequency
ID (list of int) – IDs of the two ports
- Returns:
[2 x 2] array of transferimpedance
- Return type: