How do i extract h5 results using DPF?

mahmane
mahmane Member Posts: 6
First Comment
edited June 21 in Structures

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

Tagged:

Comments

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 596
    100 Answers 250 Likes 100 Comments First Anniversary

    @AKD-Scripting-Team could someone help out please? Thanks

  • Pierre Thieffry
    Pierre Thieffry Member, Moderator, Employee Posts: 87
    25 Answers 10 Comments 25 Likes First Anniversary

    @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?

  • mahmane
    mahmane Member Posts: 6
    First Comment
    edited August 10

    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
    mahmane Member Posts: 6
    First Comment

    it worked, Thank youu