CoefficientMatrix#

Examples using this class are:

class osaft.solutions.doinikov1994compressible.scattering.CoefficientMatrix(f, R_0, rho_s, c_s, eta_s, zeta_s, rho_f, c_f, eta_f, zeta_f, p_0, wave_type, position)[source]#

Bases: BaseDoinikov1994Compressible

Coefficient Matrix Doinikov (viscous fluid-viscous sphere; 1994)

Parameters:
  • f (Frequency | float | int) – Frequency [Hz]

  • R_0 (Sphere | float | int) – Radius of the sphere [m]

  • rho_s (float) – Density of the sphere [kg/m^3]

  • c_s (float) – Speed of sound of in the sphere [m/s]

  • eta_s (float) – shear viscosity of in the sphere [Pa s]

  • zeta_s (float) – bulk viscosity of in the sphere [Pa s]

  • rho_f (float) – Density of the fluid [kg/m^3]

  • c_f (float) – Speed of sound of the fluid [m/s]

  • eta_f (float) – shear viscosity [Pa s]

  • zeta_f (float) – bulk viscosity [Pa s]

  • p_0 (float) – Pressure amplitude of the field [Pa]

  • position (float) – Position within the standing wave field [m]

  • wave_type (WaveType) – Type of wave, traveling or standing

Public Data Attributes:

x_hat

Product of k_s and R_0 \(\hat{x}=k_s R_0\)

x_hat_v

Product of k_vs and R_0 \(\hat{x}_v=\hat{k}_s R_0\)

Inherited from BaseDoinikov1994Compressible
Inherited from BaseDoinikov1994
Inherited from BaseSphereFrequencyComposite
Inherited from BaseFrequencyComposite
Inherited from BaseSolution

supported_wavetypes

wave_type

returns the wave type of the solution

Public Methods:

det_M_n(n[, column])

Determinant of the matrix M for the mode n

M(n)

Matrix M of order n

N(n)

Vector N

Inherited from BaseDoinikov1994
Inherited from BaseFrequencyComposite

input_variables()

Returns all properties that are settable.

Inherited from BaseSolution

copy()

Returns a copy of the object

check_wave_type()

Checks if wave_type is in supported_wavetypes


A_in(n)#

Wraps to osaft.core.backgroundfields.BackgroundField.A_in

Parameters:

n (int) – mode number

Return type:

complex

M(n)[source]#

Matrix M of order n

Parameters:

n (int) – order

Return type:

ndarray

N(n)[source]#

Vector N

Parameters:

n (int) –

Return type:

ndarray

check_wave_type()#

Checks if wave_type is in supported_wavetypes

Raises:

WrongWaveTypeError – If wave_type is not supported

Return type:

None

copy()#

Returns a copy of the object

Return type:

BaseSolution

det_M_n(n, column=None)[source]#

Determinant of the matrix M for the mode n

Parameters:
  • n (int) – mode

  • column (None | int, optional) – the l`th coefficient is replaced with the vector `N

    Default: None

Return type:

complex

classmethod input_variables()#

Returns all properties that are settable.

Returns a list of the names of all properties that are settable, i.e. all properties that wrap a PassiveVariable.

Return type:

list[str]

property R_0: float#

Wrapper for osaft.core.geometries.Sphere.R_0

property abs_pos: float#

Wraps to osaft.core.backgroundfields.BackgroundField.abs_pos

property area: float#

Wrapper for osaft.core.geometries.Sphere.area

property c_f: float#

Wraps to osaft.core.fluids.ViscousFluid.c_f

property c_s: float#

Wraps to osaft.core.fluids.ViscousFluid.c_f

property delta: float#

Wraps to osaft.core.fluids.ViscousFluid.delta

property eta_f: float#

Wraps to osaft.core.fluids.ViscousFluid.eta_f

property eta_s: float#

Wraps to osaft.core.fluids.ViscousFluid.eta_f

property f: float#

wrapper for osaft.core.frequency.Frequency.f

property k_f: complex#

Wraps to osaft.core.fluids.ViscousFluid.k_f

property k_s: complex#

Wraps to osaft.core.fluids.ViscousFluid.k_f

property k_v: complex#

Wraps to osaft.core.fluids.ViscousFluid.k_v

property k_vs: complex#

Wraps to osaft.core.fluids.ViscousFluid.k_v

property kappa_f: float#

Wraps to osaft.core.fluids.ViscousFluid.kappa_f

property kappa_s: float#

Wraps to osaft.core.fluids.ViscousFluid.kappa_f

property norm_delta: float#

normalized viscous boundary thickness \(\tilde{\delta}=\frac{\delta}{R_0}\)

property omega: float#

wrapper for osaft.core.frequency.Frequency.omega

property p_0: float#

Wraps to osaft.core.backgroundfields.BackgroundField.p_0

property position: float#

Wraps to osaft.core.backgroundfields.BackgroundField.position

property rho_f: float#

Wraps to osaft.core.fluids.ViscousFluid.rho_f

property rho_s: float#

Wraps to osaft.core.solids.RigidSolid.rho_s

property rho_t: float#

Returns the ratio of the densities \(\tilde{\rho}=\frac{\rho_f}{\rho_s}\)

property volume: float#

Wrapper for osaft.core.geometries.Sphere.volume

property wave_type: WaveType#

Wraps to osaft.core.backgroundfields.BackgroundField.wave_type

property x: complex#

Product of k_f and R_0 \(\hat{x}=k_f R_0\)

property x_0: complex#

Real part of \(x\)

property x_hat: complex#

Product of k_s and R_0 \(\hat{x}=k_s R_0\)

property x_hat_v: complex#

Product of k_vs and R_0 \(\hat{x}_v=\hat{k}_s R_0\)

property x_v: complex#

Product of k_v and R_0 \(x_v=k_v R_0\)

property zeta_f: float#

Wraps to osaft.core.fluids.ViscousFluid.zeta_f

property zeta_s: float#

Wraps to osaft.core.fluids.ViscousFluid.zeta_f