InviscidFluid
- class osaft.core.fluids.InviscidFluid(frequency, rho, c)[source]
Bases:
BaseFrequencyCompositeClass for an inviscid fluid
- Parameters
frequency (int | float | Frequency) – frequency in [Hz]
rho (float) – density in [km/m^3]
c (float) – speed of sound [m/s]
Public Data Attributes:
Speed of sound \(c_f\) [ms].
Density \(\rho_f\) [kg/m^3].
Returns the compressibility \(\kappa_f\) [1/Pa]
Returns the wave number \(k_f\) [rad s^-1]
Returns the wavelength \(\lambda_f\) [m]
Inherited 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 f: float
wrapper for
osaft.core.frequency.Frequency.f- Return type
float
- property k_f: float
Returns the wave number \(k_f\) [rad s^-1]
- Return type
float
- 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 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