Hello Ansys developers:
I'am trying to extract some results from an h5 file to plot them using Python Result, but i couldn't found how to read the h5 file and extract my fields. is it even possible ?
Thank you in advance
@AKD-Scripting-Team could someone help out please? Thanks
@mahmane At a first glance, I would say you should use the field_factory function to create fields which you then use like any other field in DPF. Where does your h5 file come from? Do you already have a reader for it?
The h5 file mentioned is generated as a result of a study using an EF file from a Workbench analysis. I am using HDFview to read it.
@mahmane You could use a Python library such as h5py to retrieve the data from the h5 file. Then convert it to DPF data structures using some of the field_factory operators as mentioned before.
it worked, Thank youu