Closed lyh-source closed 5 months ago
Hello @lyh-source,
PyDPF does NOT officially support .res
files from CFX
. The officially supported formats for CFX
are .cas.cff
and .dat.cff
files.
You can however feed a .res
file to a post.FluidSimulation
as both cas
and dat
file to get some limited functionalities:
from ansys.dpf import post
from ansys.dpf.post import examples
fluid_example_files = examples.download_cfx_mixing_elbow()
simulation = post.FluidSimulation(
cas=fluid_example_files["cas"], dat=fluid_example_files["dat"]
)
# Printing the simulation will show most of the available metadata
print(simulation)
Again, the .res
format is not officially supported, meaning that bugs may be present relative to this format and will not get fixed.
To use with caution!
Description of the modifications
Description
I used cfx-solver to get the .res file after the simulation. This can be operated in the cfd-post software, but it is a bit complicated when processing multiple .res files. Does pydpf support the operation of .res files, or is there any way to convert it to other formats? This way is not work.
Useful links and references
No response