Skip to content

Commit 0892f01

Browse files
authored
Show support of CFX .res files (#658)
* Update use of download_cfx_mixing_elbow * Mark .res as supported in the doc
1 parent e47a80a commit 0892f01

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The latest version of DPF supports Ansys solver results files for:
1919
- Mechanical APDL (`.rst`, `.mode`, `.rfrq`, `.rdsp`)
2020
- LS-DYNA (`.d3plot`, `.binout`)
2121
- Fluent (`.cas/dat.h5`, `.flprj`)
22-
- CFX (`.cad/dat.cff`, `.flprj`)
22+
- CFX (`.cad/dat.cff`, `.flprj`, `.res`)
2323

2424
For more information on file support, see the [main page](https://dpf.docs.pyansys.com/version/stable/index.html)
2525
in the PyDPF-Core documentation.

doc/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The latest version of DPF supports Ansys solver results files for:
1717
- Mechanical APDL (`.rst`, `.mode`, `.rfrq`, `.rdsp`)
1818
- LS-DYNA (`.d3plot`, `.binout`)
1919
- Fluent (`.cas/dat.h5`, `.flprj`)
20-
- CFX (`.cad/dat.cff`, `.flprj`)
20+
- CFX (`.cas/dat.cff`, `.flprj`, `.res`)
2121

2222
For more information on file support, see the `main page <https://dpf.docs.pyansys.com/version/stable/index.html>`_
2323
in the PDF-Core documentation.

tests/test_dataframe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def test_dataframe_select_cells():
131131
reason="Fluid capabilities added with ansys-dpf-server 2024.1.pre0.",
132132
)
133133
def test_dataframe_select_with_labels():
134-
fluid_files = examples.download_cfx_mixing_elbow()
135-
simulation = post.FluidSimulation(cas=fluid_files["cas"], dat=fluid_files["dat"])
134+
fluid_file = examples.download_cfx_mixing_elbow()
135+
simulation = post.FluidSimulation(fluid_file)
136136
df = simulation.enthalpy()
137137
df2 = df.select(node_ids=[1])
138138
ref = """

0 commit comments

Comments
 (0)