Fluids

Fluids

exported data from Fluent

    • ehkh
      Subscriber

      Hi,


       


      I am intended to use matlab for post processing. However, matlab can not read data files exported from fluent that have the extension of ".dat", but I think it can read HDF5 format.


      I am asking Fluent to autosave the data file each 5 time steps but unable to specify the formate of the file to be HDF5. Please advice how this can be changed.


       


      Also, Fluent exported 44 standard variables for each node which take relatively large space and time to export. What I need to export is only 5 variables such as temp, 3 velocities components  and density, could you please advice how this can be changed in fluent.


       


      Many thanks


      Esra'a


       

    • Rob
      Ansys Employee

      You can write out ascii data, so could use that. 

    • ehkh
      Subscriber

      Thanks for your reply.


      can this type of file show data for the whole time steps for each node ? or can I exported automatically each time step?


       

    • Rob
      Ansys Employee

      You'd need to export for each step independently.  If you add %t  to the filename   eg  output_data_%t.txt  Fluent will add the timestep number to the filename to stop you overwriting files. 


      You can plot/export single point/average data with time to give an xy plot: but depending on what you're doing this may not be suitable. 

    • ehkh
      Subscriber

      Thanks for your reply.


      I have hundreds of time steps, which would be inconvenience to export data of each time step manually.


      However, What I am trying to plot is the root mean square of temperature versus solution time for a specified line or plane in the domain.


      Is there an easier way to do so?


      Many thanks.

    • Rob
      Ansys Employee

      If you mean an average temperature v time I'd use the Reports tool and plot the data as you go along.  If you have the data already you'll need to read the file, generate the data and then repeat to get a plot.  Given the amount of data you have you could skip some as you may only need 10 points for a curve? 

Viewing 5 reply threads
  • You must be logged in to reply to this topic.