2D静力学求解器 返回
构造力学

2D静力学求解器

设置梁的长度、支持条件、荷载,实时自动计算和可视化反力、剪力图(SFD)、弯矩图(BMD)。

荷载与梁设置
支座反力与平衡(实时)
0.00
A_x [kN]
0.00
A_y [kN]
0.00
B_y [kN]
0.00
ΣF [kN]
0.00
ΣM_A [kN·m]
静定(3)
判定
自由体图与平衡(支座反力抵消荷载)
荷载 支座反力 ΣF ΣM
剪力图 (SFD)
弯矩图 (BMD)
理论与主要公式

刚体的静力平衡由以下三个方程表示:

$$\sum F_x = 0,\quad \sum F_y = 0,\quad \sum M_A = 0$$

对于简支梁(A = 铰支座,B = 滚动支座),当荷载 $P$ 作用于位置 $a$ 时,由 $\sum M_A=0$ 得 $B_y = P\,a/L$,由 $\sum F_y=0$ 得 $A_y = P(L-a)/L$。当荷载位于跨中时,$a=L/2$ 且 $A_y=B_y=P/2$。

支座反力分量数为 3 时,结构为静定;少于 3 时不稳定(机构);多于 3 时为超静定,需要使用变形协调条件。

What is Static Equilibrium & Bending?

🙋
What exactly is "static equilibrium" for a beam? The simulator says it calculates reaction forces, but what does that mean?
🎓
Basically, it means the beam isn't moving—it's perfectly still. For that to happen, all the forces pushing up must balance all the forces pushing down, and all the twisting effects (moments) must cancel out. In practice, the supports (like the pin and roller you can select above) provide the "reaction forces" needed to achieve this balance. Try adding a point load with the slider and watch the support reactions change instantly to keep ΣFy = 0.
🙋
Wait, really? So the shear force diagram (SFD) is just a picture of that balance? Why does it jump down at a load?
🎓
Exactly! The SFD shows the internal vertical force at any point along the beam. Imagine making a cut just to the left and right of your applied load. The internal force must jump by the amount of the load to maintain equilibrium. That's why you see a sudden drop. A common case is a shelf bracket: the shear force is high right where the bracket attaches to the wall. Try moving the load position slider and see how the jump in the SFD travels with it.
🙋
Okay, and the bending moment diagram (BMD) is related to the SFD? Why is the moment highest where the shear is zero?
🎓
Great observation! They are mathematically connected. The slope of the BMD at any point equals the shear force at that point ($\frac{dM}{dx}= V$). So, when the shear force crosses zero, the slope of the moment diagram is zero—that's a peak or a valley. For instance, in a simply supported beam with a central load, the maximum bending moment is right in the middle, where the SFD crosses zero. Change the support type to "cantilever" in the simulator and see how the relationship still holds, but the shapes are completely different.

Physical Model & Key Equations

The foundation of statics is the three equilibrium conditions. For a 2D beam, we use two force summations and one moment summation to solve for unknown reactions at the supports.

$$ \sum F_y = 0: \quad R_A + R_B = \sum F_i $$ $$ \sum M_A = 0: \quad R_B \cdot L = \sum (F_i \cdot a_i) $$

Here, $R_A$ and $R_B$ are the vertical reaction forces at the supports, $F_i$ are the applied point loads, $a_i$ is the distance of load $F_i$ from support A, and $L$ is the total beam length. These equations ensure the beam doesn't translate vertically or rotate.

The internal forces within the beam are described by differential relationships between the distributed load (q), shear force (V), and bending moment (M).

$$ \frac{dV}{dx}= -q \qquad \frac{dM}{dx} = V $$

Here, $q$ is the distributed load (force per length, which is zero for point loads), $V$ is the internal shear force, and $M$ is the internal bending moment. The second equation tells us the shear force is the slope of the moment diagram. Integrating these relationships (or using the graphical method) is how the simulator generates the SFD and BMD from your inputs.

Real-World Applications

Bridge Design: Engineers use these exact calculations to determine the size and material of girders in a bridge. The reaction forces tell them how much load the abutments must withstand, and the maximum bending moment dictates how deep the steel I-beams need to be to avoid failure.

Building Floor Joists: The wooden or steel joists supporting a floor are analyzed as beams. The shear force diagram helps locate where to place stiffeners or hangers, and the bending moment determines the required joist depth to prevent sagging under the weight of furniture and people.

Industrial Shelving & Crane Beams: Heavy-duty shelving units and the overhead beams for bridge cranes are classic examples of simply supported beams with point loads. Calculating the reaction forces ensures the uprights are strong enough, and the bending moment analysis prevents the beam from collapsing when a heavy load is moved to its center.

Aircraft Wing Spars: The main structural member of a wing (the spar) acts as a cantilever beam fixed at the fuselage. Bending moment analysis from aerodynamic lift forces is critical for determining material thickness and predicting fatigue life over thousands of flight cycles.

Common Misconceptions and Points to Note

First, understand that being able to calculate reactions does NOT mean the design is complete. The support reactions and maximum bending moment provided by this tool are merely "input values" for "selecting and designing" the member. For example, even if you determine the maximum bending moment is 500 kN·m, you still need separate calculations to decide what size H-beam can support it or how to arrange the rebar in a concrete beam.

Next, pay close attention to interpreting the "units for distributed loads". The tool requires input in "kN/m", which is "the force applied per meter length of the beam". For instance, when considering the weight transferred from a 5m wide floor slab to a single beam, you must multiply the total floor load (kN/m²) by the 5m width to convert it to "kN/m". Getting this wrong can lead to a major error, calculating with 1/5th or 5 times the actual load.

Finally, the practical limitation: "Simply supported beams are not a universal solution". While their calculation is simple, in practice, "deflection" and "vibration" often become problematic. For example, using a simply supported beam for a long office floor joist can cause excessive deflection at the center, leading to cracks, or create a noticeable bounce when people walk. In such cases, you need to increase stiffness by fixing both ends or adding intermediate supports (creating a statically indeterminate structure). Once you've experienced the "basic form" with this tool, start thinking about its "limitations" too.

How to Use

  1. Enter beam length (beamL) in meters, e.g., 5m for a standard industrial beam span
  2. Define support type (v_L): pin, roller, or fixed end conditions
  3. Input point load magnitude (loadF) in kN and its position (loadA) from left support
  4. Click solve to generate shear force diagram (SFD) and bending moment diagram (BMD) with numerical reaction values

Worked Example

Steel I-beam, 6m span, pinned at left, roller at right. Apply 25kN downward load at 2m from left support. Solver calculates: left reaction = 16.67kN upward, right reaction = 8.33kN upward. Maximum bending moment = 33.3kNm at 2m location. SFD shows linear change from +16.67kN to -8.33kN across span.

Practical Notes

  1. For cantilever beams, use fixed support (v_L=fixed) at one end; maximum moment occurs at fixed end, not load point
  2. Distributed loads require segmentation into equivalent point loads at centroid positions
  3. Verify moment equilibrium: sum of (reaction × distance) must equal applied moment for accuracy
  4. Use diagrams to identify critical sections for deflection analysis or material sizing

2D静力学求解器是什么

🙋
这个模拟器中出现的"剪力图"和"弯矩图"是什么?在看结构的什么部分?
🎓
简单来说,就是把梁(梁)内部作用的"看不见的力"绘制成图表。例如,当卡车通过桥时,桥中央最"弯曲",对吧?使其"弯曲"的力称为弯矩,部件内部倾向于滑动的力称为剪力。用上面的滑块移动荷载的位置,你可以看到图表实时变化。
🙋
原来如此!在"支持条件"中可以选择"针脚"和"滚轮",有什么区别?真实的桥也用到吗?
🎓
实际工程中两者都经常用。针脚支持就像用螺栓固定的铰链,旋转自由但在水平和竖直方向都产生反力。另一方面,滚轮支持是桥上的"辊",这样当桥由于温度而膨胀或收缩时,桥可以移动。在模拟器中,如果左端选择"针脚",右端选择"滚轮",就成为典型的"简单支持梁"。这是最基本的静定结构。
🙋
"分布荷载"与集中荷载有什么区别?我在"荷载类型"选择中试了,图表形状有很大变化。
🎓
完全正确!集中荷载是在一点施加的力(例如一个人站着),剪力图呈现为阶梯形。分布荷载是均匀施加在整个区域的力(例如雪的重量),剪力图呈现为平缓的直线。现场常见的是将楼层上人员的重量作为分布荷载计算。当你改变参数中荷载的大小时,反力值和图表高度会联动变化。

常见问题

可以。在荷载设置屏幕中可以分别添加"集中荷载"和"分布荷载"。同时应用两者时,系统会基于平衡条件方程实时自动计算反力、SFD、BMD,并显示组合图。
可选择固定端(约束旋转和移动)、针脚支持(仅许可旋转)、滚轮支持(许可水平移动和旋转)三种类型。根据各支持条件,未知反力数量会改变,系统会自动求解平衡方程。
梁图下方会自动显示剪力图(SFD)和弯矩图(BMD)图表。在图表上悬停可以确认任意位置的数值。反力值也会以数字形式显示。
默认情况下,长度单位为米(m),力单位为牛顿(N),分布荷载为N/m。只要单位系统统一,任何单位(mm、kN等)都可以使用。计算本身仅以数值形式进行,图表轴标签不会自动调整,请自行统一单位。

现实世界的应用

建筑结构(楼板梁、屋顶梁):办公楼的楼板上,办公桌和人员的重量以分布荷载形式作用在梁上。在决定梁的尺寸(梁应该多粗)时,用这个工具学到的弯矩最大值计算是基础。

桥梁工程(道路桥、人行天桥):简单支持梁是桥的基本形式。通过改变卡车等集中荷载的位置来观察弯矩图的变化,可以有效理解什么时候会发生最大弯矩(影响线概念)。

机械设计(轴、轴承):当齿轮或滑轮安装在旋转轴上时,会在该处产生集中荷载。在两点支持的轴(这也是简单支持梁模型)上计算剪力和弯矩,用以决定轴的直径和材料。

CAE(结构分析软件的预处理和验证):在使用FEM等高级分析软件前,用这种工具或手工计算的方式预先求出简单梁模型的答案。这样可以作为"检验"来发现复杂分析模型的输入错误或边界条件设置错误。

常见误解和注意事项

首先,要明确"能计算反力≠设计完成"这一点。这个工具输出的反力和最大弯矩只是部件"选择·设计"的"输入值",不是最终结果。例如,即使计算出最大弯矩为500kN·m,还需要另外计算该弯矩对应的H型钢尺寸或钢筋混凝土梁的钢筋配置。

其次,要注意"分布荷载单位"的理解。工具中输入的是"kN/m",意思是"梁长度1米对应的力"。例如,在计算从宽度5m的楼板传递到单根梁上的重量时,需要将楼板总荷载(kN/㎡)乘以宽度5m来转换为"kN/m"。这里出错会导致计算偏离实际的1/5倍或5倍,造成严重后果。

最后,要理解"简单支持梁不是万能的"这一现实约束。计算虽然简单,但实际工程中"挠度"和"振动"经常是问题。例如,如果办公楼的长楼板采用简单支持,中间的挠度会太大,导致裂缝或行走时振动。此时需要采用两端固定或增加中间支支点(超静定结构)来提高刚度。在这个工具中体验过"基本形"后,下一步要思考这些"局限"。

使用指南

  1. 用米为单位输入梁的长度(beamL)。例如,钢结构梁可以设置为2~6m左右
  2. 在支持条件(v_L)中选择两端简单支持或悬臂,用loadA指定分布荷载(kN/m单位)的作用区间
  3. 用kN单位输入集中荷载(loadF),设置其作用位置为梁端的米数距离
  4. 按计算按钮,反力会显示,SFD/BMD会自动绘制

具体计算示例

跨度4m、两端简单支持的钢H形梁(I=8000cm⁴),全长分布荷载15kN/m和中央集中荷载50kN的情况:分布荷载总和60kN,各支点反力55kN,中央部位最大弯矩130kN·m,最大挠度δ=24mm左右

实务中的注意事项