Validation¶
Comparisons of openairbearing with published measurements and with other authors’ calculations. The reference documents are not in this repository; each case cites its reference.
python -m validation # every case: deviations and trend
python -m validation --markdown # the same as Markdown, for a report
python -m validation --write # the Markdown report, into RESULTS.md
python -m validation --figures DIR # the figures of the cases, as PNG files
pytest -m validation # solves every case afresh: what moved
The numbers are computed from the code and are not kept in the repository;
RESULTS.md is ignored by git. A solved case’s comparisons are kept in
.results/ (also ignored), keyed by a fingerprint of what they rest on: the
package (less its drawing modules), common.py, the installed versions of
Python and the numerical libraries, the lock file, the case’s data and its
model code. The report, --figures and the documentation read them back
until one of those changes, so an edit of a figure, a verdict or a marker
costs no solution; --fresh (or OAB_VALIDATION_FRESH=1) solves anyway.
pytest -m validation always solves, and stores what it solved. A figure
draws from its comparisons: a heavy case keeps what its figures need there,
in extra (store.py).
A case is named by its reference and what is compared, the same way for
all: first author and year, bearing type, one distinguishing detail. For
example “Miettinen 2024, Circular thrust, New Way 40 mm pad”. Bearing types
are Circular thrust, Annular thrust, Rectangular thrust, Journal and
Tilting-pad journal; one paper is one case. The name is the TITLE of
case.py and the heading of NOTES.md.
Each case is a folder in cases/ with:
case.py: title, reference, where it was published, the porous material,PARAMETERS(what the case takes from its reference, each value the reference does not give marked as assumed, estimated or fitted),comparisons(), which computes the present solution and returns what is compared, andfigure(comparisons), which draws the film it solves (mesh, feed and prescribed pressures) and then the figures of the reference with the present solution laid over them. A case runs on its own, printing its deviations and showing its figures:python -m validation.cases.miettinen2024_newway_40mm_pad.case;data/: the measured or published values as CSV, each file starting with comment lines that say which table or figure and page it came from, and whether it was digitised;NOTES.md: the name of the case, a factual description of at most three sentences (the bearing, the published data compared, the inputs assumed or fitted), and the mesh with its convergence.
The rules a case follows are in common.py. The important ones:
Inputs come from the reference and are not tuned for agreement.
A measurement is evidence to read, not a gate. Each carries uncertainty of its own, and a better solution may move away from one. The test fails only when a case breaks or a benchmark with a known answer gets worse; a measurement that moved is reported, and passes.
Numbers of agreement are never written by hand. The table and where along the curve the present solution is high or low are computed. The verdict of a comparison and
NOTES.mdsay what is compared and which inputs are assumed or fitted; they do not evaluate the agreement. The figures are the result.
Cases¶
Each case is solved when these pages are built, and its page shows the figures of its reference with the present solution laid over them. Nothing on a page is a stored result.
Author |
Year |
Published in |
Bearing |
Porous material |
Reference is |
Note |
|---|---|---|---|---|---|---|
1978 |
Tribology International |
Circular thrust |
sintered iron |
measurement |
three pads |
|
2017 |
Tribology International |
Journal |
graphite |
measurement |
40 x 70 mm, two spindles |
|
1968 |
Journal of Lubrication Technology |
Circular thrust |
graphite |
measurement |
central and groove feed |
|
2015 |
Dissertation, TU Ilmenau |
Journal |
graphite |
measurement |
New Way bushings |
|
2015 |
Journal of Tribology |
Circular thrust |
sintered metal |
measurement |
porous inlet ports |
|
1996 |
PhD thesis, Cranfield University |
Circular thrust |
alumina |
measurement |
single and two-layer pads |
|
2021 |
Lubrication Science |
Journal |
graphite |
measurement |
hybrid operation |
|
2022 |
Tribology International |
Circular thrust |
graphite |
measurement |
undamaged pad |
|
2004 |
Tribology International |
Circular thrust |
not confirmed |
measurement |
groove feed and open rim |
|
2024 |
Tribology International |
Annular thrust |
graphite |
measurement |
annular seals |
|
2024 |
Precision Engineering |
Circular thrust |
graphite |
measurement |
New Way 40 mm pad |
|
1965 |
Journal of Basic Engineering |
Circular thrust |
sintered brass |
measurement |
central hole feed |
|
1978 |
Report, Oak Ridge |
Rectangular thrust |
graphite |
measurement |
Y-12 test pad |
|
2020 |
Report, Texas A&M University |
Tilting-pad journal |
carbon graphite |
measurement |
free flow |
|
2021 |
Applied Sciences |
Journal |
carbon graphite |
model |
exact solution |
|
2008 |
Precision Engineering |
Circular thrust |
silicon carbide |
measurement |
ambient and high vacuum |
|
1965 |
ASLE Trans. |
Journal |
sintered iron |
measurement |
bushing fed all over |
|
2023 |
Precision Engineering |
Circular thrust |
graphite |
measurement |
lapped faces, groove feed |
|
2022 |
Membranes |
Circular thrust |
silicon carbide |
measurement |
partly fed back |
|
2003 |
Proc. IMechE Part J |
Journal |
graphite |
measurement |
tilt moment |