BaseHasegawa
Examples using this class are:
Acoustofluidics 2022: Plotting the Scattering Field
- class osaft.solutions.hasegawa1969.base.BaseHasegawa(f, R_0, rho_s, E_s, nu_s, rho_f, c_f, p_0, wave_type, position=None)[source]
Bases:
BaseSphereFrequencyComposite,BaseSolutionBase class for Hasegawa & Yosioka (1969)
- Parameters:
f (
Union[Frequency,float,int]) – Frequency [Hz]R_0 (
Union[Sphere,float,int]) – Radius of the particle [m]rho_s (
float) – Density of the solid scattering particle [kg/m^3]E_s (
float) – Young’s modulus of the solid scattering particle [N/m^2]nu_s (
float) – Poisson’s ratio of the solid scattering particle [-]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 (
Optional[float], optional) – Position in the standing wave field [rad]Default:Nonewave_type (
WaveType) – Progressive wave [-]Public Data Attributes:
supported_wavetypesdimensionless wave number in the fluid [-]
dimensionless wave number in the particle, longitudinal direction [-]
dimensionless wave number in the particle, transversal direction [-]
ratio of densities [-]
Wraps to
osaft.core.backgroundfields.BackgroundField.positionWraps to
osaft.core.backgroundfields.BackgroundField.wave_typeWraps to
osaft.core.solids.ElasticSolid.rho_sWraps to
osaft.core.solids.ElasticSolid.E_sWraps to
osaft.core.solids.ElasticSolid.nu_sWraps to
osaft.core.fluids.InviscidFluid.c_fWraps to
osaft.core.solids.ElasticSolid.k_lWraps to
osaft.core.solids.ElasticSolid.k_tWraps 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_wavetypesreturns the wave type of the solution
Public Methods:
A_in(n)Inherited from
BaseFrequencyCompositeReturns all properties that are settable.
Inherited from
BaseSolution
- 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_s: float
Wraps to
osaft.core.solids.ElasticSolid.E_s
- 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 f: float
wrapper for
osaft.core.frequency.Frequency.f
- property k_f: float
Wraps to
osaft.core.fluids.InviscidFluid.k_f
- property k_s_l: float
Wraps to
osaft.core.solids.ElasticSolid.k_l
- property k_s_t: float
Wraps to
osaft.core.solids.ElasticSolid.k_t
- property kappa_f: float
- property lambda_rho: float
ratio of densities [-]
- property nu_s: float
Wraps to
osaft.core.solids.ElasticSolid.nu_s
- 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
Wraps to
osaft.core.solids.ElasticSolid.rho_s
- property volume: float
Wrapper for
osaft.core.geometries.Sphere.volume
- property wave_type: WaveType
Wraps to
osaft.core.backgroundfields.BackgroundField.wave_type
- property x_f: float
dimensionless wave number in the fluid [-]
- property x_s_l: float
dimensionless wave number in the particle, longitudinal direction [-]
- property x_s_t: float
dimensionless wave number in the particle, transversal direction [-]