CAESAR II calculates section modulus for stress computations based on the properties of the matching pipe as defined by the codes.

The pipe thickness is used twice when calculating SIFs and flexibility factors; once as Tn, and once when determining the mean cross-sectional radius of the pipe in the equation for the flexibility characteristic (h).
Richard Ay