openairbearing.core

Solver core: gas models, restrictor, bearing geometries, film solver.

The names used most are exported here: the gas models and the functions that make one (gas_at, ideal_gas, real_gas, the PRESETS), Porous, the functions that build the film of a bearing, and the static solver with stiffness and free_flow. The rest is in the submodules, of which cases, porous_body, reference and restrictor are exported as modules. free_flow here is that of a film (film.free_flow); the one of a bare restrictor of known area is Porous.free_flow.

from openairbearing import core

porous = core.Porous(kappa=1.5e-15, hp=4e-3)
film = core.circular_pad(18.5e-3, porous=porous, ps=0.5e6)
state = core.solve_static(film, [5e-6, 0.0, 0.0])
state.force("h"), state.flow_normal

cases

Bearing cases: plain, serialisable descriptions of one bearing.

film

Steady gas film with porous feeding: one solver for every bearing geometry.

gas

Gas property models for the film and porous-flow equations.

geometry

Bearing geometries as builders of a Film.

meshes

Meshes for film domains, with quadratic elements and curved edges.

params

Parameter metadata for input dataclasses.

porous_body

The porous part as a body of its own: Darcy flow on a mesh of hexahedra.

reference

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

restrictor

The porous restrictor: its description, and two models of the flow in it.