From 2a3cecac28e0e0904579e0bd8182c361a14b2769 Mon Sep 17 00:00:00 2001 From: Michael Nale Date: Fri, 1 Dec 2023 14:37:27 +0100 Subject: [PATCH 1/2] Update the post doc related to the latest work on CFX face zone refactoring --- src/ansys/dpf/post/fluid_simulation.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ansys/dpf/post/fluid_simulation.py b/src/ansys/dpf/post/fluid_simulation.py index a3253dca5..2d4676f68 100644 --- a/src/ansys/dpf/post/fluid_simulation.py +++ b/src/ansys/dpf/post/fluid_simulation.py @@ -184,7 +184,10 @@ def cell_zones(self) -> dict: @property def face_zones(self) -> dict: - """Return a dictionary of the face zones in the simulation.""" + """Return a dictionary of the face zones in the simulation. + + For CFX files, we gather face zones in COMPOSITE entities more physics-related. + """ return self.mesh_info.face_zones @property @@ -558,7 +561,8 @@ def density( node_ids: List of IDs of nodes to get results for. face_ids: - List of IDs of faces to get results for. + List of IDs of faces to get results for. For CFX files, these ids correspond + to the COMPOSITE that gather the related face zones. cell_ids: List of IDs of cells to get results for. zone_ids: From 47004b33c83cc422a4ebaf170a88282afd131217 Mon Sep 17 00:00:00 2001 From: Michael Nale Date: Fri, 1 Dec 2023 16:54:35 +0100 Subject: [PATCH 2/2] Update the PR : enhance the doc --- src/ansys/dpf/post/fluid_simulation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ansys/dpf/post/fluid_simulation.py b/src/ansys/dpf/post/fluid_simulation.py index 2d4676f68..a3466cc96 100644 --- a/src/ansys/dpf/post/fluid_simulation.py +++ b/src/ansys/dpf/post/fluid_simulation.py @@ -561,8 +561,8 @@ def density( node_ids: List of IDs of nodes to get results for. face_ids: - List of IDs of faces to get results for. For CFX files, these ids correspond - to the COMPOSITE that gather the related face zones. + List of faces IDs to get results for. For CFX files, these IDs correspond + to the COMPOSITE that gathers the related face zones. cell_ids: List of IDs of cells to get results for. zone_ids: