A mash up of some of my previous posts.
----
You need to get your hands on B31.8. Due to its many class factors, its a lot different than B31.1, 3 and even the liquid pipeline code B31.4
If you are a U.S DOT regulated pipeline, you will also need to follow this one to the letter as well,
CFR Title 49, Part 192 gas pipelines or
194 liquids for liquid pipelines
==============
Pipeline design code might be one of several. ANSI B31.8 / CFR Title 49 Part 192 in the USA, but could be different elsewhere. There you will find the minimum loading conditions, Area Classification Factors and pre-approved pipe material yield stresses, and the limiting stresses. With Area Class Factors, internal pressure, pipe diameter, wall thickness and yield stress you will be able to determine an initial allowed design pressure for various wall thicknesses using the Barlow based formula (PD/2tDF <= yield stress), or given the pipeline design pressure, you will be able to determine the minimum wall thickness required for installing the pipe through each different class factor area you have along the pipeline.
The first step is to use the Barlow formula to determine the minimum wall thicknesses you will need for each class factor through which your pipeline will be installed. That wall thickness will technically only be sufficient for hoop stress, as Barlow's formula does not address combined stresses. There is a higher allowable for combined stresses, so you can have additional axial and bending stresses, analyze those in combination with hoop stress and find the combined stress to check against the higher combined allowable stress. So total stress is not just limited to checking hoop stress against the Barlow allowable. If you find areas where total stesses cannot be limited to the combined stress allowable using your initial wall thickness determinations, including hoop stress, you may have to increase the wall thickness for those specific areas.
API 5L is the pipe production specification typically used for a range of strength in pipeline steels, so you will find the yield stress for all grades of material in API 5L, which will also be listed under the same material designation in ANSI B31.8, but in B31.8, you will find the class factors which must be applied to calculate your hoop stress allowable.
Axial stress is due to an axial load applied to the pipe and is equal to S = p/A. p is load and A is the cross-sectional area of the pipe wall. It will be either tension, or compression, corresponding to the direction of the applied load.
Stress in the Axial Direction can also be caused by internal pressure and is nominally equal to the circumferencial stress, S = P*D/2/t, * Poisson_Ratio. P = pressure, D = diameter, t = wall thickness. Poisson_Ratio for steel pipe is usually taken as 0.3
If the pipe is unrestrained, the pipe will shorten without generating stress. If the pipe is held rigidly fixed at both ends, S will result as an axial tension stress.
If the pipe has closed ends, another axial stress can be generated from internal pressure, as the pressure will act on each closed end surface to generate an end force F = pi*D^2/4 * P
If the pipe is not axially restrained, the pipe will elongate with the resulting axial stresss = F/A in tension. If the pipe is held rigidly fixed at both ends by an anchor, or is well embedded in soil, the anchor or soil will take that load and an opposite compressive axial stress, F/A, will be introduced into the pipe.
If there are changes in temperature, thermal axial stress can be generated. If the temperature is increased, a compressive axial stress can be introduced into the pipe, or if temperature is decreased, a tension stress can be introduced. Thermal stresses are only generated if the pipe is held fixed at both ends, otherwise the pipe will expand or contract, respectively, without generating any additional stress.
Bending can introduce another axial stress Sb = M * c/I , tension on one side and compression on the other. M is bending moment, c is the pipe radius, I is the moment of intertia.
Total Axial stresses is the algebraic summation of all of the above.
==================
B31 uses Tresca's max shear stress.
Comparison of Tresca and von Mises
See John Breen's response
Combining Stress including hoop stresses is mentioned in all these codes
B31.4 Paragraph 402.7 & A402.3.5
B31.8 Paragraph 833.4
B31.1 Vii-5.0
B31.3 Paragraph 302.3.6 - SL due to sustained loads, such as pressure ..
The pressure component of axial stress in all pipe, is
1.) In Restrained segments is related to hoop stress by Poisson's ratio ν,
axial stress due to pressure = P * D /2 /wt * ν
2.) In Unrestrained segments, the longitudinal pressure stress component
axial stress due to pressure = P x Ainternal/ Awall
≈============
PD/4t is not half the hoop stress, it is the AXIAL tension stress created by pressure acting on a pipe with capped ends, or a closed valve. Pressure * Pipe's x-sectional Inside Area / x-sectional Area of the Pipe wall. If you approximate that axial stress, it is equal to 1/2 the hoop stress, or D/4t, where D is the average wall thickness = OD- t.
≈==========
Take a closer look at primary stresses,
Bourdon pressure "expansion" results in contraction in the axial direction, which, if restrained, produces axial tension. As longitudinal stress is the result of Poisson's ratio x hoop stress, its much less than the hoop stress. Plotting these principal stresses on Mohr's diagram results in hoop stress (tension) far to the left and axial stress (also tension) between hoop stress and 0. The result is a lesser maximum shear stress than when Bourdon axial stress is not considered at all. Burdon "None" therefore results in a conservative design for a straight pipe, and going by what's been said above, for a curved pipe too. I would guess, probably from being the result of secondary effects.
Poisson's ratio is 0.3, so contraction is 30% of hoop stress. End Cap Effect is 50% of hoop stress in tension - 30% of hoop stress, leaves 20% of hoop stress net axial expansion. Since axial stress is tension and hoop stress is tension, Mohr's maximum shear stress is reduced.
============
Total effective stress limit is 0.9 SMYS for either gas or liquid pipelines.
The area class design factors apply to Barlow calculation and to "total longitudinal stress", each of which do not address "total effective stress" as does API RP 1102. The area class design factors 0.4, 0.5, 0.6, 0.72, 0.8, for gas pipelines and 0.72 for oil pipelines do not apply to total effective stress based on the Von Mises formula. B31.4 and B31.8 do not use Von Mises formula. They are a Tresca stress calculations, so the failure criteria is different when using the Von Mises total effective stress formula in API RP 1102, hence that is = 0.9 SMYS.
Thermal stresses are left for later. Let us know when you get there.
A black swan to a turkey is a white swan to the butcher ... and to Boeing.