All of the below functions can be found in the lubrication
module of the package.
This module contains functions related to lubricants and lubrication.
barus(eta_0, alpha_p, pressure)[source]¶Calculate the dynamic viscosity at a given pressure based on the dynamic viscosity at atmospheric pressure and the pressure-viscosity coefficient.
| Parameters: |
|
|---|---|
| Returns: | eta_p – The dynamic viscosity at pressure pressure. |
| Return type: | scalar |
dyn2kin(dyn, density)[source]¶Convert from dynamic to kinematic viscosity.
| Parameters: |
|
|---|---|
| Returns: | kin – The kinematic viscosity of the lubricant. |
| Return type: | ndarray, scalar |
kin2dyn(kin, density)[source]¶Convert from kinematic to dynamic viscosity.
| Parameters: |
|
|---|---|
| Returns: | dyn – The dynamic viscosity of the lubricant. |
| Return type: | ndarray, scalar |
trheomcone(eta, alpha, omega, r_a)[source]¶Calculate the torque that occurs during a viscosity measurement using a cone-on-plate rheometer.
| Parameters: |
|
|---|---|
| Returns: | torque – The torque required to rotate the rotating plate. |
| Return type: | scalar |
trheomflat(eta, gap_height, omega, r_a)[source]¶Calculate the torque that occurs during a viscosity measurement using a plate-on-plate rheometer.
| Parameters: |
|
|---|---|
| Returns: | torque – The torque required to rotate the rotating plate. |
| Return type: | scalar |
viscrheomcone(torque, alpha, omega, r_a)[source]¶Calculate the dynamic viscosity of a fluid based on the measurement torque in a cone-on-plate rheometer.
| Parameters: |
|
|---|---|
| Returns: | eta – The dynamic viscosity of the fluid. |
| Return type: | scalar |
viscrheomflat(torque, gap_height, omega, r_a)[source]¶Calculate the dynamic viscosity of a fluid based on the measurement torque in a plate-on-plate rheometer.
| Parameters: |
|
|---|---|
| Returns: | eta – The dynamic viscosity of the fluid. |
| Return type: | scalar |
walther(temp_1, nu_1, temp_2, nu_2, temp_3)[source]¶Calculate the kinematic viscosity at temperature temp_3 based on the kinematic viscosities at temperatures temp_1 and temp_2. The implementation follows standard ASTM D341.
| Parameters: |
|
|---|---|
| Returns: | nu_3 – The kinematic viscosity in cSt at temperature |
| Return type: | ndarray |