From 99c36feaf9d33539b4f8c64c31b6640c1154ca76 Mon Sep 17 00:00:00 2001 From: jvonrick Date: Wed, 11 Dec 2024 13:27:21 +0100 Subject: [PATCH 1/2] Add contact result properties --- src/ansys/dpf/core/available_result.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ansys/dpf/core/available_result.py b/src/ansys/dpf/core/available_result.py index 837e5afa56..5ce7b3109a 100644 --- a/src/ansys/dpf/core/available_result.py +++ b/src/ansys/dpf/core/available_result.py @@ -313,6 +313,16 @@ def qualifier_combinations(self) -> List[dict]: "TF": {"location": "ElementalNodal", "scripting_name": "heat_flux"}, "UTOT": {"location": "Nodal", "scripting_name": "raw_displacement"}, "RFTOT": {"location": "Nodal", "scripting_name": "raw_reaction_force"}, + "ECT_STAT": {"location": "ElementalNodal", "scripting_name": "contact_status"}, + "ECT_PRES": {"location": "ElementalNodal", "scripting_name": "contact_pressure"}, + "ECT_PENE": {"location": "ElementalNodal", "scripting_name": "contact_penetration"}, + "ECT_SLIDE": {"location": "ElementalNodal", "scripting_name": "contact_sliding_distance"}, + "ECT_GAP": {"location": "ElementalNodal", "scripting_name": "contact_gap_distance"}, + "ECT_SFRIC": {"location": "ElementalNodal", "scripting_name": "contact_friction_stress"}, + "ECT_STOT": {"location": "ElementalNodal", "scripting_name": "contact_total_stress"}, + "ECT_FRES": {"location": "ElementalNodal", + "scripting_name": "contact_fluid_penetration_pressure"}, + "ECT_FLUX": {"location": "ElementalNodal", "scripting_name": "contact_surface_heat_flux"}, } From 6c1a1fc4d0f0c07e86de0e75bd76ebdd93cfea76 Mon Sep 17 00:00:00 2001 From: jvonrick Date: Thu, 12 Dec 2024 09:32:32 +0100 Subject: [PATCH 2/2] Fix style --- src/ansys/dpf/core/available_result.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ansys/dpf/core/available_result.py b/src/ansys/dpf/core/available_result.py index 5ce7b3109a..f88cea7124 100644 --- a/src/ansys/dpf/core/available_result.py +++ b/src/ansys/dpf/core/available_result.py @@ -320,8 +320,10 @@ def qualifier_combinations(self) -> List[dict]: "ECT_GAP": {"location": "ElementalNodal", "scripting_name": "contact_gap_distance"}, "ECT_SFRIC": {"location": "ElementalNodal", "scripting_name": "contact_friction_stress"}, "ECT_STOT": {"location": "ElementalNodal", "scripting_name": "contact_total_stress"}, - "ECT_FRES": {"location": "ElementalNodal", - "scripting_name": "contact_fluid_penetration_pressure"}, + "ECT_FRES": { + "location": "ElementalNodal", + "scripting_name": "contact_fluid_penetration_pressure", + }, "ECT_FLUX": {"location": "ElementalNodal", "scripting_name": "contact_surface_heat_flux"}, }