Skip to content

Conversation

@gsabinoo
Copy link
Collaborator

Summary

This PR introduces a implementation of a Thermo-Hydro-Dynamic (THD) Tilting Pad Thrust Bearing class (ThrustPad). The implementation solves the Reynolds equation coupled with the energy equation to calculate pressure and temperature fields, equilibrium positions, and dynamic coefficients for tilting pad thrust bearings.

Key Features

Core Functionality

  • Coupled THD Analysis: Simultaneous solution of Reynolds equation (pressure field) and energy equation (temperature field)
  • Temperature-Dependent Viscosity: Exponential viscosity model considering thermal effects
  • Equilibrium Position Calculation: Automatic determination of bearing operating position or analysis with imposed conditions
  • Dynamic Coefficients: Calculation of stiffness (kzz) and damping (czz) coefficients using perturbation method
  • Multiple Operating Frequencies: Support for analysis at multiple rotational speeds

Visualization & Analysis

  • 3D Surface Plots: Pressure and temperature field visualization using Plotly
  • 2D Contour Plots: Detailed field analysis with interpolated contours
  • Results Tables: Formatted output of key bearing parameters and coefficients
  • Comparison Tables: Multi-frequency coefficient comparison

Technical Implementation

Class Structure

class ThrustPad(BearingElement):
    """Thermo-Hydro-Dynamic (THD) Tilting Pad Thrust Bearing"""

Key Parameters

  • Geometric: Inner/outer radius, pivot radius, arc length, angular position
  • Operating: Oil temperature, lubricant properties, rotational frequency, axial load
  • Numerical: Mesh resolution (n_theta, n_radial), convergence tolerances
  • Mode: Equilibrium calculation vs. imposed conditions

Files Modified/Added

New Files

  • ross/bearings/thrust_pad.py: Main implementation
  • ross/tests/test_thrust_pad.py: Test suite for thrust bearing implementation

Usage Example

from ross.bearings.thrust_pad import ThrustPad, thrust_pad_example
from ross.units import Q_

# Create bearing instance
bearing = ThrustPad(
    n=1,
    pad_inner_radius=Q_(1150, "mm"),
    pad_outer_radius=Q_(1725, "mm"),
    pad_pivot_radius=Q_(1442.5, "mm"),
    pad_arc_length=Q_(26, "deg"),
    angular_pivot_position=Q_(15, "deg"),
    oil_supply_temperature=Q_(40, "degC"),
    lubricant="ISOVG68",
    n_pad=12,
    n_theta=10,
    n_radial=10,
    frequency=Q_([90], "RPM"),
    equilibrium_position_mode="calculate",
    fzs_load=13.320e6,
    radial_inclination_angle=Q_(-2.75e-04, "rad"),
    circumferential_inclination_angle=Q_(-1.70e-05, "rad"),
    initial_film_thickness=Q_(0.2, "mm"),
    print_result=True
)

# Or use the pre-configured example
bearing = thrust_pad_example()

@gsabinoo gsabinoo marked this pull request as ready for review September 12, 2025 18:16
Copy link
Collaborator

@jguarato jguarato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well-structured PR. I didn't find anything that needs to be changed related to code formatting.

@codecov-commenter
Copy link

codecov-commenter commented Sep 18, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.37%. Comparing base (07a5a63) to head (cfb5533).
⚠️ Report is 275 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1210      +/-   ##
==========================================
- Coverage   82.91%   76.37%   -6.54%     
==========================================
  Files          39       39              
  Lines        8247     9720    +1473     
==========================================
+ Hits         6838     7424     +586     
- Misses       1409     2296     +887     
Files with missing lines Coverage Δ
ross/bearings/thrust_pad.py 90.95% <ø> (ø)

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39181cc...cfb5533. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@jguarato jguarato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ThrustPad class needs to be imported in __ init__.py

@raphaeltimbo raphaeltimbo merged commit 0e6a51f into petrobras:main Oct 3, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants