PLOT FUNCTION

25 views
Skip to first unread message

Vitor rebello

unread,
Jul 7, 2023, 2:29:15 AM7/7/23
to sympy
Hello guys, I do not have a full developed english, please forgive me

Today I tried to solved a beam exercise, but, the function that I recieved from "b.deflection" get me to a difference chart comparing to the chart optained from "b.plot_deflection()".
Do any of you know how to get the function of the curve?

Anotação 2023-07-06 165328.pngAnotação 2023-07-06 165312.png
from sympy.physics.continuum_mechanics.beam import Beam
import pandas as pd
from sympy import symbols

R1, R2 = symbols('R1, R2')

b = Beam(1.305, 210000000000, 0.000000541)

b.apply_load(-R1, 0.0685, -1)
b.apply_load(-R2, 0.5115, -1)

b.apply_load(-5200, 0.0485, -1)
b.apply_load(-5200, 0.5225, -1)
b.apply_load(1250, 1.07, -2)


b.solve_for_reaction_loads(R1, R2)
b.reaction_loads

p=b.draw()
p.show()

b.plot_bending_moment()

b.max_bmoment()

b.bc_deflection = [(0.0685, 0), (0.5225, 0)]
b.deflection()

b.max_deflection()

b.plot_deflection()

b.shear_force()
b.plot_shear_force()

b.plot_slope()
Reply all
Reply to author
Forward
0 new messages