acoustotreams.AcousticMaterial

class acoustotreams.AcousticMaterial(rho=1.3, c=343.0, ct=0.0)[source]

Material definition.

The material properties are defined in the frequency domain through scalar values for density \(\rho\), the speed of longitudinal elastic waves \(c\), and the speed of transverse elastic waves \(c\). Materials are, thus, assumed to be linear, time-invariant, homogeneous, isotropic, and local. Moreover, it is assumed that they have no gain.

Parameters:
  • rho (optional, complex) – Mass density. Defaults to 1.3 [kg/m^3].

  • c (optional, complex) – Longitudinal speed of sound. Defaults to 343 [m/s].

  • ct (optional, complex) – Transverse speed of sound. Defaults to 0 [m/s].

Attributes

c

Speed of longitudinal elastic waves.

ct

Speed of transverse elastic waves.

impedance

Relative impedance for longitudinal waves.

impedancet

Relative impedance for transverse waves..

isreal

Test if the material has purely real parameters.

isshear

Test if the material supports transverse (shear) elastic waves.

rho

Mass density.

Methods

__call__()

Return a tuple containing all material parameters.

__eq__(other)

Compare material parameters.

__ge__(value, /)

Return self>=value.

__gt__(value, /)

Return self>value.

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__repr__()

Representation that allows recreating the object.

__str__()

All three material parameters.

from_params([rho, params])

Create acoustic material from Lamé parameters.

from_pratio([rho, c, pratio])

Create acoustic material from Poisson's ratio.

krhos(k0, kz)

The (cylindrically) radial part of the wave vector for longitudinal waves .

krhost(k0, kz)

The (cylindrically) radial part of the wave vector for transverse waves.

ks(k0)

Return the wave number of longitudinal waves in the medium.

kst(k0)

Return the wave number of transverse waves in the medium.

kzs(k0, kx, ky)

The z-component of the wave vector for longitudinal waves.

kzst(k0, kx, ky)

The z-component of the wave vector for transverse waves.

__ne__(value, /)

Return self!=value.

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.