ARF#
Examples using this class are:
Acoustofluidics 2022: ARF Comparison
Frontiers: HFE Droplet in Water
Frontiers: PS Particle in Water
- class osaft.solutions.gorkov1962.arf.ARF(f, R_0, rho_s, c_s, rho_f, c_f, p_0, wave_type, position=None)[source]#
Bases:
BaseARF
,BaseSphereFrequencyComposite
,BaseSolution
ARF class for Gor’kov (1962)
The standing wave solution is based on equation (13) of the paper and the traveling wave solution on equation (10).
Note
This model is based on the following assumptions:
\(\lambda\gg R\)
Inviscid fluid
Compressible (fluid-like) sphere
- Parameters:
f (Frequency | float | int) – Frequency [Hz]
R_0 (Sphere | float | int) – Radius of the sphere [m]
rho_s (float) – Density of the fluid-like sphere [kg/m^3]
c_s (float) – Speed of sound of the fluid-like sphere [m/s]
rho_f (float) – Density of the fluid [kg/m^3]
c_f (float) – Speed of sound of the fluid [m/s]
p_0 (float) – Pressure amplitude of the field [Pa]
wave_type (WaveType) – Type of incident wave (traveling/standing)
position (None | float, optional) – Position in the standing wave field [rad]
Default:None
Public Data Attributes:
supported_wavetypes
Monopole scattering coefficient \(f_{1}\) [-]
Dipole scattering coefficient \(f_{2}\) [-]
Acoustic contrast factor \(\Phi\) [-]
Wraps to
osaft.core.backgroundfields.BackgroundField.position
Wraps to
osaft.core.backgroundfields.BackgroundField.wave_type
Wraps to
osaft.core.fluids.InviscidFluid.c_f
Wraps to
osaft.core.fluids.InviscidFluid.c_f
Wraps to
osaft.core.fluids.InviscidFluid.k_f
Inherited from
BaseSphereFrequencyComposite
Wrapper for
osaft.core.geometries.Sphere.R_0
Wrapper for
osaft.core.geometries.Sphere.area
Wrapper for
osaft.core.geometries.Sphere.volume
Inherited from
BaseFrequencyComposite
wrapper for
osaft.core.frequency.Frequency.f
wrapper for
osaft.core.frequency.Frequency.omega
Inherited from
BaseSolution
supported_wavetypes
returns the wave type of the solution
Public Methods:
Computes the ARF and returns the force in Newton [N].
Inherited from
BaseARF
Returns the value for the ARF in Newton [N].
Inherited from
BaseFrequencyComposite
Returns all properties that are settable.
Inherited from
BaseSolution
- check_wave_type()#
Checks if
wave_type
is insupported_wavetypes
- Raises:
WrongWaveTypeError – If
wave_type
is not supported- Return type:
None
- compute_arf()[source]#
Computes the ARF and returns the force in Newton [N].
Computes ARF according to Eq. (10) or (11) Checks before computation of assumption of theory small particle radius to pressure field wavelength is valid.
- Raises:
WrongWaveTypeError – if wrong
wave_type
AssumptionWarning – if the used parameters might not be valid for the chosen limiting case
- Return type:
float
- copy()#
Returns a copy of the object
- Return type:
- 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 E_ac: float#
- property I_ac: float#
- property Phi: float#
Acoustic contrast factor \(\Phi\) [-]
- property R_0: float#
Wrapper for
osaft.core.geometries.Sphere.R_0
- property area: float#
Wrapper for
osaft.core.geometries.Sphere.area
- property c_f: float#
Wraps to
osaft.core.fluids.InviscidFluid.c_f
- property c_s: float#
Wraps to
osaft.core.fluids.InviscidFluid.c_f
- property f: float#
wrapper for
osaft.core.frequency.Frequency.f
- property f_1: float#
Monopole scattering coefficient \(f_{1}\) [-]
- property f_2: float#
Dipole scattering coefficient \(f_{2}\) [-]
- property k_f: float#
Wraps to
osaft.core.fluids.InviscidFluid.k_f
- property kappa_f: float#
- property kappa_s: float#
- property omega: float#
wrapper for
osaft.core.frequency.Frequency.omega
- property p_0: float#
- property position: float#
Wraps to
osaft.core.backgroundfields.BackgroundField.position
- property rho_f: float#
- property rho_s: float#
- property volume: float#
Wrapper for
osaft.core.geometries.Sphere.volume
- property wave_type: WaveType#
Wraps to
osaft.core.backgroundfields.BackgroundField.wave_type