diff --git a/tests/integration_tests/test_shell_beam_comp.py b/tests/integration_tests/test_shell_beam_comp.py index 29e581f02..d10988a8e 100644 --- a/tests/integration_tests/test_shell_beam_comp.py +++ b/tests/integration_tests/test_shell_beam_comp.py @@ -4,13 +4,13 @@ from tacs import TACS, elements, constitutive, functions """ -Create a cantilevered composite beam of linear quad shells with an +Create a cantilevered composite beam of linear quad shells with an unbalanced tip shear load on the right corner and test KSFailure, StructuralMass, and Compliance functions and sensitivities """ FUNC_REFS = np.array( - [5812.5, 63907185.558059536, 12.21799417804536, 174.71401901274177] + [5812.5, 63907185.558059536, 12.21799417804536, 23.51274876481848] ) # Length of plate in x/y direction diff --git a/tests/integration_tests/test_shell_comp_unbalanced.py b/tests/integration_tests/test_shell_comp_unbalanced.py index 8ff10ca2e..75e89753f 100644 --- a/tests/integration_tests/test_shell_comp_unbalanced.py +++ b/tests/integration_tests/test_shell_comp_unbalanced.py @@ -7,7 +7,7 @@ Tests an unbalanced laminate shell model with the following layup: [0, 45, 30]s. The laminate information is read in from a PCOMP card in the BDF file. Two load cases are tested: an in-plane tension and out-of-plane shear. -tests KSDisplacement, KSFailure, StructuralMass, and Compliance functions +tests KSDisplacement, KSFailure, StructuralMass, and Compliance functions and sensitivities. """ @@ -22,13 +22,13 @@ class ProblemTest(PyTACSTestCase.PyTACSTest): FUNC_REFS = { "Tension_compliance": 15047.4827204001, - "Tension_ks_vmfailure": 34.54666371379912, + "Tension_ks_TsaiWufailure": 7.875796240395447, "Tension_mass": 1.1625, "Tension_x_disp": 0.08602975190111069, "Tension_y_disp": 0.01957454912511978, "Tension_z_disp": 5.484526868562824e-17, "VertShear_compliance": 0.00020961674292023337, - "VertShear_ks_vmfailure": 0.0007498886916845651, + "VertShear_ks_TsaiWufailure": 0.0013092603829596005, "VertShear_mass": 1.1625, "VertShear_x_disp": 2.6216565960935596e-23, "VertShear_y_disp": 5.97480777083504e-23, @@ -71,7 +71,7 @@ def setup_tacs_problems(self, comm): for problem in tacs_probs: problem.addFunction("mass", functions.StructuralMass) problem.addFunction("compliance", functions.Compliance) - problem.addFunction("ks_vmfailure", functions.KSFailure, ksWeight=ksweight) + problem.addFunction("ks_TsaiWufailure", functions.KSFailure, ksWeight=ksweight) problem.addFunction( "x_disp", functions.KSDisplacement,