Feat/compression force #418
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR: Added Support for Both Tension and Compression Forces in Joint Design Modules (IS 800:2007 Compliance)
Overview
This PR introduces comprehensive updates to the Lap Joint Bolted, Butt Joint Bolted, Butt Joint Welded, and Lap Joint Welded modules to support both Tension and Compression design modes, ensuring full compliance with IS 800:2007.
The changes ensure accurate strength verification for base metal and weld/bolt connections under both load conditions, while maintaining backward compatibility with existing tension-only designs.
Key Enhancements
General Updates (Across All Modules)
design_for('Tension'or'Compression') in the class__init__()method.design_values()to include a dropdown/combobox for selecting design mode.set_input_values()to:check_base_metal_strength()with conditional logic for Tension and Compression.output_values()andsave_design()to include:Design Calculations (As per IS 800:2007)
Common Parameters
Gross Area:
Partial Safety Factors:
Material Properties: Yield strength (fy), Ultimate strength (fu)
1. Lap Joint Bolted Module
File:
lap_joint_bolted.pyKey Changes
design_forin initialization and UI.Design Calculations
Compression Design
Clause 7.1.2 (IS 800:2007) — Design Compressive Strength
This represents the design compressive strength of the plate (without considering buckling).
Utilization Check:
Tension Design
Clause 6.2.2 (IS 800:2007) — Design Strength due to Yielding of Gross Section
Clause 6.2.3 (IS 800:2007) — Design Strength due to Rupture of Net Section
Clause 6.3.3 (IS 800:2007) — Shear Lag Factor
Clause 6.4.1 (IS 800:2007) — Block Shear Strength
Overall Design Strength:
Utilization Check:
Impact
2. Butt Joint Bolted Module
File:
butt_joint_bolted.pyKey Changes
Tension/Compression).Design Calculations
Compression Design
Clause 7.1.2 (IS 800:2007) — Design Compressive Strength
Utilization Check:
Tension Design
Clause 6.2.2 (IS 800:2007) — Design Strength due to Yielding of Gross Section
Clause 6.2.3 (IS 800:2007) — Design Strength due to Rupture of Net Section
Clause 6.3.3 (IS 800:2007) — Shear Lag Factor
Clause 6.4.1 (IS 800:2007) — Block Shear Strength
Clause 10.3.3.1 (IS 800:2007) — Shear Capacity of Bolts
Clause 10.3.3.2 (IS 800:2007) — Bearing Strength of Bolts
Clause 10.3.4 (IS 800:2007) — Reduction Factor for Long Joints
Clause 10.3.5 (IS 800:2007) — Reduction Factor for Large Grip Length
Impact
3. Butt Joint Welded Module
File:
butt_joint_welded.pyKey Changes
design_formode and updated UI.check_base_metal_strength().Design Calculations
Compression Design
Clause 7.1.2 (IS 800:2007) — Design Compressive Strength of Plate
Clause 10.5.7.1 (IS 800:2007) — Design Strength of Weld
Overall Design Strength:
Utilization Check:
Tension Design
Clause 6.2.2 (IS 800:2007) — Design Strength due to Yielding of Gross Section
Clause 6.2.3 (IS 800:2007) — Design Strength due to Rupture of Net Section
Clause 10.5.7.1 (IS 800:2007) — Design Strength of Fillet Welds
Overall Design Strength:
Utilization Check:
Impact
4. Lap Joint Welded Module
File:
lap_joint_welded.pyKey Changes
design_forparameter and user interface controls.Design Calculations
Compression Design
Clause 7.1.2 (IS 800:2007) — Design Compressive Strength of Plate
Clause 10.5.7.1 (IS 800:2007) — Design Strength of Weld
Overall Design Strength:
Utilization Check:
Tension Design
Clause 6.2.2 (IS 800:2007) — Design Strength due to Yielding of Gross Section
Clause 6.2.3 (IS 800:2007) — Design Strength due to Rupture of Net Section
Clause 6.3.3 (IS 800:2007) — Shear Lag Factor
Clause 10.5.7.1 (IS 800:2007) — Design Strength of Weld
Overall Design Strength:
Utilization Check:
Impact
Overall Impact Summary
Key IS 800:2007 References
Section 6 — Design of Tension Members
Section 7 — Design of Compression Members
Section 10 — Design of Connections
Breaking Changes
None. Existing designs will continue to work with default
design_for='Tension'mode.