openairbearing.core.geometry

Bearing geometries as builders of a Film.

A geometry defines the film domain, which of its edges see which pressure, and the gap as a function of the position q of the moving body. Everything else (solve, forces, flows, stiffness) is common to all of them.

Lengths are in m, angles in rad and pressures absolute in Pa. Arguments that the builders share:

  • porous: the restrictor (Porous).

  • ps, pa: supply and ambient pressure.

  • gas: the gas, air by default.

  • shape: function of the film coordinates x (shape (2, …)) giving an extra gap in m, added at every position; None for none.

  • velocity: function of x giving the sum of the two surface velocities, (Ux, Uy) in m/s, or None. Thrust faces only: the others take the shaft speed omega in rad/s, positive toward +theta.

  • h_ref: gap scale of the solve in m. Thrust faces only: the others use the clearance.

Position conventions

Thrust faces (circular, annular, rectangular, sector pads): q = (h, rx, ry). h is the gap of the flat face at the origin of the film coordinates, rx and ry are small rotations of the runner about the x and y axes through that origin:

gap = h + rx·y - ry·x + shape(x)

The origin is the centre of a circular or rectangular pad and the axis of an annular face or of sector pads, where there is no film. The gap at the origin is h only where shape is zero there.

Journal: q = (x, y, rx, ry) is the motion of the shaft inside the bushing, with rotations about axes through the bearing mid-plane:

gap = c - (x + ry·z) cos(theta) - (y - rx·z) sin(theta) + shape(x)

The spherical bearing and the thrust bushing state theirs in their builders.

The generalised forces returned by the solver are conjugate to these: for a thrust face, the load pushing the runner away and the moments on the runner; for a journal, the film force and moment on the shaft.

annular_pad(r_in: float, r_out: float, *, porous: Porous, ps: float, pa: float = 101325.0, p_inner: float | None = None, gas: Gas = AIR, shape: Callable | None = None, velocity: Callable | None = None, n_circ: int = 96, n_radial: int = 16, h_ref: float = 10e-6) → Film[source]

Annular thrust face between the radii r_in and r_out.

The edge “inner” sees p_inner (a chamber), or ambient pressure if that is None; the edge “outer” sees ambient pressure. n_circ and n_radial are the numbers of elements around and across the face.

bore_form(radius: float, length: float, *, conicity: float = 0.0, roundness: float = 0.0, lobes: int = 2, lobe_angle: float = 0.0, crowning: float = 0.0)[source]

Extra gap of a journal whose bore (or shaft) is not a perfect cylinder.

radius is the film radius and length the bearing length, m. Three form errors, each given as the size of the extra gap in m and each leaving the smallest gap where it was, so the clearance stays the tightest radial clearance:

  • conicity: the bore opens linearly along the axis by this much from one end to the other; positive opens toward +z.

  • roundness with lobes (2 is oval, 3 three-lobed): the gap varies around the bore between 0 and this much; lobe_angle is the angle of a tight spot, rad.

  • crowning: a parabola along the axis; positive opens toward both ends (a barrel-shaped shaft or a bell-mouthed bore), negative opens in the middle (an hourglass shaft or a bore worn in the middle).

Returns a function of the film coordinates (s, z) of journal and journal_pads, for their shape, or None if all three are zero.

circular_pad(radius: float, *, porous: Porous, ps: float, pa: float = 101325.0, gas: Gas = AIR, shape: Callable | None = None, velocity: Callable | None = None, nrefs: int = 4, h_ref: float = 10e-6, rings=(), radial: int | None = None, circles=()) → Film[source]

Circular thrust pad, ambient pressure at its edge “rim”.

nrefs, rings and radial are those of meshes.disc. rings are radii that get a circle of mesh nodes, for the edges of a feed groove or hole behind the restrictor (Porous.feed_area) or of any other change of the restrictor at a radius. radial refines the mesh along the radius only, for a solution that does not change around the pad.

circles are (x, y, r): circles anywhere on the face, such as the edges of feed inserts or holes off the centre, that element edges follow. They take the mesh of meshes.disc_circles instead, with its own nrefs; rings and radial are then a ValueError (a ring is the circle (0, 0, r)).

corner_relief(distance, rotor_round: float, bushing_chamfer: float)[source]

Extra gap in the corner of a thrust bushing, m.

distance is measured along the bushing surface from the sharp corner, on either leg. The 45° chamfer on the bushing opens a triangular channel of area c²/2; the round where the shaft meets the runner fills r²(1 - pi/4) of it. Each is spread over the two legs so that the integral of the returned gap over both legs is the channel cross-section. The channel volume is therefore exact, while its flow resistance, from the thin-film equation applied to a gap of this size, is an estimate.

journal(radius: float, length: float, clearance: float, *, porous: Porous, ps: float, pa: float = 101325.0, gas: Gas = AIR, omega: float = 0.0, shape: Callable | None = None, wall: str = 'outside', n_circ: int = 96, n_axial: int = 16, axial_marks=()) → Film[source]

Full journal bearing, ambient pressure at both ends.

radius is the film radius, clearance the radial clearance with the shaft centred, omega the shaft speed in rad/s. Film coordinates are (s, z) with s = radius·theta, theta from the x axis and z zero at mid-length; the edges are “end_low” and “end_high”. wall says how the porous wall curves around the film: “outside” (a sleeve around the shaft, the default), “inside” (a porous shaft or liner inside the film) or “flat” (a slab, as in most published theories). n_circ and n_axial are the numbers of elements around and along the axis. axial_marks are axial positions z that get a line of mesh nodes, for the edges of a feed groove behind the restrictor (Porous.feed_area).

journal_pads(radius: float, length: float, clearance: float, n_pads: int = 3, pad_angle: float = np.deg2rad(100.0), *, porous: Porous, ps: float, pa: float = 101325.0, gas: Gas = AIR, offset: float = 0.0, omega: float = 0.0, taper: float = 0.0, taper_axial: float = 0.0, shape: Callable | None = None, wall: str = 'outside', n_circ: int = 20, n_axial: int = 12) → Film[source]

Journal bearing made of equally spaced partial-arc pads.

Every edge of every pad is at ambient pressure (edge “edge”): between the pads the bushing is relieved. Pad k spans pad_angle and is centred at angle offset + 2 pi k / n_pads from the x axis. Film coordinates, position and forces are those of journal: (s, z), the shaft’s (x, y, rx, ry) and the film forces on it. wall is as for journal.

taper tilts every pad along its arc and taper_axial along the axis: each is the rise of the gap across the pad in m. Positive taper closes the gap toward +theta, so the pads converge for a shaft turning that way (positive omega); positive taper_axial closes it toward +z. Taper only adds to the gap: with no shape besides it, the clearance is the smallest gap of each pad with the shaft centred. n_circ and n_axial are the numbers of elements along the arc and the axis of one pad.

rectangular_pad(lx: float, ly: float, *, porous: Porous, ps: float, pa: float = 101325.0, gas: Gas = AIR, open_edges: tuple = ('left', 'right', 'bottom', 'top'), shape: Callable | None = None, velocity: Callable | None = None, nx: int = 32, ny: int = 32, h_ref: float = 10e-6) → Film[source]

Rectangular thrust pad of lx by ly, centred at the origin.

The edges are “left” and “right” (x = -lx/2 and lx/2) and “bottom” and “top” (y = -ly/2 and ly/2). Those in open_edges are at ambient pressure; the others are symmetry lines. With only “left” and “right” open, the pad is a slice of an infinitely long bearing of width lx. nx and ny are the numbers of elements along x and y.

spherical_bearing(radius: float, clearance: float, polar_from: float, polar_to: float, *, porous: Porous, ps: float, pa: float = 101325.0, gas: Gas = AIR, omega: float = 0.0, shape: Callable | None = None, wall: str = 'outside', n_theta: int = 48, n_polar: int = 24, grading: float = 2.0) → Film[source]

Band of a spherical bearing between two polar angles, ambient at both edges.

The polar angle is measured from the +z axis, so (0.2, pi/2) is a hemispherical seat with a hole around the pole and its rim at the equator. Film coordinates are (s, theta) with s = radius·polar angle in m and theta in rad; the edges are “edge_low” (at polar_from) and “edge_high” (at polar_to). The band may not include the pole itself.

q = (x, y, z) is the displacement of the ball centre in the socket; rotation of the ball about its centre does not change the gap. With c the radial clearance,

gap = c - (x cos(theta) + y sin(theta)) sin(polar) - z cos(polar)
      + shape(x)

The generalised forces are the film forces on the ball. omega is the spin about z in rad/s. wall is as for journal, the seat curving in both directions. n_theta and n_polar are the numbers of elements around and along the band, which grading packs toward its two edges.

thrust_bushing(bore_diameter: float, shaft_diameter: float, length: float, thrust_diameter: float, thrust_gap: float, *, porous_journal: Porous, porous_thrust: Porous | None = None, ps: float, pa: float = 101325.0, gas: Gas = AIR, omega: float = 0.0, rotor_round: float = 0.2e-3, bushing_chamfer: float = 0.5e-3, vented: bool = False, shaft_form: Callable | None = None, bore_form: Callable | None = None, wall: str = 'outside', construction: str = 'bonded', _size_only: bool = False, n_theta: int = 48, n_journal: int = 60, n_thrust: int = 30, n_corner: int = 4, grading: float = 2.0) → Film[source]

Porous journal and its annular thrust face as one connected film.

The film surface is unwrapped to (s, theta), s in m and theta in rad: the thrust face is s in [-(r_o - r_i), 0] at radius r_i - s, the bore is s in [0, length] at axial position z = s, with r_i and r_o half the bore and thrust diameters. Pressure and flow are continuous around the corner at s = 0. The corner holds a circumferential channel formed by the chamfer on the bushing and the round on the rotor (corner_relief); set both to zero for a sharp corner. The edges “thrust_edge” (the rim of the thrust face) and “journal_edge” (the far end of the bore) are at ambient pressure, and with vented=True so is the corner (edge “vent”). The supply flow is reported for the regions “thrust” and “journal” as well.

Frame, fixed to the bushing: z is the axis, the thrust face is the plane z = 0, the bore runs from z = 0 to z = length and the runner sits on the -z side. Shaft and runner move as one rigid body, q = (x, y, z, rx, ry, rz), with rotations about the origin; positive z closes the thrust gap, which is thrust_gap at q = 0, and the radial clearance is half the difference of the two diameters. rz only matters with a shaft roundness error shaft_form(angle in the shaft frame), which reduces the journal gap by its value in m; bore_form(theta) increases it. The generalised forces are the film forces and moments on the shaft and runner. omega is the shaft speed in rad/s.

The two restrictors are porous_journal and porous_thrust (the same as the bore’s if None), and each of their options is either carried face by face or refused, never dropped. Permeability, thickness, the surface layer, slip coefficient, equivalent clearance and inertial resistance are those of each face, as numbers: a function of position is a ValueError. The in-plane ratio is carried face by face too; the volume model uses it, the column model has no flow along the face and leaves it out, as on any other bearing. slip and model must be the same on both faces (ValueError). Any other option that is not at its default (open rim, feed area, face seal, a spherical wall) is a NotImplementedError, and an in-plane ratio on a one-piece bushing is one too (its anisotropy follows the material axes of the body). wall says how the porous wall of the bore curves, as for journal; the thrust restrictor is flat and may not carry a curvature.

construction says how the porous part is built. “bonded”: a sleeve and a thrust ring, two pieces with a sealed joint between them; each face is fed through its own restrictor (Porous.model) and no gas passes from one piece to the other inside the material. In the column model and in the volume model (one volume per face, restrictor.FaceVolumes) each piece is the face extended through its own thickness, fed over its whole back: behind the corner the two extrusions overlap, and each counts that material as its own. “monolithic”: one piece of porous material, L-shaped in section, meshed as a body (porous_body.py) with flow in it around the corner; the sleeve is fed on its outer surface and the flange on its back, beyond the sleeve, and the end of the sleeve and the rim of the flange are sealed. The two thicknesses are those of porous_journal and porous_thrust; a surface layer of either lies between the pores at that face and the film, with its own thickness and permeability.

Mesh: n_theta elements around; n_thrust and n_journal lines of nodes along the thrust face and the bore, outside the chamfer; n_corner elements on each leg of the chamfer; grading packs the lines toward the ends of each face (meshes.graded).

thrust_pads(r_in: float, r_out: float, n_pads: int = 3, pad_angle: float = np.deg2rad(100.0), *, porous: Porous, ps: float, pa: float = 101325.0, gas: Gas = AIR, offset: float = 0.0, taper: float = 0.0, taper_radial: float = 0.0, shape: Callable | None = None, velocity: Callable | None = None, n_circ: int = 20, n_radial: int = 12, h_ref: float = 10e-6) → Film[source]

Thrust face made of equally spaced annular-sector pads.

Every edge of every pad is at ambient pressure (edge “edge”): between the pads the stator is relieved. Pad k spans pad_angle between the radii r_in and r_out and is centred at angle offset + 2 pi k / n_pads from the x axis. The position is that of a thrust face, (h, rx, ry), about the bearing axis, and the forces are those of all pads together on the runner.

taper tilts every pad along its arc and taper_radial across it: each is the rise of the gap across the pad in m. Positive taper closes the gap toward +theta, so the pads converge for a runner turning that way; positive taper_radial closes it toward the outer radius. Taper only adds to the gap: with no shape besides it, the film thickness h is the smallest gap of each pad. n_circ and n_radial are the numbers of elements along and across one pad.