diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index d614947c9cb..5011583b6fa 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 c11b19beeca..54bd7de38aa 100644 Binary files a/src/ansys/dpf/gatebin/DPFClientAPI.dll and b/src/ansys/dpf/gatebin/DPFClientAPI.dll differ diff --git a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so index f14a3a327cf..454c5bfbf4b 100644 Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ diff --git a/src/ansys/dpf/gatebin/libDPFClientAPI.so b/src/ansys/dpf/gatebin/libDPFClientAPI.so index 52e1b636189..3d52cd50beb 100644 Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ diff --git a/tests/test_vtk_translate.py b/tests/test_vtk_translate.py index cfb47d44e30..d40586db12b 100644 --- a/tests/test_vtk_translate.py +++ b/tests/test_vtk_translate.py @@ -97,10 +97,13 @@ def test_dpf_field_to_vtk(simple_rst, fluent_mixing_elbow_steady_state, server_t @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista") -def test_dpf_field_to_vtk_errors(simple_rst, server_type): - model = dpf.Model(simple_rst, server=server_type) +def test_dpf_field_to_vtk_errors(server_type): # Elemental Field to VTK - field = model.results.elemental_volume.on_last_time_freq().eval()[0] + field = dpf.fields_factory.create_scalar_field( + num_entities=3, location=dpf.locations.elemental, server=server_type + ) + field.scoping.ids = [4, 67, 8] + field.data = [0.0, 4.0, 5.0] with pytest.raises(ValueError, match="The field does not have a meshed_region."): _ = dpf_field_to_vtk(field=field)