pyva.systems.infiniteLayers.FluidLayer
- class pyva.systems.infiniteLayers.FluidLayer(thickness, fluid=<class 'pyva.properties.materialClasses.Fluid'>)
Bases:
AcousticLayer
The FluidLayer class deals with the infinite layers of fluid
- thickness
thickness of the layer
- Type:
float
- fluid
Fluid of the layer. The default is mc.Fluid.
- Type:
fluid, optional
- ID
[left ID, right ID] of fluid layer
- Type:
list of int
- __init__(thickness, fluid=<class 'pyva.properties.materialClasses.Fluid'>)
Constructor of FluidLayer
- Parameters:
thickness (float) – thickness of the layer
fluid (fluid, optional) – Fluid of the layer. The default is mc.Fluid.
ID (list of int) – [left ID, right ID] of fluid layer
- Return type:
None.
Methods
__init__
(thickness[, fluid])Constructor of FluidLayer
get_xdata
(omega, kx)Determine the appropriate xdata from omega and kx.
transfer_impedance
(omega[, kx, ID])Transferimpedance of fluid layer
Attributes
Determine if layer is of type equivalent fluid
- static get_xdata(omega, kx)
Determine the appropriate xdata from omega and kx.
Infinite Layer theory often involves integration over wavenumber. Thus, the kx is the integration variable.
If omega is scalar xdata will be wavenumber in x (kx) if kx is scalar xdata will be angular frequency if kx and omega have same dimension it is assumed that kx belongs to a constant angle and is given by kx = omega/c0*sin(theta) and xdata will be angular frequency
- Parameters:
omega (float or ndarray) – angular frequency
kx (float or ndarray) – wavenumber
- Returns:
wavenumber or omega as DataAxis object
- Return type:
- property isequivalentfluid
Determine if layer is of type equivalent fluid
Defauls parameter is True
- Returns:
True.
- Return type:
bool
- transfer_impedance(omega, kx=0, ID=[1, 2])
Transferimpedance of fluid layer
- Parameters:
omega (float or ndarray) – scalar angular frequency
kx (float or ndarray, optional) – In-plane wavenumber. The default is 0.
ID (list of int, optional) – Left and right when overwritten, None takes object ID. The default is None.
- Returns:
[2 x 2] array of transferimpedance
- Return type: