BackgroundField

class osaft.core.backgroundfields.BackgroundField(fluid, p_0, wave_type=WaveType.STANDING, position=None)[source]

Bases: object

BackgroundField class which is a base class for all background field classes

Parameters
  • fluid (InviscidFluid) – fluid for to be used for the background field

  • p_0 (float) – pressure amplitude in [Pa]

  • wave_type (WaveType, optional) – wave type: either standing or traveling / travelling

    Default: WaveType.STANDING

  • position (None | float, optional) – position of the scatterer in the standing wave in [rad]

    Default: None

Public Data Attributes:

p_0

Background pressure amplitude of the acoustic field [Pa]

wave_type

Wave type of the acoustic background field

position

Position of the particle in an acoustic standing wave field [rad]

abs_pos

Absolute position of the scatterer in the standing wave in [m]

A

Amplitude of the pressure wave [Pa]

abs_A_squared

\(A\,\text{conj}(A) = |A|^2\) [Pa^2]

E_ac

Mean acoustic energy density [J/m^3]

I_ac

Acoustic intensity / energy flux density [W/m^2]

f

wrapper for osaft.core.fluids.InviscidFluid.f

omega

wrapper for osaft.core.fluids.InviscidFluid.omega

c_f

wrapper for osaft.core.fluids.InviscidFluid.c_f

rho_f

wrapper for osaft.core.fluids.InviscidFluid.rho_f

eta_f

wrapper for osaft.core.fluids.ViscousFluid.eta_f

zeta_f

wrapper for osaft.core.fluids.ViscousFluid.zeta_f

eta_p

wrapper for osaft.core.fluids.ViscoelasticFluid.eta_p

zeta_p

wrapper for osaft.core.fluids.ViscoelasticFluid.zeta_p

lambda_M

wrapper for osaft.core.fluids.ViscoelasticFluid.lambda_M

lambda_f

wrapper for osaft.core.fluids.InviscidFluid.lambda_f

k_f

wrapper for osaft.core.fluids.InviscidFluid.k_f

k_v

wrapper for osaft.core.fluids.ViscousFluid.k_v

kappa_f

wrapper for osaft.core.fluids.ViscousFluid.kappa_f

Public Methods:

A_in(n)

Incident amplitude at order n [Pa]


A_in(n)[source]

Incident amplitude at order n [Pa]

Parameters

n (int) – order

Return type

complex

property A: complex

Amplitude of the pressure wave [Pa]

Return type

complex

property E_ac: float

Mean acoustic energy density [J/m^3]

Return type

float

property I_ac: float

Acoustic intensity / energy flux density [W/m^2]

Return type

float

property abs_A_squared: float

\(A\,\text{conj}(A) = |A|^2\) [Pa^2]

Return type

float

property abs_pos: float

Absolute position of the scatterer in the standing wave in [m]

Return type

float

property c_f: float

wrapper for osaft.core.fluids.InviscidFluid.c_f

Return type

float

property eta_f: float

wrapper for osaft.core.fluids.ViscousFluid.eta_f

Return type

float

property eta_p: float

wrapper for osaft.core.fluids.ViscoelasticFluid.eta_p

Return type

float

property f: float

wrapper for osaft.core.fluids.InviscidFluid.f

Return type

float

property k_f: float

wrapper for osaft.core.fluids.InviscidFluid.k_f

Return type

float

property k_v: complex

wrapper for osaft.core.fluids.ViscousFluid.k_v

Return type

complex

property kappa_f: float

wrapper for osaft.core.fluids.ViscousFluid.kappa_f

Return type

float

property lambda_M: float

wrapper for osaft.core.fluids.ViscoelasticFluid.lambda_M

Return type

float

property lambda_f: float

wrapper for osaft.core.fluids.InviscidFluid.lambda_f

Return type

float

property omega: float

wrapper for osaft.core.fluids.InviscidFluid.omega

Return type

float

property p_0: float

Background pressure amplitude of the acoustic field [Pa]

Getter

returns the value for the pressure amplitude

Setter

automatically invokes osaft.core.variable.BaseVariable.notify()

Return type

float

property position: float

Position of the particle in an acoustic standing wave field [rad]

Getter

returns the wave type

Setter

automatically invokes osaft.core.variable.BaseVariable.notify()

Return type

float

property rho_f: float

wrapper for osaft.core.fluids.InviscidFluid.rho_f

Return type

float

property wave_type: WaveType

Wave type of the acoustic background field

Getter

returns the wave type

Setter

automatically invokes osaft.core.variable.BaseVariable.notify()

Return type

WaveType

property zeta_f: float

wrapper for osaft.core.fluids.ViscousFluid.zeta_f

Return type

float

property zeta_p: float

wrapper for osaft.core.fluids.ViscoelasticFluid.zeta_p

Return type

float