Welcome to the RAS Solution Forums HEC-RAS Help extract velocity from hdf file using matlab

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7646
    Ping
    Participant

    Hi,

    I run the 2D unsteady flow simulation, the results are saved in the hdf file. I want to extract the velocity and water surface from the hdf file using matlab, because I want to further analyze the data in matlab. How can I extract the velocity and water surface in matlab? has anyone done this ?

    Thanks a lot for help.

    #12772
    Anonymous
    Guest

    Sure!

    Try this function: h5read, you can find information about it in matlab help assistant.

    You will have to define some atributes.

    regards,

    Antonio

    #12773
    Ping
    Participant

    Dear aruiz,

    thank you, the data structure in hdf file is a bit complex, it needs to arrange it into 2D coordinate, I have made it. thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.