For many engineering applications, bolted connections are used extensively for holding various components together and transferring of loads among those components (e.g. bolted connections for connecting trusses, L or T-type flanges).
Usually the bolts used in these types of connections, are under tension (pretension) for providing a slip-resistant connection. Also when a bolted connection is under pretension (e.g. a nut is tightened around the bolt shank) and an external load is applied, the bolt will endure much longer whereas for an un-pretensioned bolted connection the bolt might fail in seconds (different fraction of the external load goes through the bolt shank for each case)
Abaqus CAE offers straightforward methods for manually applying pretension on bolts, as long as the number of bolts within a model is kept to a minimum. However in models incorporating a large number of bolts or bolted connections in general, manually applying bolt pretension can become tedious work and extremely time consuming.
In such a case, applying bolt pretension with the use of a Python script can optimize efficiency, and this shall be demonstrated consequently.