Secondary stresses are stresses that arise due to the constraint received by the deformation of the pipe and are not directly balanced with external forces. The requirements of flexible design are also met along with the requirements of seismic design.