All of the below functions can be found in the tribology module of the
package.
The functions in this module are related to tribology in general.
fball3plates(ax_force, plate_angle=1.5708)[source]¶Calculate the normal force per contact in ball-on-3-plates setup.
| Parameters: |
|
|---|---|
| Returns: | The normal force acting in each ball-plate contact. |
| Return type: | norm_force |
ffourball(r_1, r_2, ax_force)[source]¶Calculate the normal force per contact in a 4-ball test setup.
| Parameters: |
|
|---|---|
| Returns: | norm_force – The normal force in a single ball-ball contact. |
| Return type: | ndarray, scalar |
gfourball(r_1, r_2)[source]¶Geometric parameters of 4-ball setup
| Parameters: |
|
|---|---|
| Returns: |
|
profball(x_axis, r_ball)[source]¶Create a 1D ball profile along a central axis.
| Parameters: |
|
|---|---|
| Returns: | prof_heights – The profile heights along the x_axis. |
| Return type: | ndarray |
profrevolve(prof_1d, y_axis, y_diam)[source]¶Create a 2D surface (profile heights) by revolving a 1D profile around a central axis.
| Parameters: |
|
|---|---|
| Returns: |
|
profrolleriso(x_axis, diam, length)[source]¶Generate a roller profile according to DIN 26281 for rollers with
length \(\leq\) 2.5 \(\cdot\) diam.
| Parameters: |
|
|---|---|
| Returns: | x_profile – The profile heights of the roller along |
| Return type: | ndarray |
radpersec2rpm(vel_rad_per_sec)[source]¶Convert velocity from rotations per minute (rpm) to radians per second (rad/s).
| Parameters: | vel_rad_per_sec (ndarray, scalar) – The velcity in radians per second. |
|---|---|
| Returns: | vel_rpm – The velocity in rotations per minute. |
| Return type: | ndarray, scalar |
rball3plates(r_ball, plate_angle=1.5708)[source]¶Calculate the sliding radius (lever arm) for a ball-on-3-plates test setup.
| Parameters: |
|
|---|---|
| Returns: | r_slide – The sliding radius. |
| Return type: | ndarray, scalar |
refix(val, p_in='', p_out='')[source]¶Convert between different SI unit prefixes. Available options are:
'T' Terra
'G' Giga
'M' Mega
'k' Kilo
'm' Milli
'mu' Micro
'n' Nano
'p' Pico
| Parameters: |
|
|---|---|
| Returns: | val_refix – The value in units of prefix |
| Return type: | scalar |
rpm2radpersec(vel_rpm)[source]¶Convert velocity from radians per second (rad/s) to rotations per minute (rpm).
| Parameters: | vel_rpm (ndarray, scalar) – The velcity in rotations per minute. |
|---|---|
| Returns: | vel_rad_per_sec – The velocity in radians per second. |
| Return type: | ndarray, scalar |
srr(vel_1, vel_2)[source]¶Calculate the slide-to-roll ratio (SRR) in a tribological contact based on contact body velocities.
| Parameters: |
|
|---|---|
| Returns: | srr – The slide-to-roll ratio in the tribological contact. |
| Return type: | ndarray, scalar |
vroll(vel_1, vel_2)[source]¶Calculate the rolling speed in a tribological contact based on contact body velocities.
| Parameters: |
|
|---|---|
| Returns: | vel_roll – The rolling velocity in the tribological contact. |
| Return type: | ndarray, scalar |
vslide(vel_1, vel_2)[source]¶Calculate the sliding speed in a tribological contact based on contact body velocities.
| Parameters: |
|
|---|---|
| Returns: | vel_slide – The sliding velocity in the tribological contact. |
| Return type: | ndarray, scalar |