Skip to content

Commit 8e2d341

Browse files
authored
Update HeatingCoil.res by CFF files (#1171)
1 parent 8657574 commit 8e2d341

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

src/ansys/dpf/core/examples/downloads.py

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,18 +1541,26 @@ def download_cfx_heating_coil(
15411541
>>> from ansys.dpf.core import examples
15421542
>>> paths = examples.download_cfx_heating_coil()
15431543
>>> paths
1544-
{'cas': 'C:\\Users\\user\\AppData\\Local\\ansys-dpf-core\\ansys-dpf-core\\examples\\cfx-heating_coil\\HeatingCoil.res',
1545-
'dat': 'C:\\Users\\user\\AppData\\Local\\ansys-dpf-core\\ansys-dpf-core\\examples\\cfx-heating_coil\\HeatingCoil.res'} # noqa: E501
1544+
{'cas': 'C:\\Users\\user\\AppData\\Local\\ansys-dpf-core\\ansys-dpf-core\\examples\\cfx-heating_coil\\def.cas.cff',
1545+
'dat': 'C:\\Users\\user\\AppData\\Local\\ansys-dpf-core\\ansys-dpf-core\\examples\\cfx-heating_coil\\def.dat.cff'} # noqa: E501
15461546
15471547
"""
1548-
file = _download_file(
1549-
"result_files/cfx-heating_coil",
1550-
"HeatingCoil.res",
1551-
should_upload,
1552-
server,
1553-
return_local_path,
1554-
)
1555-
return {"cas": file, "dat": file}
1548+
return {
1549+
"cas": _download_file(
1550+
"result_files/cfx-heating_coil",
1551+
"def.cas.cff",
1552+
should_upload,
1553+
server,
1554+
return_local_path,
1555+
),
1556+
"dat": _download_file(
1557+
"result_files/cfx-heating_coil",
1558+
"def.dat.cff",
1559+
should_upload,
1560+
server,
1561+
return_local_path,
1562+
)
1563+
}
15561564

15571565

15581566
def download_cfx_mixing_elbow(

tests/test_cff.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def test_results_cfx(cfx_heating_coil, server_type):
3535
"total_pressure",
3636
"density",
3737
"entropy",
38-
"wall_shear_stress",
3938
"temperature",
4039
"total_temperature",
4140
"velocity",

tests/test_resultinfo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def test_print_result_info_with_qualifiers(cfx_heating_coil, server_type):
132132
- total_pressure: Nodal Total Pressure
133133
- density: Nodal Density
134134
- entropy: Nodal Entropy
135-
- wall_shear_stress: Nodal Wall Shear Stress
136135
- temperature: Nodal Temperature
137136
- total_temperature: Nodal Total Temperature
138137
- velocity: Nodal Velocity

0 commit comments

Comments
 (0)