BaseKing#

Examples using this class are:

Frontiers: HFE Droplet in Water

Frontiers: HFE Droplet in Water

Frontiers: HFE Droplet in Water
Doinikov Rigid (1994): Sandstone in Glycerin

Doinikov Rigid (1994): Sandstone in Glycerin

Doinikov Rigid (1994): Sandstone in Glycerin
Pressure Plots for different theories

Pressure Plots for different theories

Pressure Plots for different theories
Multicore ARF Computation

Multicore ARF Computation

Multicore ARF Computation
class osaft.solutions.king1934.base.BaseKing(f, R_0, rho_s, rho_f, c_f, p_0, wave_type, position)[source]#

Bases: BaseSphereFrequencyComposite, BaseSolution

Base class for King (1934)

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]

  • 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) – Position in the standing wave field [rad]

Public Methods:

Inherited from BaseFrequencyComposite

input_variables()

Returns all properties that are settable.

Inherited from BaseSolution

copy()

Returns a copy of the object

check_wave_type()

Checks if wave_type is in supported_wavetypes


A_in(n)[source]#

Wraps to osaft.core.backgroundfields.BackgroundField.A_in

Parameters:

n (int) –

Return type:

complex

check_wave_type()#

Checks if wave_type is in supported_wavetypes

Raises:

WrongWaveTypeError – If wave_type is not supported

Return type:

None

copy()#

Returns a copy of the object

Return type:

BaseSolution

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 R_0: float#

Wrapper for osaft.core.geometries.Sphere.R_0

property alpha#

Wave number times radius of the particle (\(kR\)) [-]

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 kappa_f: float#

Wraps to osaft.core.fluids.InviscidFluid.kappa_f

property omega: float#

wrapper for osaft.core.frequency.Frequency.omega

property p_0: float#

Wraps to osaft.core.backgroundfields.BackgroundField.p_0

property position: float#

Wraps to osaft.core.backgroundfields.BackgroundField.position

property rho_f: float#

Wraps to osaft.core.fluids.InviscidFluid.rho_f

property rho_s: float#

Wraps to osaft.core.solids.RigidSolid.rho_s

property rho_tilde: float#

Density ratio rho_s/ rho_f [-]

property volume: float#

Wrapper for osaft.core.geometries.Sphere.volume

property wave_type: WaveType#

Wraps to osaft.core.backgroundfields.BackgroundField.wave_type