The function of a bolt is to provide a clamp load or preload (Fp) to sufficiently compress and stress the gasket and resist the parting forces exerted by the hydrostatic end force and other external loads. The hydrostatic end force is created by the pressure of the internal fluid across the internal area of flange. The internal area is generally the inside diameter of the sealing element.
All bolts behave like a heavy spring. As you turn down the nut against the flange, the bolt stretches and the flange and gasket compress. All bolt-tightening methods result in stretching the bolt. The torque-tightening method uses the thread helix of turning the nut against the reactive forces of the flange to stretch the bolt. The hydraulic bolt-tensioning method utilizes an annular piston threaded on the end of the bolt to provide an axial stretch.
There are many types of bolt with different shapes like hex bolt, carriage bolt, square head bolt, stud bolt, ball head bolt and so on.
The bolts always work together with a nut. A nut fastener is a mechanical fastener with a threaded hole. It is attached to a bolt, screw or stud to provide a clamping force and prevent axial movement. For example, a bolt is inserted through two parts, with aligned holes, and a nut is then screwed onto the bolt. The shaft of the bolt prevents radial movement of the parts, while the head of the bolt and the nut together prevent axial movement.