sononicola / Continuous-Beam-Solver

Home Page:https://continuous-beam-solver.streamlitapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamlit App

Example

from continuous_beam_solver import Beam, Span
from continuous_beam_solver.internal_forces import BendingMoment, Shear
import matplotlib.pyplot as plt

c_1 = Span(lenght = 3.00, ej = 100000, q_max=10, q_min=2)
c_2 = Span(lenght = 4.50, ej = 100000, q_max=10, q_min=2)
c_3 = Span(lenght = 4.00, ej = 100000, q_max=10, q_min=2)
c_4 = Span(lenght = 5.00, ej = 100000, q_max=10, q_min=2)
c_5 = Span(lenght = 6.15, ej = 100000, q_max=10, q_min=2)
c_6 = Span(lenght = 4.00, ej = 100000, q_max=10, q_min=2)

beam = Beam(spans = [c_1, c_2, c_3, c_4, c_5, c_6], left_support="Simple", right_support="Fixed")

M = BendingMoment(beam)
M.plot_inviluppo()
plt.show()

V = Shear(beam)
V.plot_inviluppo()
plt.show()

About

https://continuous-beam-solver.streamlitapp.com/

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 94.2%Language:Python 5.8%