pyva.systems.acousticRadiators.Sphere

class pyva.systems.acousticRadiators.Sphere(radius, fluid=Fluid(c0=343.0, rho0=1.23, eta=0.01))

Bases: object

The Sphere class defines an acoustic sphere that may operate as breathing or oscillatinf sphere

radius

Radius of sphere

Type:

float

fluid

fluid in free space

Type:

fluid

__init__(radius, fluid=Fluid(c0=343.0, rho0=1.23, eta=0.01))

Class contructor for sphere

Parameters:
  • radius (float) – radius of the sphere

  • fluid (fluid) – fluid in free space

Methods

__init__(radius[, fluid])

Class contructor for sphere

acoustic_impedance(omega, dist)

Acoustic impedance of breathing sphere

pressure(omega, dist[, Q])

Pressure of breathing sphere

radiation_impedance(omega)

Radiation impedance of breathing sphere Zrad = p/Q

velocity(omega, dist[, Q])

Velocity of breathing sphere

velocity_potential(omega, dist[, Q])

Velocity potential of breathing sphere

acoustic_impedance(omega, dist)

Acoustic impedance of breathing sphere

Parameters:
  • omega (float) – angular frequency.

  • dist (float) – distance to sphere center.

Returns:

acoustic impedance of sphere soud field.

Return type:

complex or nd.array of complex

pressure(omega, dist, Q=1.0)

Pressure of breathing sphere

Parameters:
  • omega (float) – angular frequency.

  • dist (float) – distance to sphere center.

  • Q (complex or nd.array of complex, optional) – Source streng in volume flow rate, volume per time. The default is 1. .

Returns:

pressure of breathing sphere.

Return type:

complex or nd.array of complex

radiation_impedance(omega)

Radiation impedance of breathing sphere Zrad = p/Q

The pressure is average over the sphere surface

Parameters:
  • omega (float) – angular frequency

  • Returns – radiation impedance of sphere

velocity(omega, dist, Q=1.0)

Velocity of breathing sphere

Parameters:
  • omega (float) – angular frequency.

  • dist (float) – distance to sphere center.

  • Q (complex or nd.array of complex, optional) – Source streng in volume flow rate, volume per time. The default is 1. .

Returns:

velocity of breathing sphere.

Return type:

complex or nd.array of complex

velocity_potential(omega, dist, Q=1.0)

Velocity potential of breathing sphere

Parameters:
  • omega (float) – angular frequency.

  • dist (float) – distance to sphere center.

  • Q (complex or nd.array of complex, optional) – Source streng in volume flow rate, volume per time. The default is 1. .

Returns:

velocity potential.

Return type:

complex or nd.array of complex