Test problem 9

Test problem 9#

import micropip
await micropip.install('../../packages/sympy-1.15.0.dev0-py3-none-any.whl')
#takes a while
%pip install git+https://github.com/saiudayagiri/sympy.git@borek-27130
from sympy.physics.continuum_mechanics.structure2d import Structure2d
from sympy import symbols
s = Structure2d()
E, I, A = symbols('E I A')
s.add_member(0, 0, 3, 4, 10**4, 10**4, 10**4)
s.add_member(3, 4, 6, 0, E, I, A)
s.apply_load(0, 0, 60, 0, -1)
s.apply_support(0, 0,"pin")
s.apply_support(6, 0,"pin")
s.draw(show_load_values=True);
../../_images/19f1fc0c45a7a93a03ca9d95278cb4b5b7b2059db6be2adafb3163e5fe3c4af5.png
s.solve_for_reaction_loads()
{R_v (x=0,y=0): 0, R_h (x=0,y=0): -60, R_v (x=6,y=0): 0, R_h (x=6,y=0): 0}
s.plot_axial_force_on_structure();
../../_images/878c723bdbf6f731ffa0f124d5526322ea5ddf1cd7c8f22c991394cbf4ae209e.png
s.plot_shear_force_on_structure();
../../_images/ebfd2b4147b3651b744acd5ffd143645c37eb579c4a9f144173dc657646bda0e.png
s.plot_bending_moment_on_structure();
../../_images/2cb0cdfd2aea5a234f25b42a5d21827c488f6613becd213baa5160950c980faa.png
s.plot_deformation_on_structure();
../../_images/5b92edd35f6030daafadda0af93c16229bf0c6dfb4ce0bf6902182551ee6beb1.png
s.summary();
===================== Structure Summary =====================

Reaction Loads:
R_v   (x=0.00,y=0.00)  (unwrapped x=0.00)          = 0
R_h   (x=0.00,y=0.00)  (unwrapped x=0.00)          = -60
R_v   (x=6.00,y=0.00)  (unwrapped x=10.00)         = 0
R_h   (x=6.00,y=0.00)  (unwrapped x=10.00)         = 0

Points of Interest - Bending Moment:
bending_moment at (x=0.00,y=0.00)  (unwrapped x=0.00) = 0
bending_moment at (x=1.50,y=2.00)  (unwrapped x=2.50) = 0
bending_moment at (x=3.00,y=4.00)  (unwrapped x=5.00) = 0
bending_moment at (x=3.00,y=4.00)  (unwrapped x=5.00) = 0
bending_moment at (x=4.50,y=2.00)  (unwrapped x=7.50) = 0
bending_moment at (x=6.00,y=0.00)  (unwrapped x=10.00-) = 0

Points of Interest - Shear Force:
shear_force at (x=0.00,y=0.00)  (unwrapped x=0.00+) = 0
shear_force at (x=3.00,y=4.00)  (unwrapped x=5.00-) = 0
shear_force at (x=3.00,y=4.00)  (unwrapped x=5.00+) = 0
shear_force at (x=6.00,y=0.00)  (unwrapped x=10.00-) = 0

Points of Interest - Axial Force:
axial_force at (x=0.00,y=0.00)  (unwrapped x=0.00+) = 0
axial_force at (x=3.00,y=4.00)  (unwrapped x=5.00-) = 0
axial_force at (x=3.00,y=4.00)  (unwrapped x=5.00+) = 0
axial_force at (x=6.00,y=0.00)  (unwrapped x=10.00-) = 0