Skip to content

Calculation bolt property in according to Eurocode 3

License

Notifications You must be signed in to change notification settings

Konstantin8105/bolt

Repository files navigation

Calculation bolt property in according to EN1993-1-8.

Go Report Card GitHub license Go Go Reference

Example of bolt property calculation:

func ExampleBolt() {
	b := bolt.New(bolt.D24, bolt.G8p8)
	fmt.Printf("Bolt : %s%s\n", b.D(), b.Cl())
	fmt.Printf("%s\n", b.Do())
	fmt.Printf("Hole : %s\n", b.Do().Value())
	fmt.Printf("%s\n", b.Fyb())
	fmt.Printf("Fyb  : %s\n", b.Fyb().Value())
	fmt.Printf("%s\n", b.Fub())
	fmt.Printf("Fub  : %s\n", b.Fub().Value())
	fmt.Printf("%s\n", b.As())
	fmt.Printf("%s\n", b.A())

	// Output:
	// Bolt : HM24Cl8.8
	// For bolt HM24 hole is Ø26.0 mm
	// Hole : Ø26.0 mm
	// In according to table 3.1 EN1993-1-8 value Fyb is 640.0 MPa
	// Fyb  : 640.0 MPa
	// In according to table 3.1 EN1993-1-8 value Fub is 800.0 MPa
	// Fub  : 800.0 MPa
	// Tension stress area of the bolt HM24 is 352.8 mm²
	// The gross cross-section area of the bolt HM24 is 452.4 mm²
}

Example of shear resistance calculation for bolt HM24Cl5.8:

func ExampleShearResistance() {
	b := bolt.New(bolt.D24, bolt.G5p8)
	sr := bolt.ShearResistance{B: b, Position: bolt.ThreadShear}
	fmt.Printf("%s\n", sr)

	// Output:
	// Calculation of shear resistance for HM24Cl5.8:
	// 	γM2 = 1.250
	// 	αν  = 0.500 - Shear plane passes through the threaded portion of the bolt
	// 	Fub = 500.0 MPa
	// 	As  = 352.8 mm²
	//	In according to table 3.4 EN1993-1-8:
	// 	Shear resistance is 70.6 kN
}