openairbearing.core.reference

Closed-form solutions for flat, parallel porous faces without sliding.

With a uniform gap, no sliding and the column restrictor model (Darcy flow through the thickness, the whole back fed) the film equation of film.py is linear in the gas flow potential phi (gas.py):

laplace(phi) = m² (phi - phi_s),    m² = 12 kappa / (hp h³ (1 + Psi)),

so the classic p² solutions for an ideal gas hold for any gas once written in phi. h is the gap plus the equivalent clearance of the restrictor. These are exact and fast, and serve two purposes: checking the finite-element solver, and sweeps over thousands of designs where only a flat face is needed.

Each function returns a Flat with the load, the supply flow and the pressure profile, for one film thickness or an array of them at once. stiffness differentiates any of them in the gap. Their shared arguments:

  • h: gap in m, one value or an array.

  • porous: the restrictor, with uniform permeability and thickness and no inertial resistance (ValueError otherwise).

  • ps, pa: absolute supply and ambient pressure, Pa.

  • gas: the gas model.

What the closed forms cover: a flat restrictor wall, fed over its whole back, open to the film over its whole face, in the column model. A restrictor that asks for anything else is refused with a ValueError that names the option: a partial feed (feed_area), a sealed part of the face (face_seal), a curved wall (curvature, set by Porous.curved) and model="volume". The last is refused although it is a choice of model and not a property of the restrictor: a restrictor marked for the volume model would otherwise get a column-model answer without a word. To compare the two on purpose, pass dataclasses.replace(porous, model="column"). The options that only the volume model uses (inplane_ratio, rim_open, rim_open_depth, the surface layer) change nothing in the column model and are accepted.

class Flat(load: float, flow_supply: float, flow_normal: float, x: ndarray, p: ndarray)[source]

Bases: object

Solution on a flat parallel face.

For an array of n film thicknesses, load and the flows are arrays of n and p has shape (n, len(x)).

load: float
flow_supply: float
flow_normal: float
x: ndarray
p: ndarray
annular_pad(r_in: float, r_out: float, h: float, *, porous: Porous, ps: float, pa: float = 101325.0, p_inner: float | None = None, gas: Gas = AIR) → Flat[source]

Annular pad: p_inner (default ambient) at the bore, ambient outside.

r_in and r_out are the two radii in m, p_inner an absolute pressure in Pa.

circular_pad(radius: float, h: float, *, porous: Porous, ps: float, pa: float = 101325.0, gas: Gas = AIR) → Flat[source]

Circular pad of the given radius (m), ambient pressure at the rim.

stiffness(solution, h, *args, rel_step: float = 1e-4, **kwargs)[source]

-d(load)/dh of one of the functions above, by central difference, N/m.

For a strip it is per metre of length. The arguments after h are those of the function before its h:

stiffness(circular_pad, 5e-6, radius, porous=..., ps=...)

differentiates circular_pad(radius, h, …) at h = 5e-6 m. h may be an array. The step is rel_step times the gap plus the equivalent clearance.

strip(width: float, h: float, *, porous: Porous, ps: float, pa: float = 101325.0, gas: Gas = AIR) → Flat[source]

Infinitely long strip of the given width (m), ambient on both sides.

Load and flows are per metre of length.