-
-
September 4, 2023 at 4:38 amEmmanuel RamogiSubscriber
Hello everyone,
I saved Ansys fluent simulation data in .dat format. However, I need some assistance regarding how to read the data within. After searching the internet for hours, I have not been able to find any solution to this.
How can one adjust a programming language code to read the Ansys fluent .dat file?
Emmanuel -
September 5, 2023 at 1:44 pmSunil LilhareAnsys Employee
Hello, the case and data files contains information related to the Ansys Fluent simulation. You can make use of read option to load the required files.
To know more about how to read and write Ansys Fluent case and data files please have a look at the section of Ansys Fluent's User Guide whose link is given below.
3.3. Reading and Writing Case and Data Files (ansys.com)
"If you are not able to access the link, please refer to this forum discussion:Â How to access the ANSYS Online Help"
-
September 5, 2023 at 3:11 pmNikhil NAnsys Employee
To add to what Sunil suggested, you may also consider reading the data file within CFD-Post: File -> Load Results... and pick the data file you have.Â
-
September 5, 2023 at 6:09 pmEmmanuel RamogiSubscriber
Â
Thanks for the reply @Nikhil and @Sunil. To be more specific, here is the assistance I need.Â
I am looking for help to read the solution file from Fluent into an external Python code.
I am working on modifying the solution from Fluent using singular value decomposition and reconstructing the solution using a fewer number of modes. To evaluate singular value decomposition, I need to read the solution data from Fluent into a Python code. Therefore, I am looking for the format for  .dat file from Fluent. Also, after reconstruction of the solution, I need to write the reconstructed solution from the Python code into another .dat file, so that I can read it into CFD-Post and visualize it.  Hope this is clearer.
Â
Â
Â
-
September 6, 2023 at 5:47 amNikhil NAnsys Employee
Can you check if this works for you? Using PyFluent Core - Lesson 4 - YouTube ; Using PyFluent Visualization - Lesson 6 - YouTubeÂ
If so, you may have to install PyFluent API packages. I would recommend to check out this comprehensive course on PyFluent:Â Getting Started with PyFluent | Ansys Courses
-
September 18, 2023 at 6:09 pmEmmanuel RamogiSubscriber
Â
I have gone through the videos and course however, I have not found what would work for me. The course and videos are mostly about how to use PyFluent as an interface with Ansys Fluent which is really not my objective.
I need to find out how the variables are stored on the .dat file (simulation data) format or how the .dat file format is constructed so that I can be able to read it using a Python code. Learning how to read it will be useful during the reconstruction process as I explained above. My main concern is how to read the solution data from fluent into a python code.
Â
-
-
-
September 20, 2023 at 2:36 pmRobForum Moderator
You may find you're better off using an interpolation file or ASCII type format from File>Export>Solution Data. As others have commented the case and data files are linked, and whilst the data file will contain all of the results it may not contain all of the required information.Â
File formats are covered here https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/flu_ug/flu_ug_chp_fileformat.html
-
- The topic ‘Reader for .dat ansys fluent simulation data’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- error udf
- Script error Code: 800a000d
- Fluent fails with Intel MPI protocol on 2 nodes
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Encountering Error in Heterogeneous Surface Reaction
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.