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]

property E_ac: float#

Mean acoustic energy density [J/m^3]

property I_ac: float#

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

property abs_A_squared: float#

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

property abs_pos: float#

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

property c_f: float#

wrapper for osaft.core.fluids.InviscidFluid.c_f

property eta_f: float#

wrapper for osaft.core.fluids.ViscousFluid.eta_f

property eta_p: float#

wrapper for osaft.core.fluids.ViscoelasticFluid.eta_p

property f: float#

wrapper for osaft.core.fluids.InviscidFluid.f

property k_f: float#

wrapper for osaft.core.fluids.InviscidFluid.k_f

property k_v: complex#

wrapper for osaft.core.fluids.ViscousFluid.k_v

property kappa_f: float#

wrapper for osaft.core.fluids.ViscousFluid.kappa_f

property lambda_M: float#

wrapper for osaft.core.fluids.ViscoelasticFluid.lambda_M

property lambda_f: float#

wrapper for osaft.core.fluids.InviscidFluid.lambda_f

property omega: float#

wrapper for osaft.core.fluids.InviscidFluid.omega

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()

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()

property rho_f: float#

wrapper for osaft.core.fluids.InviscidFluid.rho_f

property wave_type: WaveType#

Wave type of the acoustic background field

Getter:

returns the wave type

Setter:

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

property zeta_f: float#

wrapper for osaft.core.fluids.ViscousFluid.zeta_f

property zeta_p: float#

wrapper for osaft.core.fluids.ViscoelasticFluid.zeta_p