openairbearing.core.restrictor

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

Porous describes the restrictor: permeability, thickness, surface layer, slip at the face, and how it is fed. Two models of the flow in it follow. Both see the restrictor from the film. film.solve_static uses the one that Porous.model names (the column by default). A porous part whose shape is not the film surface extended through a thickness is a body of its own (porous_body.py), which then replaces both.

Units: permeability kappa in m², the flow potential phi(p) of gas.py in kg/(m³·s), mass flux in kg/(m² s) of film area, depth and thickness in m.

Column model. Gas moves through the thickness only, under each point of the film: the feed of film.py, kappa/hp·(phi_s - phi). Fast, and exact when the whole back is fed and no gas moves along the face, which a restrictor thin against the face approaches. Inertial (Forchheimer) resistance is in this model only. A Knudsen skin (Porous.knudsen_resistance) is in both models.

Knudsen skin. Grinding or lapping can smear the face of a sintered restrictor shut but for pores so narrow that gas crosses them as free molecules, without collisions between them. The molar flux through such a skin of thickness delta, porosity eps and tortuosity tau with pores of radius r is (eps/tau)·D_K·dp/(R_u·T·delta), with the Knudsen diffusivity D_K = (2/3)·r·v and the mean molecular speed v = sqrt(8·R·T/pi) (R the specific gas constant). Times the molar mass that is the mass flux

m = c_K·(p_i - p_f)/R_K,   c_K = (2/3)·sqrt(8/(pi·R·T)),
R_K = delta·tau/(eps·r),

linear in the pressure difference across the skin (p_i under it, p_f in the film), not in phi. c_K (s/m) belongs to the gas (knudsen_coefficient) and R_K (dimensionless) to the skin; one free flow measured at one pressure sets R_K. In series with the Darcy bulk, kappa/L·(phi_s - phi_i) = m, the pressure p_i under the skin is found point by point. A skin that carries nearly all of the pressure drop gives a free flow linear in ps - pa, as measured on ground inserts (Hosokawa et al. 2015, Fig. 12); a Darcy layer cannot. Viscous flow through the skin in parallel (the dusty-gas model) is left out: on a free flow that is linear to within the reading it adds a constant that the measurement does not determine.

The form above is the free-molecular limit of the dusty-gas model, with the Knudsen diffusivity D_K = (2/3)·r·v of a long straight pore (Mason and Malinauskas, Gas Transport in Porous Media: The Dusty-Gas Model, 1983). It holds where the viscous flow that it leaves out is small at the pressures in the skin, up to the supply pressure. Over the Knudsen flow that viscous flow is 3·r·p/(16·mu·v) at mean pressure p in the pore: for air at 2 to 4 bar 2-4.5 % at r = 5 nm, 22-45 % at 50 nm and 2 to 4.5 times the Knudsen flow at 500 nm. Outside that range an R_K fitted to one free flow is a curve fit, right at the pressure it was fitted at only: the viscous part grows with pressure, so at another supply pressure the model gives too little flow above the fitted one and too much below it, the more so the larger the pores. In terms of the Knudsen number lambda/(2·r), with the mean free path lambda of air at 20 °C about 65 nm at 1 atm and 11 nm at 0.59 MPa, the pores of a few nm that keep the viscous share small have Kn of order 1 or more at the supply pressure.

Volume model. The restrictor is a body: the film surface extended through the thickness (RestrictorVolume). Gas enters where supply pressure acts on the back face, moves in all three directions, and leaves into the film through the film face (and through the sides, if the rim is open: each side is then at the pressure of the film edge above it). This is what partial feeds (rings, holes), thick restrictors and anisotropic materials need; volume_unsupported says what it does not cover. Like the column model, it takes a Knudsen skin on the face (below). Steady Darcy flow of an isothermal gas is linear in the flow potential phi:

div( K grad(phi) ) = 0,    K = diag(k_t, k_t, k_n)·kappa(x)·f(depth),

with k_n = 1 normal to the face, k_t = inplane_ratio parallel to it, kappa(x) the permeability over the face and f the factor of each layer through the depth (surface layer, bulk). On the film face the flux into the film is the film’s own mass balance, so the film equation becomes the boundary condition of the volume there, with the film pressure equal to the pore pressure.

A Knudsen skin on the film face of the volume is a boundary layer of no thickness between the face of the body, at p_i, and the film, at p_f:

(flux leaving the body through the face) = c_K·(p_i - p_f)/R_K,

a Robin condition in the pressure. The face of the body then has unknowns of its own apart from those of the film, and the skin is a conductance between the two, linear in the pressures: one constant matrix in the solve, so the Newton iteration of the film and the volume is as robust as without it. The unknown there is the drop across the skin, y with p_i/pa = p_f/pa + s·y. With p_i/pa itself as unknown, a skin far more open than the bulk would hold its small drop as a difference of nearly equal numbers, times its large conductance: the flux would then be lost to rounding, as in the column model, where it is taken from the bulk side (_through_skin). Making the unknown the drop is what removes that; the scale s only improves the conditioning of the solve (with s = 1 it is at rounding too): s = 1 where the skin is the larger resistance and s = b/c, the bulk’s conductance kappa/L (kappa the largest in the elements around the node) over the skin’s, where it conducts more. The skin joins the body and the film node by node where the face is open, as the face is shared without a skin, so that a vanishing skin tends to the volume without one, a face seal included. The skin may vary over the face (a function of x), but must be positive wherever gas passes the face: a skin that is zero over part of it, which would leave the face shared with the film there and separated elsewhere, is refused. A skin on a film of several faces is refused too. Where the whole back is fed, the rim is sealed and the restrictor is thin against the face, this is the column model with the skin (the tests compare them).

Discretisation of the volume. Tensor product of the film’s finite elements with quadratic elements through the depth, graded toward the film face in every layer and toward the back face in the last. In the scaled variables of film.py the unknown is Theta in the volume and P on the film face; film.py solves the two together.

In a curved wall (a sleeve around a shaft) one in-plane coordinate bends (Porous.bent_axis): the first, s = radius·theta, on a journal; the second, theta, on the bore of a thrust bushing. At depth y lengths along it are (1 + c·y) times those at the film, with c the curvature in 1/m, positive for a wall outside the film. In a spherical seat both bend.

A film of several faces (the bonded thrust bushing) gets one volume per face (FaceVolumes), each through its own restrictor; they share the film and nothing else.

Partly open rim. A restrictor glued into its housing over the part of its side next to the back is open from the film face down to Porous.rim_open_depth and sealed below it: the side is held at the edge pressure down to that depth, which is a level of the depth mesh (depth_edges, graded toward it from both sides), and carries no flow below it. Assumptions: the same depth all round the rim, a glue line that is tight (no flow along the joint between restrictor and housing), and the housing face it is glued to otherwise impermeable. Where the seal ends the pore pressure is singular, as at the edge of a feed, but its flow is finite and converges with the mesh. The supply may then reach the rim through the back, since the sealed part keeps the two pressures apart; a sealed part that tends to nothing gives a flow without limit, the case of the whole height open that is refused. A thin sealed part next to a back fed up to the rim converges too, but only as the in-plane mesh along the rim is refined: its error is set by the sealed part against the in-plane element there (millimetres), not by the depth mesh, and grows smoothly as the sealed part thins. Supply flow against an axisymmetric reference (a disc 18.5 mm by 4.5 mm, the whole back fed, a gap of 1 mm), at nrefs 3 / 4 / 5: sealed 750 µm +0.45 / +0.12 %, 300 µm +0.98 / +0.26 %, 100 µm +2.5 / +0.64 %, 30 µm +10.2 / +1.8 / +0.62 %; the rim flow errs about 1.6 times as much (tests/test_core_partly_open_rim.py). A back fed only within a margin of the rim does not meet it there.

The split of the outflow between rim and film edge is set by the mesh, not by the pad, for an open depth below about one element at the rim: the first element of the depth mesh (40 µm at the face) and the in-plane element of the film mesh along the rim (millimetres for a pad of usual size), whichever is larger. The flow out is read from the residual at the nodes held (film._volume_state): the node at the corner of film edge and rim is the film edge’s, and the rim node at the level of the seal takes the gas of the element below it and of the whole in-plane element around it, which a shallow open part does not resolve. Total supply and load still converge, and tend to those of a sealed rim as the depth goes to nothing; the rim flow alone, for such a depth, is a figure of the mesh (tests/test_core_partly_open_rim.py).

Feed grooves. Supply pressure on part of the back face (feed_area) is a groove in the metal behind the restrictor, or a hole: that is all this model describes. A groove cut into the porous material changes its shape, which is no longer an extrusion of the film; that is porous_body.py.

Which Darcy solver for what. This module and porous_body.py both solve Darcy flow in the restrictor. The volume here is built from the film mesh and a mesh through the depth, so it takes the film of every bearing the geometry builders make; volume_unsupported says what it refuses (a thickness that varies over a face, inertial flow). It cannot describe a part of another shape. The body there takes any shape, meshed in three dimensions, and costs far more per node, since it is solved directly in three dimensions. Where both describe the same part they agree (the tests compare them).

class Layer(thickness: object, kappa: object, start: object = 0.0)[source]

Bases: object

One layer of the restrictor. Fields may be arrays over the film.

thickness: object
kappa: object
start: object = 0.0
class Porous(kappa: float | Callable = 1e-15, hp: float | Callable = 0.004, slip: float = 0.0, layer_flow_reduction: float = 0.0, layer_thickness: float = 2.5e-05, equivalent_clearance: float = 0.0, slip_coefficient: float = 0.0, inertial_resistance: float = 0.0, knudsen_resistance: float | Callable = 0.0, curvature: float = 0.0, bent_axis: int = 0, model: str = 'column', inplane_ratio: float = 1.0, rim_open: bool = False, rim_open_depth: float | None = None, feed_area: Callable | None = None, face_seal: Callable | None = None, spherical: bool = False)[source]

Bases: object

Description of a porous restrictor: material, thickness, face and feed.

kappa and hp may be numbers or functions of the film coordinates x (shape (2, …)). kappa = 0 over part of the face makes the restrictor solid there through its whole thickness; to seal the face only, with permeable material behind it, use face_seal.

kappa: float | Callable = 1e-15
hp: float | Callable = 0.004
slip: float = 0.0
layer_flow_reduction: float = 0.0
layer_thickness: float = 2.5e-05
equivalent_clearance: float = 0.0
slip_coefficient: float = 0.0
inertial_resistance: float = 0.0
knudsen_resistance: float | Callable = 0.0
curvature: float = 0.0
bent_axis: int = 0
model: str = 'column'
inplane_ratio: float = 1.0
rim_open: bool = False
rim_open_depth: float | None = None
feed_area: Callable | None = None
face_seal: Callable | None = None
spherical: bool = False
at(x) → Porous[source]

This restrictor with its face-by-face options evaluated at x.

area_factor(y)[source]

Area the gas passes through at depth y (m), per unit of film area.

face_open(x)[source]

True where gas can pass between the body and the film.

path_length(y_from, y_to)[source]

Length of the flow path between two depths, as seen from the film, m.

Depth y is measured from the film face into the restrictor, in m. In a curved wall the area the gas passes through changes with depth (area_factor), and the flux per unit of area with it, so the resistance of a slice is that of a flat one of this length: the integral of dy / area_factor. Without curvature it is the plain distance.

equivalent_thickness(hp=None)[source]

Thickness of the flat slab with the same Darcy resistance, m.

mass_flux(dphi, mu, kappa=None, hp=None, *, gas=None, p_supply=None)[source]

Mass flux through the restrictor into the film, kg/(m² s) of film.

  • dphi: difference of the gas flow potential across it, supply minus film, kg/(m³·s).

  • mu: gas viscosity, Pa·s, taken as uniform through the thickness; used with inertial resistance only.

  • kappa, hp: permeability (m²) and thickness (m) to use instead of those of this restrictor, as arrays over the film.

  • gas, p_supply: the gas model and the absolute supply pressure (Pa); needed with a Knudsen skin only, whose flow follows the pressure and not phi.

Darcy flow gives m = kappa/L·dphi with L the equivalent thickness. With inertial resistance beta the flux solves

beta·Li·m·|m| + (mu·L/kappa)·m = mu·dphi,

where Li, the integral of dy / area_factor², accounts for the flux per unit of area changing with depth in a curved wall. With a Knudsen skin the flux is that of the bulk and the skin in series (_through_skin). Returns (flux, d(flux)/d(dphi)), the slope in m. Raises NotImplementedError for inertial resistance and a Knudsen skin together.

curved(radius: float, wall: str, spherical: bool = False) → Porous[source]

This restrictor as the curved wall of a cylindrical or spherical bearing.

A porous sleeve is a cylindrical shell: the area the gas passes through changes with depth. radius is that of the film, m. wall is “outside” (a sleeve around the film: a bushing on a shaft, area growing away from the film), “inside” (a porous shaft or liner inside the film, area shrinking) or “flat” (a slab: no change). A spherical seat curves in both directions, so its area changes with the square of the radius (spherical=True). Thickness and permeability stay those of the material; the curvature is carried along, and the flow resistance and the inertial resistance each use it in their own way. A curved wall needs a uniform thickness, smaller than the radius for an inside wall (ValueError otherwise).

free_flow(area, p_supply, pa=101325.0, gas: Gas = AIR, *, radius: float | None = None, wall: str = 'flat', spherical: bool = False) → float[source]

Free-gas volume flow through the bare restrictor, m³/s at pa.

The restrictor of face area area (m²) vents straight to ambient (pa) from p_supply, both absolute, Pa, with no film in front of it. Uniform kappa and hp only; gas moves through the thickness only, as in the column model. For a sleeve, give the film radius (m) and the wall (“outside” or “inside”); area is then the bore area 2·pi·radius·length. For a spherical seat, spherical=True and the area of the seat. Raises ValueError for a Knudsen skin given as a function of x: without a film there is no face to evaluate it on.

classmethod from_free_flow(flow, area, p_supply, hp, pa=101325.0, gas: Gas = AIR, slip=0.0, *, radius: float | None = None, wall: str = 'flat', spherical: bool = False) → Porous[source]

Restrictor whose bare free-gas flow at p_supply is flow (m³/s at pa).

This is how permeability is usually measured. Arguments as in free_flow; hp is the uniform thickness in m. The flow is taken as Darcy flow, and the restrictor returned has kappa, hp and slip only, all else at its default. For a sleeve, give the film radius and the wall: the permeability then comes out as that of the material, to be used with the same wall in the bearing model. For the resistance of a Knudsen skin on a known bulk, see with_knudsen_skin.

with_knudsen_skin(flow, area, p_supply, pa=101325.0, gas: Gas = AIR, *, radius: float | None = None, wall: str = 'flat', spherical: bool = False) → Porous[source]

This restrictor with the Knudsen skin that makes its free flow flow.

flow is the measured free flow, m³/s of free gas at pa, at the absolute supply pressure p_supply (Pa); the other arguments are those of free_flow. The bulk (kappa, hp, curvature) is kept and the skin takes the rest of the pressure drop: the bulk passes the measured mass flux m from p_supply down to the pressure p_i under the skin, and the skin R_K = c_K·(p_i - pa)/m (module docstring). Exact, no iteration. The skin is free-molecular, which holds for pores of a few nm (a small viscous share at p_supply, module docstring); for wider ones the R_K returned fits this one free flow and does not carry over to another supply pressure. A bulk much more open than the skin (a large kappa) leaves the skin all of the drop. Uniform kappa and hp only. Raises ValueError where the bulk alone passes less than flow, and NotImplementedError with inertial resistance.

slip_factor(h, kappa=None)[source]

(Psi, dPsi/dh): the total slip factor on h³ at gap h (m), and its slope.

The constant slip plus the Beavers-Joseph factor of slip_coefficient at the permeability kappa (m², default that of this restrictor). The slope is in 1/m.

class RestrictorVolume(film, sc, first: float = 40e-6)[source]

Bases: object

The restrictor body of a film: its mesh, its Darcy operator and its state.

  • film: the film (film.py), with a uniform restrictor thickness.

  • sc: its scaled coefficient fields at the position to solve.

  • first: size of the depth element at the film face, m (depth_edges).

The unknowns are Theta, the scaled flow potential of film.py, at the nodes of the body, and P = p/pa where the film shares a node with the face. They are numbered depth level by depth level: index = level·n + node, with n the number of film nodes; depth is the depth of each level in m, and the levels are not in order of depth. Where the face is sealed the film has unknowns of its own after those of the body. film_index is the unknown of each film node, face the unknowns of the body on the film face, supply those on the fed part of the back, rim those on an open rim, at rim_pressure (Pa), and sealed those left out of the solve because nothing flows there. K is the Darcy operator on Theta, scaled like the film residual.

With a Knudsen skin (Porous.knudsen_resistance) the film has unknowns of its own, P after those of the body, and the unknowns of the body on its face are its pressure p_i/pa there; S is the scaled conductance of the skin between the two (module docstring), None without a skin. pressure lists the unknowns of the body that are a pressure P and not Theta, is_pressure marks them. Behind a skin the unknowns of the body on its face (drop, marked by is_drop) are the drop across it, scaled: P_i = P_f + drop_scale·y (face_pressure).

Raises NotImplementedError where the model does not apply (volume_unsupported, and a Knudsen skin that is zero over part of the open face) and ValueError for a feed that covers no part of the back or meets an open rim, which the whole back fed always does with the rim open down to the back, and for an open depth of the rim (Porous.rim_open_depth) that is not one number in (0, hp] or that is given with a sealed rim.

face_pressure(X)[source]

P_i = p_i/pa on the face of the body behind a Knudsen skin.

theta(X, sc)[source]

Theta at every node of the body from the unknowns.

P at pressure, and behind a Knudsen skin P_i from the drop across it (face_pressure).

flow(X, sc)[source]

Residual of the flow in the body: what each node gives to it.

Scaled mass flow (kg/s over the mass scale of film.py): zero at a free node, and at a node held at a pressure the flow that enters the body there.

flow_jacobian(X, sc)[source]

Derivative of flow with respect to the unknowns.

dtheta(X, sc)[source]

d(Theta)/d(unknown): 1 except where it is P or a drop across a skin.

Diagonal, but for a skin: Theta on the face of the body then follows the film pressure too (face_pressure).

embed(A2)[source]

A film matrix placed on the film’s unknowns.

column_start(P1, sc)[source]

Unknowns from a film pressure P1 = p/pa, with the column profile below.

Behind a Knudsen skin the profile starts from the pressure under the skin of the column model at P1, which the face of the body takes.

depth_edges(layers, first: float = 40e-6, ratio: float = 2.0, back: float | None = 300e-6, *, marks=(), mark: float = 40e-6) → ndarray[source]

Element edges through the thickness in m, 0 at the film face.

layers: thicknesses from the film face to the back, m. In each layer the elements grow geometrically by ratio from about first (m) on its film side, with an edge at every layer interface: the pore pressure varies most next to the film face, where the gas turns along it. The last layer is graded from the back face too, from about back (m; None: not at all), where the edge of a partial feed is. The sizes are scaled to fill each layer, at least two elements in each.

marks: depths, m, that get an edge of their own, with the elements graded toward them from both sides from about mark (m): the depth where a partly open rim (Porous.rim_open_depth) is sealed, at whose corner the flow is singular. A mark at a layer interface or at either face changes nothing. mark 40 µm: on a disc 4.5 mm thick open down to 3.75 mm, with 300 µm the flows stayed 0.3 % (supply) and 0.7 % (rim) off an axisymmetric reference however fine the film mesh, with 40 µm they fell to 0.06 % and 0.15 % at nrefs 5, and 20 µm moved them by 0.005 % (tests/test_core_partly_open_rim.py). The mark takes that disc from 9 to 16 elements through the thickness.

ratio 2 keeps the elements in the middle of a thick restrictor small.

factorise(A)[source]

Sparse LU of a matrix of the volume problem.

These matrices have a symmetric pattern and a strong diagonal (diffusion in the body and in the film), so the ordering is chosen for A + Aᵀ and a diagonal entry is kept as pivot unless it is below 1 % of its column. That is about ten times faster than partial pivoting and gives the same solution to rounding. Returns the SuperLU object.

knudsen_coefficient(gas: Gas) → float[source]

c_K = (2/3)·sqrt(8/(pi·R·T)) of a gas, s/m: Knudsen flux per unit pressure.

The mass flux through a Knudsen skin is c_K·dp/R_K (module docstring), the free-molecular limit, valid where viscous flow in the pores is small. R·T, the specific gas constant times the temperature, is p/rho of the gas at 1 Pa, where every gas is ideal: free-molecular flow depends on the gas through its molar mass and temperature only.

restrictor_layers(porous, x) → list[source]

Layers from the film face to the supply face at the points x.

One Layer without a surface layer, otherwise the surface layer and the bulk, with fields of the shape of x[0]. Their series flow is that of porous.kappa over the restrictor, so a surface layer redistributes the resistance without changing the static column model. In a curved wall the resistance of a slice is its path length (porous.path_length) over its permeability. Where the face is sealed, or kappa is 0, the permeability of every layer is 0.

volume_unsupported(film) → str | None[source]

Why the volume model cannot be used for this film, or None if it can.

A film of several faces (Film.regions, the thrust bushing) gets one volume per face, each with its own restrictor description, which must then be uniform over that face but for its permeability.