CoefficientMatrix#
Examples using this class are:
Doinikov 2021 Viscous - Convergence Study
Fluid: Acoustic velocity plots with arrows
- class osaft.solutions.basedoinikov2021.coefficientmatrix.CoefficientMatrix(f, R_0, rho_s, E_s, nu_s, fluid, p_0, wave_type, position=None)[source]#
Bases:
BaseDoinikov
,ABC
Coefficient matrix class for scattering field class for Doinikov (viscous fluid-elastic sphere; 2021)
- Parameters:
f (Frequency | float) – frequency [Hz]
R_0 (Sphere | float) – radius [m]
rho_s (float) – density of the particle [kg/m^3]
E_s (float) – Young’s modulus of the particle [Pa]
nu_s (float) – Poisson’s ratio of the particle [-]
fluid (ViscousFluid | ViscoelasticFluid) – Fluid instance of the model
p_0 (float) – pressure amplitude [Pa]
wave_type (WaveType) – wave type
position (None | float, optional) – position in the standing wave field [m]
Default:None
Public Data Attributes:
Inherited from
BaseDoinikov
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:
det_M_n
(n[, column])Determinant of the matrix M for the mode n
matrix_M
(n)Matrix \(M_l\)
vector_n
(n)Vector \(n_l\)
Often used function of fluids shear and bulk viscosity
a_0
()Coefficient \(a_0\) [m^2/s]
a_hat_0
()Coefficient \(\hat{a}_0\) [m^2/s]
D_0
()Coefficient \(D_0\)
Inherited from
BaseDoinikov
A_in
(n)Inherited from
BaseFrequencyComposite
Returns all properties that are settable.
Inherited from
BaseSolution
- A_in(n)#
- check_wave_type()#
Checks if
wave_type
is insupported_wavetypes
- Raises:
WrongWaveTypeError – If
wave_type
is not supported- Return type:
None
- copy()#
Returns a copy of the object
- Return type:
- det_M_n(n, column=None)[source]#
Determinant of the matrix M for the mode n
- Parameters:
n (int) – mode
column (None | int, optional) – the l`th coefficient is replaced with the vector `N
Default:None
- Return type:
complex
- 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
]
- viscosity_term()[source]#
Often used function of fluids shear and bulk viscosity
- Return type:
complex
- 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.ViscousFluid.c_f
or toosaft.core.fluids.ViscoelasticFluid.c_f
- property delta: float#
Wraps to
osaft.core.fluids.ViscousFluid.delta
or toosaft.core.fluids.ViscoelasticFluid.delta
- abstract property eta: float | complex#
Fluid shear viscosity. For a
osaft.core.fluids.ViscousFluid
returns \(\eta_f\), for aosaft.core.fluids.ViscoelasticFluid
returns \(\eta_c\).
- property eta_f: float#
Wraps to
osaft.core.fluids.ViscousFluid.eta_f
or toosaft.core.fluids.ViscoelasticFluid.eta_f
- property f: float#
wrapper for
osaft.core.frequency.Frequency.f
- property k_f: complex#
Wraps to
osaft.core.fluids.ViscousFluid.k_f
or toosaft.core.fluids.ViscoelasticFluid.k_f
- property k_l: float#
Wraps to
osaft.core.solids.ElasticSolid.k_l
- property k_t: float#
Wraps to
osaft.core.solids.ElasticSolid.k_t
- property k_v: complex#
Wraps to
osaft.core.fluids.ViscousFluid.k_v
or toosaft.core.fluids.ViscoelasticFluid.k_v
- property lambda_v: float#
Wraps to
osaft.core.fluids.ViscousFluid.lambda_v
or toosaft.core.fluids.ViscoelasticFluid.lambda_v
- 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#
Wraps to
osaft.core.fluids.ViscousFluid.rho_0
or toosaft.core.fluids.ViscoelasticFluid.rho_0
- 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#
Dimensionless acoustic wavenumber in the fluid
\(k_f \cdot R_0\)
- property x_l#
Dimensionless primary wavenumber in the solid
\(k_l \cdot R_0\)
- property x_t#
Dimensionless secondary wavenumber in the solid
\(k_t \cdot R_0\)
- property x_v#
Dimensionless viscous wavenumber in the fluid
\(k_v \cdot R_0\)
- abstract property zeta: float | complex#
Fluid bulk viscosity. For a
osaft.core.fluids.ViscousFluid
returns \(\zeta_f\), for aosaft.core.fluids.ViscoelasticFluid
returns \(\zeta_c\).
- property zeta_f: float#
Wraps to
osaft.core.fluids.ViscousFluid.zeta_f
or toosaft.core.fluids.ViscoelasticFluid.zeta_f