Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Fluids Is it possible to extract data from .dat or .out files with python into a csv file? Reply To: Is it possible to extract data from .dat or .out files with python into a csv file?

Rob
Forum Moderator
I don't think so, https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v221/en/flu_ug/flu_ug_chp_files.html may be of some help. Not helped that some of the file is in binary. There's a TUI option under /file to set the format of .dat (not .dat.h5) to write in non-binary. How readable that is will depend on the size of the model: try it with something small.
However, for the above you may find it's quicker to open case & data and export an ASCII format file of just position, velocity components and pressure. Far less data to try and figure out!
File-Export-Solution Data



[bingo_chatbox]