t/r_i < 0.1 → Thin-wall approximation valid
t/r_i ≥ 0.1 → Thick-wall (Lamé required)
Real-time calculation of through-wall stress distributions in pressure vessels using the Lamé equations. Automatic thin/thick-wall classification, ASME minimum wall thickness evaluation, and von Mises stress distribution visualization.
$$\sigma_\theta(r) = \frac{p_i r_i^2}{r_o^2 - r_i^2}\!\left(1 + \frac{r_o^2}{r^2}\right)$$
Maximum at the inner wall (r = r_i).
$$\sigma_r(r) = \frac{p_i r_i^2}{r_o^2 - r_i^2}\!\left(1 - \frac{r_o^2}{r^2}\right)$$
Equal to −p_i at the inner wall, zero at the outer wall (when p_o = 0).
$$t_{\min} = \frac{p \cdot R}{S \cdot E - 0.6p}$$
S = σ_Y / 3 (allowable stress), E = 1 (seamless)
$$\sigma_{vM} = \sqrt{\sigma_\theta^2 - \sigma_\theta\sigma_r + \sigma_r^2}$$
Plane stress approximation (axial stress treated separately if required).