The calculation of the deflection of the rigid beam is inconsistent

Karamba3D-1:一根两端固支的梁.gh (34.7 KB)
A beam that is just connected at both ends is applied with an even load. The gh file is detailed in the annex, and the calculated deflection does not match the theoretical value. What could be the reason?
Snipaste_2022-12-12_12-00-35
Snipaste_2022-12-12_12-01-38

Dear @zhptj1986,
the reason is, that the formula you apply neglects shear deformations. You need to make the cross section rigid in shear to get coincident displacement values:
Karamba3D-1:一根两端固支的梁_cp.gh (33.7 KB)
– Clemens