Created
September 17, 2017 15:17
-
-
Save ritchie46/d18b985ebecac0d8d2f27555a43b6fd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import dependencies | |
import matplotlib.pyplot as plt | |
from anastruct.basic import converge | |
from anastruct.material.profile import HEA, IPE | |
from anastruct.fem.system import SystemElements, Vertex | |
from anastruct.material.units import to_kNm2, to_kN | |
# constants | |
E = 2.1e5 # Construction steels Young's modulus | |
b = 5 # c.t.c distance portals | |
q_water = 10 | |
# axes height levels | |
h_1 = 0 | |
h_2 = 0.258 | |
h_3 = 0.046 | |
h_4 = 0.274 | |
h_5 = 0.032 | |
h_6 = 0.15 | |
# beam spans | |
span_1 = span_2 = 21.9 | |
span_3 = 8.9 | |
# Vertices at the axes | |
p1 = Vertex(0, h_1) | |
p2 = Vertex(span_1 * 0.5, h_2) | |
p3 = Vertex(span_1, h_3) | |
p4 = Vertex(span_1 + span_2 * 0.5, h_4) | |
p5 = Vertex(span_1 + span_2, h_5) | |
p6 = Vertex(span_1 + span_2 + span_3, h_6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment