Skip to content

Commit 3ba6d4e

Browse files
committed
Minor spellings
1 parent 36a6752 commit 3ba6d4e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/01-advanced/05_trapz_approximation.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
quite common in bridge structures, either concrete or steel
99
composite construction. However, it's common to determine
1010
the torsion constant of the trapezoidal section by using a
11-
recatangular approximation. For example, this is done in
11+
rectangular approximation. For example, this is done in
1212
the Autodesk Structural Bridge Design software when there
1313
is a haunch in a `Steel Composite Beam
1414
<https://knowledge.autodesk.com/support/structural-bridge-design/learn-explore/caas/CloudHelp/cloudhelp/ENU/ASBD-InProdAU/files/structure/tech-info/ti-torsion/ASBD-InProdAU-structure-tech-info-ti-torsion-Torsion-property-for-SAM-composite-beams-html-html.html>`_
@@ -36,7 +36,7 @@
3636
# =============================
3737
# It's better to collect the relevant section property calculation in a
3838
# single function. We are only interested in the torsion constant, so this
39-
# is straightforward enough. `geom` is the Section Property Gemoetry object;
39+
# is straightforward enough. `geom` is the Section Property Geometry object;
4040
# `ms` is the mesh size.
4141
def get_section_j(geom, ms, plot_geom=False):
4242
geom.create_mesh(mesh_sizes=[ms])
@@ -111,7 +111,6 @@ def do_section(b, S, d_mid=1, plot_geom=False):
111111
# The Main Loop
112112
# =============
113113
# Execute the double loop to get the ratios for combinations of `S` and `b`.
114-
# We also use `tqdm` to provide progress bars.
115114
#
116115
# An optional deugging line is left in for development but commented out.
117116
for i, b in enumerate(b_list):
@@ -133,7 +132,7 @@ def do_section(b, S, d_mid=1, plot_geom=False):
133132
# of the approximation.
134133
#
135134
# As expected, when the section is rectangular, the error is small, but as it increases
136-
# towards a triangle the accuracy genearlly reduces. However, there is an interesting
135+
# towards a triangle the accuracy generally reduces. However, there is an interesting
137136
# line at an aspect ratio of about 2.7 where the rectangular approximation is always
138137
# equal to the trapezoid's torsion constant.
139138
levels = np.arange(start=0.5, stop=1.5, step=0.05)

0 commit comments

Comments
 (0)