diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index a05a5b72cc8..8bba3125325 100644 Binary files a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll and b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll differ diff --git a/src/ansys/dpf/gatebin/DPFClientAPI.dll b/src/ansys/dpf/gatebin/DPFClientAPI.dll index f5eae2e6e85..eb457e78f8e 100644 Binary files a/src/ansys/dpf/gatebin/DPFClientAPI.dll and b/src/ansys/dpf/gatebin/DPFClientAPI.dll differ diff --git a/tests/test_field.py b/tests/test_field.py index d895aea8778..cb8e3256748 100644 --- a/tests/test_field.py +++ b/tests/test_field.py @@ -34,7 +34,11 @@ from ansys.dpf.core.common import locations, shell_layers from ansys.dpf.gate.errors import DPFServerException, DpfVersionNotSupported import conftest -from conftest import SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_8_0, running_docker +from conftest import ( + SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_8_0, + SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_12_0, + running_docker, +) @pytest.fixture() @@ -499,7 +503,10 @@ def test_shell_layers_2(velocity_acceleration): model = dpf.core.Model(velocity_acceleration) stress = model.results.stress() f = stress.outputs.fields_container()[0] - assert f.shell_layers == shell_layers.nonelayer + if SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_12_0: + assert f.shell_layers == shell_layers.top + else: + assert f.shell_layers == shell_layers.nonelayer def test_mesh_support_field_model(allkindofcomplexity):