/v1/pressure
Contact pressure and hub hoop stress
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/pressfit-api/v1/pressure" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pressfit-api/v1/pressure", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pressfit-api/v1/pressure");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/pressfit-api/v1/pressure",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "The interference squeezes the parts and a contact pressure builds at the interface, from the Lamé thick-wall equations (same material both parts). The hub bore sees the highest stress — a tensile hoop stress p·(D²+d²)/(D²−d²) — so a thin hub can yield or split; keep it below the material yield with a safety margin. Double the interference and you double the pressure. A solid shaft gives a higher pressure than a hollow one.",
"inputs": {
"shaft_dia_mm": 50,
"interference_mm": 0.05,
"hub_outer_dia_mm": 100,
"shaft_bore_dia_mm": 0,
"youngs_modulus_gpa": 200
},
"contact_pressure_mpa": 75,
"hub_bore_hoop_stress_mpa": 125
},
"meta": {
"timestamp": "2026-06-06T23:53:53.733Z",
"request_id": "07d131ea-cf18-4892-95d1-3b3a8f9bef40"
},
"status": "ok",
"message": "Contact pressure",
"success": true
}