|
[Sponsors] |
November 27, 2015, 03:54 |
How to read dat file of Fluent using Matlab?
|
#1 |
New Member
Kanhlbai
Join Date: Oct 2015
Posts: 3
Rep Power: 10 |
HI everyone
I have saved a time series of .dat files in Fulent and now want to post-process these file. I am trying to read these .dat files using Matlab but it seems there is no information on the data format of these .dat files. Could any one help? Many thanks in advance! Ken |
|
November 28, 2015, 03:40 |
|
#2 |
Senior Member
|
It is present in the manual. But, unless you are trying to go into something really complex, the typical approach to postprocessing is to just save monitors/profiles and post-process them, which are much more easy to manage. This is especially true for memory, as soon as you go beyond 1Mln cells, you either are really good in Matlab or it is going to be very slow in reading files.
|
|
November 29, 2015, 21:20 |
|
#3 | |
New Member
Kanhlbai
Join Date: Oct 2015
Posts: 3
Rep Power: 10 |
Quote:
Thanks very much for your reply. Would you please sepecify where I can get the information on the .dat file formation in the mannual? Ken |
||
November 30, 2015, 11:35 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65 |
It's in the Fluent User's Guide, Appendix B.
Also, note that usually the .cas and .dat files are saved in binary format, which makes importing them that much more annoying. Usually you save monitors and profiles and only post-process those variables. If you need the entire .dat file, it's better to do the processing directly in Fluent or via a dedicated post-processor rather than writing your own code from scratch. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 17:18 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 16:02 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 06:42 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |