ansys / pydpf-core

Data Processing Framework - Python Core
http://dpf.docs.pyansys.com/
MIT License
67 stars 24 forks source link

DPF-RST file compatibility #1391

Open agrishin opened 7 months ago

agrishin commented 7 months ago

Description of the modifications

Costas Vogiatzis of Honeywell (costas.vogiatzis@honeywell.com) asks if there is an Ansys version compatibility chart or other documentation that describes what rst file versions are supported by DPF Post. His full text: "From a Python script I get the error below when attempting to access RST data from DPF. I was under the impression that one could use DPF to access RST files from earlier ANSYS versions. Can you please clarify how DPF version compatibility works specifically in accessing RST files?

Python Error: InvalidANSYSVersionError: Ansys v202 does not support DPF"

Useful links and references

No response

mikerife commented 7 months ago

Hi @agrishin This question should really be posed on the PyDPF Post GitHub site. That being said a few observations.

1 The PyAnsys language libraries work on a client-server model. The server side is included in the normal installation of Ansys products. You can check the PyDPF Post documentation compatibility table and see that DPF server was not included in v202.

1a The PyDPF server is available as a stand-alone installation, so it does not need a Ansys product installation, but I'm not 100% sure that PyDPF Post supports the stand-alone version. If interested post the question to the PyDPF Post GitHub site.

My gut tells me that this should work but since I've not done an test myself I can't be sure.

2 MAPDL can post-process results files created in an earlier version and my understanding, which could be wrong, is that PyDPF should show similar behavior. So it may be possible for Costas to post process an earlier version rst file with the latest DPF server and PyDPF Post installations.

Mike

germa89 commented 7 months ago

Thank you a lot for your post @agrishin and thank you @mikerife for your answer.

I agree with @mikerife, I am transferring this issue to PyDPF repository.