Engineering
Thin-wall vessel stress API
Computes hoop, longitudinal and von-Mises stress for a thin-walled cylinder, flags the D/t validity limit and inverts to the required wall thickness for an allowable stress. Answers 'What is the hoop stress in my pressure pipe?', 'How thick must the wall be?'.
Price$0.04per request
MethodPOST
Route/v1/engineering/thin-wall-vessel
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
pressure-vesselhoop-stressthin-wallcylinderlongitudinal-stresswall-thicknessvon-misesmachine-design
API URL
Integration docshttps://x402.hexl.dev/v1/engineering/thin-wall-vesselExample request
{
"internalPressureMpa": 2,
"innerDiameterM": 1,
"wallThicknessM": 0.01,
"allowableStressMpa": 150
}Example response
{
"hoopStressMpa": 100,
"longitudinalStressMpa": 50,
"vonMisesStressMpa": 86.6025,
"diameterToThicknessRatio": 100,
"thinWallValid": true,
"formula": "σθ = p·D/(2t), σz = p·D/(4t)",
"interpretation": "Thin-wall theory applies; hoop stress is twice the longitudinal — circumferential seams govern.",
"requiredWallThicknessM": 0.00666667,
"factorOfSafety": 1.5
}Input schema
{
"type": "object",
"required": [
"internalPressureMpa",
"innerDiameterM",
"wallThicknessM"
],
"properties": {
"internalPressureMpa": {
"type": "number",
"examples": [
2
]
},
"innerDiameterM": {
"type": "number",
"examples": [
1
]
},
"wallThicknessM": {
"type": "number",
"examples": [
0.01
]
},
"allowableStressMpa": {
"type": "number",
"examples": [
150
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}