I was testing the example in Figure 12-40 from Hibbeler 8th edition
But I obtain the following error message
<lambdifygenerated-7>:2: RuntimeWarning:
invalid value encountered in multiply
<lambdifygenerated-7>:2: RuntimeWarning:
invalid value encountered in double_scalars
<lambdifygenerated-8>:2: RuntimeWarning:
invalid value encountered in multiply
<lambdifygenerated-9>:2: RuntimeWarning:
invalid value encountered in double_scalars
<lambdifygenerated-9>:2: RuntimeWarning:
invalid value encountered in multiply
with the following reactions
The code is the following
from indeterminatebeam import Beam
from indeterminatebeam import Support
from indeterminatebeam import PointTorque, DistributedLoadV
beam1 = Beam(12)
beam1.add_loads(DistributedLoadV(-5, (0, 12)),
PointTorque(20, 0),
PointTorque(-20, 12))
beam1.add_supports(Support(0, (1, 1, 0)),
Support(12, (0, 1, 0)))
beam1.analyse()
If a remove the point moments, or add them in the interior the error disappears.
I was testing the example in Figure 12-40 from Hibbeler 8th edition
But I obtain the following error message
with the following reactions
The code is the following
If a remove the point moments, or add them in the interior the error disappears.