CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Exporting time dependent data after calculation

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 28, 2013, 17:34
Default Exporting time dependent data after calculation
Negin Nazarian
Join Date: Jan 2012
Location: San Diego
Posts: 61
Rep Power: 7
nenazarian is on a distinguished road

I have a simulation that is completed and I saved data files with some frequency.
Now I want to open those data files using a matlab function (that creates a journal file) and export some "Surface integral" parameters to process in matlab again. I was hoping to get something similar to "monitor" option that extract data as a function of time in one file.
The "write" option in "surface integral" can append data but its not what I need and does not have flowtime...
I didnt know that I might need these parameters so I didn't activate monitor for them and the duration of the calculation is very long so I wont be able to redo it.

Any help would be appreciated.

nenazarian is offline   Reply With Quote

Old   June 29, 2013, 13:38
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 7
Hershey is on a distinguished road
I have not tried what you are asking exactly, but I can lend some advice to you that may spark some method to tackle the problem.

Your data files that are saved will only have the "Surface Integrals" value at that exact time step.

You may be able to write a journal file which reads in a new data file:

read-data file1.dat

Then when it is read add the line:

report surface-integrals

Since I do not know what surface integral you want, the options in the above line will ask for the type of report, the surface to calculate and if you want to "Write to file".

You will want to say yes to the write to file and name the file.

The next step will be to repeat the above two lines again for each data file you have, but you will keep writing to the same file name.

Make sure that you include in your journal file a "yes" command for the "Append data to it?" question.

This will require some MATLAB code to post process the file, but you should have no problem getting the data you want.

If you need more help, then let me know.
Hershey is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Sudden jump in Courant number NJG OpenFOAM Running, Solving & CFD 7 May 15, 2014 13:52
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
time dependent source using DEFINE_SOURCE T81 Fluent UDF and Scheme Programming 5 February 28, 2011 18:23

All times are GMT -4. The time now is 20:50.