https://github.com/konstantin8105/bolt
Calculation bolt property in according to Eurocode 3
https://github.com/konstantin8105/bolt
bolt calculations en1993-1-8 eurocode eurocode3 structural-engineering
Last synced: 4 months ago
JSON representation
Calculation bolt property in according to Eurocode 3
- Host: GitHub
- URL: https://github.com/konstantin8105/bolt
- Owner: Konstantin8105
- License: mit
- Created: 2017-11-18T11:21:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-14T13:41:26.000Z (over 2 years ago)
- Last Synced: 2025-01-23T06:14:24.664Z (about 1 year ago)
- Topics: bolt, calculations, en1993-1-8, eurocode, eurocode3, structural-engineering
- Language: Go
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Calculation bolt property in according to EN1993-1-8.
[](https://goreportcard.com/report/github.com/Konstantin8105/bolt)
[](https://github.com/Konstantin8105/bolt/blob/master/LICENSE)
[](https://github.com/Konstantin8105/bolt/actions/workflows/go.yml)
[](https://pkg.go.dev/github.com/Konstantin8105/bolt)
Example of bolt property calculation:
```go
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:
```go
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
}
```