ViscoelasticFluid

class osaft.core.fluids.ViscoelasticFluid(frequency, rho, c, eta_f, eta_p, zeta_f, zeta_p, lambda_M)[source]

Bases: ViscousFluid

Class for a viscoelastic fluid

Parameters:
  • frequency (Union[int, float, Frequency]) – frequency in [Hz]

  • rho (float) – density in [km/m^3]

  • c (float) – speed of sound [m/s]

  • eta_f (float) – shear viscosity of fluid component [Pa s]

  • zeta_f (float) – bulk viscosity of fluid component [Pa s]

  • eta_p (float) – shear viscosity of polymer component [Pa s]

  • zeta_p (float) – bulk viscosity of polymer component [Pa s]

  • lambda_M (float) – relaxation time of fluid [s]

Public Data Attributes:

eta_p

Polymer component shear viscosity \(\eta_p\) [Pa s]

zeta_p

Polymer component bulk viscosity \(\zeta_p\) [Pa s]

lambda_M

Relaxation time of the fluid \(\lambda_M\) [s]

eta_c

Complex acoustic shear viscosity of the fluid \(\eta_c\) [Pa s]

zeta_c

Complex acoustic bulk viscosity of the fluid \(\zeta_c\) [Pa s]

k_f

Returns the wave number in the fluid \(k_f\) [1/m]

k_v

Returns the viscous wave number in the fluid \(k_v\) [1/m]

Inherited from ViscousFluid

eta_f

Shear viscosity of the fluid \(\eta_f\) [Pa s].

zeta_f

Bulk viscosity of the fluid \(\zeta_f\) [Pa s].

k_f

Returns the wave number in the fluid \(k_f\) [1/m]

k_v

Returns the viscous wave number in the fluid \(k_v\) [1/m]

delta

Returns the boundary layer thickness \(\delta\) [m]

lambda_v

Returns the viscous wave length \(\lambda_v\) [m]

Inherited from InviscidFluid

c_f

Speed of sound in the fluid \(c_f\) [ms].

rho_f

Density of the fluid \(\rho_f\) [kg/m^3].

kappa_f

Returns the compressibility of the fluid \(\kappa_f\) [1/Pa]

k_f

Returns the wave number \(k_f\) [rad s^-1]

lambda_f

Returns the wavelength \(\lambda_f\) [m]

Inherited from BaseFrequencyComposite

Public Methods:

Inherited from BaseFrequencyComposite

input_variables()

Returns all properties that are settable.


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 c_f: float

Speed of sound in the fluid \(c_f\) [ms].

Getter:

returns the value for the frequency

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property delta: float

Returns the boundary layer thickness \(\delta\) [m]

property eta_c: complex

Complex acoustic shear viscosity of the fluid \(\eta_c\) [Pa s]

property eta_f: float

Shear viscosity of the fluid \(\eta_f\) [Pa s].

Getter:

returns the shear viscosity

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property eta_p: float

Polymer component shear viscosity \(\eta_p\) [Pa s]

Getter:

Returns the polymer component shear viscosity

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property f: float

wrapper for osaft.core.frequency.Frequency.f

property k_f: complex

Returns the wave number in the fluid \(k_f\) [1/m]

property k_v: complex

Returns the viscous wave number in the fluid \(k_v\) [1/m]

property kappa_f: float

Returns the compressibility of the fluid \(\kappa_f\) [1/Pa]

property lambda_M: float

Relaxation time of the fluid \(\lambda_M\) [s]

Getter:

Returns the relaxation time of the fluid

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property lambda_f: float

Returns the wavelength \(\lambda_f\) [m]

property lambda_v: float

Returns the viscous wave length \(\lambda_v\) [m]

property omega: float

wrapper for osaft.core.frequency.Frequency.omega

property rho_f: float

Density of the fluid \(\rho_f\) [kg/m^3].

Getter:

returns the value for the density

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property zeta_c: complex

Complex acoustic bulk viscosity of the fluid \(\zeta_c\) [Pa s]

property zeta_f: float

Bulk viscosity of the fluid \(\zeta_f\) [Pa s].

Getter:

returns the bulk viscosity

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property zeta_p: float

Polymer component bulk viscosity \(\zeta_p\) [Pa s]

Getter:

Returns the polymer component bulk viscosity

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()