How do i extract h5 results using DPF?

mahmane
mahmane Member Posts: 6
First Comment
**
edited June 2023 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: 859
    500 Comments Photogenic Name Dropper Solution Developer Community of Practice Member
    ✭✭✭✭

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

  • Pierre Thieffry
    Pierre Thieffry Member, Moderator, Employee Posts: 107
    5 Likes Name Dropper First Comment First Answer
    ✭✭✭✭

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

    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