CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Writing out specific data from FLUENT

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 18, 2006, 19:02
Default Writing out specific data from FLUENT
  #1
Pavan
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
  Reply With Quote

Old   October 18, 2006, 23:15
Default Re: Writing out specific data from FLUENT
  #2
sach
Guest
 
Posts: n/a
you need a udf for the same
  Reply With Quote

Old   October 19, 2006, 01:06
Default Re: Writing out specific data from FLUENT
  #3
hirokata
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.
  Reply With Quote

Old   October 19, 2006, 08:01
Default Re: Writing out specific data from FLUENT
  #4
Jason
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
  Reply With Quote

Old   October 19, 2006, 10:27
Default Re: Writing out specific data from FLUENT
  #5
Pavan
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
  Reply With Quote

Old   October 19, 2006, 11:26
Default Re: Writing out specific data from FLUENT
  #6
Jason
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
  Reply With Quote

Reply

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
How to extract data of specific variable from PHI and Q1 file? mukut Phoenics 3 October 17, 2011 06:13
FLUENT can not read data file jing113cn FLUENT 0 December 6, 2010 09:06
Fluent to Radtherm (export of data) akd FLUENT 0 December 3, 2010 01:07
Simulation of a single bubble with a VOF-method Suzzn CFX 18 October 2, 2009 04:18
Writing out specific data from FLUENT kui FLUENT 1 November 7, 2006 20:33


All times are GMT -4. The time now is 04:56.