We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4289e7f commit c1aaa25Copy full SHA for c1aaa25
1 file changed
tests/test_a_rigid.py
@@ -1,6 +1,7 @@
1
2
import pytest
3
from xsection.library import load_shape
4
+from xsection.analysis import SaintVenantSectionAnalysis
5
6
def test_aisc_angle():
7
shape = load_shape("L7x4x3/4",
@@ -10,3 +11,16 @@ def test_aisc_angle():
10
11
mesh_type="T6")
12
13
assert shape.area == pytest.approx(7.74, rel=1e-2)
14
+
15
+def _test_aisc_angle_twist_center():
16
+ shape = load_shape("L7x4x3/4",
17
+ library="AISC16",
18
+ mesh_scale=1/8,
19
+ mesher="gmsh",
20
+ fillet=False,
21
+ mesh_type="T6")
22
+ # sv = SaintVenantSectionAnalysis(shape)
23
+ # sy, sz = sv.twist_center()
24
+ sy, sz = shape._analysis.shear_center()
25
+ assert sy == pytest.approx( 0, abs=0.1*shape.t)
26
+ assert sz == pytest.approx( 0, abs=0.1*shape.t)
0 commit comments