Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.13.0
metadata
title: Rebar Stress-Strain Calculator
colorFrom: pink
colorTo: red
sdk: gradio
sdk_version: 5.47.2
app_file: app.py
pinned: false
Rebar Stress-Strain Calculator with Natural Language Explanation
A mechanical engineering tool for calculating stress and strain in reinforcing steel bars (rebar) under tensile loading, with natural language explanations of the results.
How it works
- Select a rebar grade (US ASTM standards) and diameter
- Enter test parameters: applied force, gauge length, and measured elongation
- Choose calculation type (elastic or plastic analysis)
- Click Calculate to see numerical results, visualizations, and natural language explanation
Features
- Pre-loaded US rebar grades (Grade 40, 60, 75, 80)
- Standard diameter selections (#3 through #18)
- Custom diameter input option
- Real-time stress-strain calculations
- Interactive stress-strain curve visualization
- Safety factor analysis with color-coded warnings
- Natural language explanation of results
- Material state assessment (elastic, plastic, or failure)
Results Provided
- Stress and strain calculations
- Measured elastic modulus
- Yield and ultimate safety factors
- Visual stress-strain curve with current state
- Safety factor bar chart
- Plain English explanation of what the numbers mean
- Raw JSON data for advanced users
Usage
Input the tensile force applied to a rebar specimen, along with its dimensions and the measured elongation. The calculator will determine stress, strain, safety factors, and provide a comprehensive explanation of whether the rebar is safe, yielding, or at risk of failure.
Tips for accurate results:
- Ensure consistent units (kN for force, mm for dimensions)
- Use realistic values based on actual test conditions
- Select the appropriate rebar grade for your application
- Check safety factors: values above 1.5 indicate safe operation