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:
Background pressure amplitude of the acoustic field [Pa]
Wave type of the acoustic background field
Position of the particle in an acoustic standing wave field [rad]
Absolute position of the scatterer in the standing wave in [m]
Amplitude of the pressure wave [Pa]
\(A\,\text{conj}(A) = |A|^2\) [Pa^2]
Mean acoustic energy density [J/m^3]
Acoustic intensity / energy flux density [W/m^2]
wrapper for
osaft.core.fluids.InviscidFluid.f
wrapper for
osaft.core.fluids.InviscidFluid.omega
wrapper for
osaft.core.fluids.InviscidFluid.c_f
wrapper for
osaft.core.fluids.InviscidFluid.rho_f
wrapper for
osaft.core.fluids.ViscousFluid.eta_f
wrapper for
osaft.core.fluids.ViscousFluid.zeta_f
wrapper for
osaft.core.fluids.ViscoelasticFluid.eta_p
wrapper for
osaft.core.fluids.ViscoelasticFluid.zeta_p
wrapper for
osaft.core.fluids.ViscoelasticFluid.lambda_M
wrapper for
osaft.core.fluids.InviscidFluid.lambda_f
wrapper for
osaft.core.fluids.InviscidFluid.k_f
wrapper for
osaft.core.fluids.ViscousFluid.k_v
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