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 ce91327 commit 48d9be7Copy full SHA for 48d9be7
1 file changed
tests/test_c_twist.py
@@ -26,11 +26,12 @@ def test_c01_material():
26
def _test_c01_centroid():
27
shape = load_shape("C01", nu=0.3)
28
shape = shape.translate(-shape.centroid)
29
+ sv = SaintVenantSectionAnalysis(shape)
30
A = shape.elastic.A
31
Iy = shape.elastic.Iy
32
Iz = shape.elastic.Iz
33
Iyz = shape.elastic.Iyz
- J = shape.elastic.J
34
+ J = sv.twist_rigidity()/shape.material["G"]
35
36
37
assert A == pytest.approx( 58.8, rel=0.1)
@@ -64,4 +65,4 @@ def test_c04():
64
65
ky, kz = tr.sce()
66
67
assert ky == pytest.approx(1/3.09621, rel=5e-2)
- assert kz == pytest.approx(1/2.34102, rel=5e-2)
68
+ assert kz == pytest.approx(1/2.34102, rel=5e-2)
0 commit comments