|
[Sponsors] |
January 14, 2024, 01:17 |
Extract field data in fluent over time
|
#1 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 7 |
Hello there,
I would like to extract data such as pressure and velocity field from fluent. I have simulated my case and I want to extract data in ASCII format. As you know fluent output data files are in binary format and it isn't possible to read them directly. Besides, I know it is possible to write field data with write solutions in fluent, but it gives me just for one .data file! While I need to store all flow time data. However, if I could read all .data files in fluent, it would solve my problem. I would appreciate it if you give me some help. |
|
January 14, 2024, 12:45 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,665
Rep Power: 65 |
You can save .dat files in ascii format. Just stop being lazy
|
|
January 14, 2024, 12:46 |
|
#3 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 7 |
Thank you, but How?!!
|
|
January 14, 2024, 12:48 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,665
Rep Power: 65 |
Uncheck the write binary file box....
|
|
January 14, 2024, 12:51 |
|
#5 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 7 |
Could you provide me with more details, where's the binary box!
|
|
January 15, 2024, 02:59 |
|
#6 |
Senior Member
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 207
Rep Power: 17 |
Unfortunately the binary box is no longer available in the newer versions of fluent. But of course you can store the date file each time step, but this will result in a huge amount of data. If you only interested in some specific data, it is better to use "Report definitions". Here you can easily write data in text files for each time step.
|
|
January 15, 2024, 03:02 |
|
#7 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 7 |
Thank you MKuhn for the reply,
Yeah it isn't. I'm going to use this data for machine learning and it would be large amount of data over time. Besides, it is frustrating to load all data files one by one in fluent and make output results. |
|
January 15, 2024, 06:58 |
|
#8 |
Senior Member
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 207
Rep Power: 17 |
Write a journal for that. So that fluent will do the work automatically in the background.
|
|
January 15, 2024, 07:05 |
|
#9 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 7 |
Thank you MKuhn for your help.
I will try it. Actually, couple of minutes ago I found that it is possible to read all data files via CFD post. CFD post exports field data as csv format which is excellent. |
|
January 22, 2024, 02:50 |
|
#10 |
New Member
Join Date: Sep 2021
Posts: 7
Rep Power: 4 |
I think there is a trick to "uncheck the binary box" in newer versions (2022 R2 and above). You go to TUI file> binary legacy options?> no and file> cff-files?>no as cff files are always in binary format. After this you should be able to save .cas and .dat files in ASCII format. After that you can use file> export> during calculation> solution data in the GUI to periodically export domain data. Hope this helps.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extract field data in tecplot over time | saeed jamshidi | Tecplot | 1 | January 14, 2024 06:09 |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 02:36 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |