ViscousFluid
- class osaft.core.fluids.ViscousFluid(frequency, rho, c, eta_f, zeta_f)[source]
Bases:
InviscidFluidClass for a viscous fluid
- Parameters
frequency (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 [Pa s]
zeta_f (float) – bulk viscosity [Pa s]
Public Data Attributes:
Shear viscosity \(\eta_f\) [Pa s].
Bulk viscosity \(\zeta_f\) [Pa s].
Returns the wave number \(k_f\) [1/m]
Returns the viscous wave number \(k_v\) [1/m]
Returns the boundary layer thickness \(\delta\) [m]
Returns the viscous wave length \(\lambda_v\) [m]
Inherited from
InviscidFluidInherited from
BaseFrequencyCompositewrapper for
osaft.core.frequency.Frequency.fwrapper for
osaft.core.frequency.Frequency.omegaPublic Methods:
Inherited from
BaseFrequencyCompositeReturns 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 \(c_f\) [ms].
- Getter
returns the value for the frequency
- Setter
automatically invokes
osaft.core.variable.BaseVariable.notify()- Return type
float
- property delta: float
Returns the boundary layer thickness \(\delta\) [m]
- Return type
float
- property eta_f: float
Shear viscosity \(\eta_f\) [Pa s].
- Getter
returns the shear viscosity
- Setter
automatically invokes
osaft.core.variable.BaseVariable.notify()- Return type
float
- property f: float
wrapper for
osaft.core.frequency.Frequency.f- Return type
float
- property k_f: complex
Returns the wave number \(k_f\) [1/m]
- Return type
complex
- property k_v: complex
Returns the viscous wave number \(k_v\) [1/m]
- Return type
complex
- property kappa_f: float
Returns the compressibility \(\kappa_f\) [1/Pa]
- Return type
float
- property lambda_f: float
Returns the wavelength \(\lambda_f\) [m]
- Return type
float
- property lambda_v: float
Returns the viscous wave length \(\lambda_v\) [m]
- Return type
float
- property omega: float
wrapper for
osaft.core.frequency.Frequency.omega- Return type
float
- property rho_f: float
Density \(\rho_f\) [kg/m^3].
- Getter
returns the value for the density
- Setter
automatically invokes
osaft.core.variable.BaseVariable.notify()- Return type
float
- property zeta_f: float
Bulk viscosity \(\zeta_f\) [Pa s].
- Getter
returns the bulk viscosity
- Setter
automatically invokes
osaft.core.variable.BaseVariable.notify()- Return type
float