BaseYosioka
Examples using this class are:
Acoustofluidics 2022: Minimal Example Plotting Scattering Fields
- class osaft.solutions.yosioka1955.base.BaseYosioka(f, R_0, rho_s, c_s, rho_f, c_f, p_0, wave_type, position=None)[source]
Bases:
BaseSphereFrequencyComposite,BaseSolutionBase class for Yosioka & Kawasima (1955)
- Parameters
f (Frequency | float | int) – Frequency [Hz]
R_0 (Sphere | float | int) – Radius of the particle [m]
rho_s (float) – Density of the fluid-like sphere [kg/m^3]
c_s (float) – Speed of sound of the particle [m/s]
rho_f (float) – Density of the fluid [kg/m^3]
c_f (float) – Speed of sound in the fluid [m/s]
p_0 (float) – Pressure amplitude of the incident field [Pa]
position (None | float, optional) – Position in the standing wave field [rad]
Default:Nonewave_type (WaveType) – Either in or progressive wave [-]
Public Data Attributes:
supported_wavetypesratio of speeds of sound [-].
ratio of densities [-]
dimensionless wavenumber in the fluid [-]
dimensionless wavenumber in the particle
Wraps to
osaft.core.backgroundfields.BackgroundField.positionWraps to
osaft.core.backgroundfields.BackgroundField.wave_typeWraps to
osaft.core.fluids.InviscidFluid.c_fWraps to
osaft.core.fluids.InviscidFluid.c_fWraps to
osaft.core.fluids.InviscidFluid.k_fWraps to
osaft.core.fluids.InviscidFluid.k_fInherited from
BaseSphereFrequencyCompositeWrapper for
osaft.core.geometries.Sphere.R_0Wrapper for
osaft.core.geometries.Sphere.areaWrapper for
osaft.core.geometries.Sphere.volumeInherited from
BaseFrequencyCompositewrapper for
osaft.core.frequency.Frequency.fwrapper for
osaft.core.frequency.Frequency.omegaInherited from
BaseSolutionsupported_wavetypesWraps to
osaft.core.backgroundfields.BackgroundField.wave_typePublic Methods:
A_in(n)Inherited from
BaseFrequencyCompositeReturns all properties that are settable.
- A_in(n)[source]
Wraps to
osaft.core.backgroundfields.BackgroundField.A_in- Return type
complex
- check_wave_type()
Checks if
wave_typeis insupported_wavetypes- Raises
WrongWaveTypeError – If
wave_typeis not supported- Return type
None
- 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
Wraps to
osaft.core.backgroundfields.BackgroundField.E_ac- Return type
float
- property I_ac: float
Wraps to
osaft.core.backgroundfields.BackgroundField.I_ac- Return type
float
- property R_0: float
Wrapper for
osaft.core.geometries.Sphere.R_0- Return type
float
- property area: float
Wrapper for
osaft.core.geometries.Sphere.area- Return type
float
- property c_f: float
Wraps to
osaft.core.fluids.InviscidFluid.c_f- Return type
float
- property c_s: float
Wraps to
osaft.core.fluids.InviscidFluid.c_f- Return type
float
- property f: float
wrapper for
osaft.core.frequency.Frequency.f- Return type
float
- property k_f: float
Wraps to
osaft.core.fluids.InviscidFluid.k_f- Return type
float
- property k_s: float
Wraps to
osaft.core.fluids.InviscidFluid.k_f- Return type
float
- property kappa_f: float
Wraps to
osaft.core.fluids.InviscidFluid.kappa_f- Return type
float
- property lambda_rho: float
ratio of densities [-]
- Return type
float
- property omega: float
wrapper for
osaft.core.frequency.Frequency.omega- Return type
float
- property p_0: float
Wraps to
osaft.core.backgroundfields.BackgroundField.p_0- Return type
float
- property position: float
Wraps to
osaft.core.backgroundfields.BackgroundField.position- Return type
float
- property rho_f: float
Wraps to
osaft.core.fluids.InviscidFluid.rho_f- Return type
float
- property rho_s: float
Wraps to
osaft.core.fluids.InviscidFluid.rho_f- Return type
float
- property sigma: float
ratio of speeds of sound [-].
- Return type
float
- property volume: float
Wrapper for
osaft.core.geometries.Sphere.volume- Return type
float
- property wave_type: WaveType
Wraps to
osaft.core.backgroundfields.BackgroundField.wave_type- Return type
- property x_f: float
dimensionless wavenumber in the fluid [-]
- Return type
float
- property x_s: float
dimensionless wavenumber in the particle
- Return type
float