结构分析

其他 社区

技能解读

当前原文的自动摘译,尚未人工审校。

内置辅助函数

beam_deflection_simply_supported(F, L, E, I, x) — 点载荷挠度 beam_max_stress(M, c, I) — 最大弯曲应力 σ = Mc/I safety_factor(strength, stress) — 安全系数 euler_buckling(E, I, L, K) — 临界屈曲载荷 moment_of_inertia_rect(b, h) — I = bh³/12

用途

始终使用 SI 单位:米、牛顿、帕斯卡。始终计算并报告安全系数。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
通用
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@00000star · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# Structural Analysis Tool

Run structural engineering calculations with real physics.

## Built-in Helper Functions

- `beam_deflection_simply_supported(F, L, E, I, x)` — Point load deflection
- `beam_max_stress(M, c, I)` — Maximum bending stress σ = Mc/I
- `safety_factor(strength, stress)` — Factor of safety
- `euler_buckling(E, I, L, K)` — Critical buckling load
- `moment_of_inertia_rect(b, h)` — I = bh³/12
- `moment_of_inertia_circle(d)` — I = πd⁴/64

## Usage

```bash
python3 /workspace/bridge.py structural_analysis '
F = 5000  # 5kN load
L = 1.5   # 1.5m span
E = 200e9 # Steel
b, h = 0.04, 0.08  # 40x80mm beam
I = moment_of_inertia_rect(b, h)
delta = beam_deflection_simply_supported(F, L, E, I)
sigma = beam_max_stress(F*L/4, h/2, I)
sf = safety_factor(250e6, sigma)
print(f"Deflection: {delta*1000:.3f} mm")
print(f"Max stress: {sigma/1e6:.1f} MPa")
print(f"Safety factor: {sf:.2f}")
'
```

Always use SI units: meters, Newtons, Pascals. Always compute and report safety factors.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。