We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Linking data from the .dat.h5 to to the mesh

    • Mathieu G
      Subscriber

      Hi,

      I'm trying to use Python to post process my transient simulation.

      Im reading the .dat.h5 and .cas.h5 with h5py and I've managed to find the temperature field (SV_T) as a 1D array.

      Where can I find the location of each data point in my mesh? I've checked the .cas.h5 file but the number of data point for the temperarute (3000) isn't corresponding to the mesh size (300000 nodes in my mesh).

      Or is there a better way to post process using Python ? (I'm running 2022 R1 so PyFluent isn't available).

      Thanks.

    • RK
      Ansys Employee

      Hello, 

      May I know your intention of using python for post processing? If you are looking to automate post processing and generating reports, I would suggest using EnSight, which also has the capability to automate using Python scripts. Please see the EnSight user manual for more information. 

    • Mathieu G
      Subscriber

      Hi !

      I need Python for academic purposes.

      I'm looking for a way to postprocess a transient simulation from the native .dat.h5 without having to export data during the simulation.
      I still need to export each timestep before using Ensight.

Viewing 2 reply threads
  • The topic ‘Linking data from the .dat.h5 to to the mesh’ is closed to new replies.