Thin-Walled Pressure Vessel
Hoop Stress, Longitudinal Stress & Safety Factor Simulator
Click “New Question” to start.
Press “Start Quiz” to begin a 5-question pressure vessel quiz.
1 Overview
The Pressure Vessel Simulator analyses thin-walled cylindrical and spherical vessels under internal pressure. It calculates hoop stress (σh = pd/2t), longitudinal stress (σL = pd/4t), factor of safety (yield strength / max stress), and verifies the thin-wall assumption (d/t > 20). The simulator also identifies whether the vessel is safe, marginal, or overstressed based on the computed safety factor.
Pressure vessels are used in boilers, gas cylinders, pipelines, chemical reactors, and hydraulic accumulators. Understanding hoop and longitudinal stress is fundamental to safe vessel design — hoop stress is always the dominant stress in cylindrical vessels, being exactly twice the longitudinal stress. This is why cylindrical vessels fail by longitudinal cracking (splitting along the length).
2 Getting Started
The simulator opens in Simulate mode with a cylindrical vessel (p = 5 MPa, d = 400 mm, t = 10 mm, Sy = 250 MPa). The canvas shows a 3D cutaway of the vessel with colour-mapped stress arrows indicating hoop and longitudinal directions. Readout badges above the canvas display σh, σL, Factor of Safety, d/t ratio, and a status indicator.
Adjust the four sliders to change pressure, diameter, wall thickness, and material yield strength. Toggle between Cylindrical and Spherical vessel types using the buttons at the top. For a sphere, stress is equal in all directions: σ = pd/(4t).
3 Simulate Mode
The four input parameters are: Pressure p (1–20 MPa), Diameter d (100–1000 mm), Thickness t (2–50 mm), and Yield Strength Sy (100–800 MPa). As you drag any slider, all outputs update instantly on the canvas and readout badges.
For a cylindrical vessel: hoop stress σh = pd/(2t) and longitudinal stress σL = pd/(4t). The factor of safety is Sy/σh (since hoop stress is the maximum). For a spherical vessel: stress in all directions is σ = pd/(4t), which is half the hoop stress of an equivalent cylinder — making spheres structurally more efficient per unit volume.
The d/t ratio badge shows whether the thin-wall assumption is valid (d/t > 20). When d/t drops below 20, the status changes to indicate thick-wall conditions where Lamé’s equations should be used instead. The status badge turns green (safe), yellow (marginal), or red (overstressed) based on the factor of safety.
4 Explore Mode
Explore mode presents educational concepts on a selectable grid. Topics include hoop stress derivation, longitudinal stress derivation, thin-wall vs thick-wall criteria, the relationship between hoop and longitudinal stress, spherical vessel analysis, factor of safety calculation, minimum wall thickness design, and real-world applications (boilers, gas cylinders, pipelines).
Each concept card includes a text explanation and key formulas. Study these before attempting Practice mode to ensure you understand the derivation of σh = pd/(2t) from free-body diagram equilibrium.
5 Practice & Quiz
Practice mode generates random pressure vessel problems. Click New Question to receive a problem such as “Calculate the hoop stress for a cylinder with p = 8 MPa, d = 500 mm, t = 12 mm.” Enter your numeric answer, click Check, and review the step-by-step solution. Your running score is tracked.
Quiz mode presents 5 questions per session, mixing multiple-choice and numeric formats. Questions cover hoop stress, longitudinal stress, factor of safety, minimum thickness, and thin-wall criteria. Click Start Quiz to begin, and use Next to advance through questions.
6 Tips & Best Practices
- The key formula for cylindrical vessels is σh = pd/(2t). Hoop stress is always twice the longitudinal stress.
- For spherical vessels, stress is σ = pd/(4t) in all directions — equal to the longitudinal stress of a cylinder with the same dimensions.
- The thin-wall assumption requires d/t > 20. Below this ratio, stress varies significantly through the wall and Lamé’s equations are needed.
- Design codes typically require FOS = 2 to 4 for pressure vessels. Rearranging: tmin = pd × FOS / (2Sy).
- Try increasing the pressure while keeping other parameters constant — watch how the safety factor drops linearly.
- Compare cylindrical and spherical vessels with the same dimensions to see why spheres are structurally more efficient (half the maximum stress).
- Cylindrical vessels fail by longitudinal cracking because hoop stress (circumferential) is the highest stress and acts to split the cylinder along its length.
Thin-Walled Pressure Vessel Theory — Hoop and Longitudinal Stress Analysis
Thin-walled pressure vessels are used in boilers, gas cylinders, pipelines, and chemical reactors. Understanding hoop stress and longitudinal stress is fundamental to safe pressure vessel design. This simulator calculates internal stresses, factor of safety, and helps students visualise how wall thickness and diameter affect structural integrity.
Hoop Stress (Circumferential Stress)
Hoop stress, also called circumferential stress, is the dominant stress in a thin-walled cylindrical vessel. It acts in the tangential (circumferential) direction and is given by σh = pd/(2t), where p is internal pressure (MPa), d is internal diameter (mm), and t is wall thickness (mm). Hoop stress tends to split the cylinder along its length and is always twice the longitudinal stress in a cylinder.
Longitudinal Stress
Longitudinal stress acts along the axis of the cylinder and tends to pull the end caps off. It is calculated as σL = pd/(4t) — exactly half the hoop stress. This is why cylindrical pressure vessels typically fail by longitudinal cracking (hoop stress failure) before axial failure. For a spherical vessel, stress is equal in all directions: σ = pd/(4t).
Thin-Wall Criterion and Design
The thin-wall assumption is valid when d/t > 20, meaning the wall thickness is small relative to the diameter. Within this regime, stress is approximately uniform through the wall. For thick-walled vessels (d/t < 20), Lamé’s equations account for stress variation through the wall. The minimum required wall thickness is t = pd/(2Sy/FOS) where FOS is the factor of safety (typically 2–4 for pressure vessels).
Who Uses This Simulator?
This pressure vessel simulator is ideal for engineering education and undergraduate mechanical engineering students studying strength of materials, machine design, and manufacturing. It is also useful for boilermakers, piping engineers, and anyone preparing for professional engineering examinations that include pressure vessel design questions.
Thin-Walled Pressure Vessel Formulas
| Stress Type | Cylindrical Vessel | Spherical Vessel |
|---|---|---|
| Hoop (circumferential) Stress | σh = pD / 2t | σ = pD / 4t |
| Longitudinal (axial) Stress | σl = pD / 4t | σ = pD / 4t |
| Hoop-to-Longitudinal Ratio | σh = 2 × σl | σh = σl (equal) |
| Radial Stress | σr ≈ 0 (thin wall) | σr ≈ 0 (thin wall) |
| Minimum Wall Thickness | t = pD / (2σallow) | t = pD / (4σallow) |
Thin-wall assumption: t/D < 1/20 (wall thickness less than 5% of diameter). When t/D ≥ 1/20, use Lamé's thick-wall equations instead.
Explore Related Simulators
Explore our beam bending simulator, shaft torsion simulator, Mohr’s Circle simulator, and bolted joint design tool for complementary stress analysis topics in strength of materials.