|
[Sponsors] |
October 18, 2006, 20:02 |
Writing out specific data from FLUENT
|
#1 |
Guest
Posts: n/a
|
Hi,
Consider this example. I have a rectangular domain in which I am solving for the flow. I have defined 4 points at some regular distances in the domain where I want to read out flow variables. Is there a way of may be writing a UDF somehow so that I can write say the temperatures at these 4 points at regular intervals of time to an out put file and appending the file every time? IF there is, is it also possible to get area averaged values for particular parameters? Any suggestion would be greatly appreciated. Thanks. Pavan |
|
October 19, 2006, 00:15 |
Re: Writing out specific data from FLUENT
|
#2 |
Guest
Posts: n/a
|
you need a udf for the same
|
|
October 19, 2006, 02:06 |
Re: Writing out specific data from FLUENT
|
#3 |
Guest
Posts: n/a
|
Other people may have a better idea but I just use C functions. You can write pretty much any values to a file. I'll tell you, postprocecssing those files won't be easy, though.
|
|
October 19, 2006, 09:01 |
Re: Writing out specific data from FLUENT
|
#4 |
Guest
Posts: n/a
|
Have you looked through the Surface monitors? There's a lot of options that are already built into Fluent. Define->Monitors->Surface Monitors... for any monitor you want a data file, turn on the "write" option. You can also plot them... and you can chose if you want to report based on iteration or time step... when you're turning on the iterations you can define a report increment. Otherwise, you can just write it every time step and filter it later on.
Hope this helps, and good luck, Jason |
|
October 19, 2006, 11:27 |
Re: Writing out specific data from FLUENT
|
#5 |
Guest
Posts: n/a
|
Thanks for the answers guys. Jason, I did look at the surface monitors. It would have been great if it had a write option at specific time increments. Unfortunately it seems to be able to do it only at every iteration/time-step. And I need to save at something like once every 12000 time steps. So if I do it once every and try to filter the file, not only is it going to be very tedious but the file size will be huge also. I don't know if I am missing anything here. Any ideas? I was also looking at the execute macros. THe only problem is I need an area averaged value at a boundary and with the execute command I don't seem to be able to write an area averaged value to file. So I am still searching. Any ideas would be greatly appreciated. Thanks once again.
Pavan |
|
October 19, 2006, 12:26 |
Re: Writing out specific data from FLUENT
|
#6 |
Guest
Posts: n/a
|
Well, if you're comfortable with programming, you could always write a script that will blow through your monitor file and only grab the points you want (I'm a big advocate of Perl...). Or if you don't care about residuals or anything in between when you're writing your data, you may be able to set a report interval when you define how many iterations (I know you can for steady state... unsteady, I'm not sure).
Beyond that, I think you're going to have to write a UDF (but that's more programming... and I'm not really sure how you'd go about it...). Best of luck, Jason |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulation of a single bubble with a VOF-method | Suzzn | CFX | 21 | January 29, 2018 01:58 |
How to extract data of specific variable from PHI and Q1 file? | mukut | Phoenics | 3 | October 17, 2011 07:13 |
FLUENT can not read data file | jing113cn | FLUENT | 0 | December 6, 2010 10:06 |
Fluent to Radtherm (export of data) | akd | FLUENT | 0 | December 3, 2010 02:07 |
Writing out specific data from FLUENT | kui | FLUENT | 1 | November 7, 2006 21:33 |