|
[Sponsors] |
April 11, 2007, 19:47 |
Need Help-Residence time contours
|
#1 |
Guest
Posts: n/a
|
I am a fluent newbie and I need some help to accomplish something I am trying to do in Fluent. I am not sure if their is an easy way to do this. I want to plot contours of residence time. I am using fluent on a school design project. I am modeling airflow patterns inside of an enclosed geometry (3-D) with multiple velocity inlets and pressure outlets. The only species I have is air. A good metric to compare the different models I have ran would be to determine which models evacuate air from the geometry the fastest, and where my stale or old air is collecting, to aid in redesign of my vent placement.
I am pretty sure that this will involve solving a transient solution and writing some type of code to insert into Fluent as a user defined function. I have no experience with this so if anyone could lend some advice or knew of a good tutorial I would be very grateful. Thanks, Garth Truesdale |
|
April 12, 2007, 08:32 |
Re: Need Help-Residence time contours
|
#2 |
Guest
Posts: n/a
|
I assume you have tried Display-Pathlines and color the paths by particle_variables-time and that's not what you want, right?
|
|
April 12, 2007, 12:23 |
Re: Need Help-Residence time contours
|
#3 |
Guest
Posts: n/a
|
Thank you for your response. Yes I have done that, but I am trying to mature my analysis a bit. The pathlines worked well when I was only doing a 2-D model. It is not what I want to do as it looks very messy in 3-D (hard to visualize and tell my 'story' of what is happening). What I want is filled contours (similar to velocity or pressure contours) where I can slice up the geometry and show where I have regions of stale air. Thanks in advance for your guidance. Garth
|
|
April 12, 2007, 13:20 |
Re: Need Help-Residence time contours
|
#4 |
Guest
Posts: n/a
|
OK, here is a crazy solution: - write out the pathlines data (fluent 6.3, standard format) - this will give you the x,y,z and time for your injection - write out an interpolate file with one variable - a code can read the x,y,z information for each cell from the interpolate file, look in the pathline file and within a certain tolerance (cell size or ...) find the match data, average the residence time for all the data that matched the cell coordinate, write a new interpolate file with the residence time as the dependent varaible. - read back the interpolate file and contour plot it.
Problem is that there maybe some cells that may not get a hit from your search in the pathline file and the question is that what value you want to assign for those. Other problem is that the residence time is not a point value it can only be meaningful related to a start point. Another problem is that you will calculate some sort of average residence time for each cell. I am not sure what that means. OK, if you ever decided to try this please let us know. |
|
April 12, 2007, 14:53 |
Re: Need Help-Residence time contours
|
#5 |
Guest
Posts: n/a
|
Before I get too involved with this method let me pose a question: Will this method work for an unstructured grid? I have been using an unstructured grid and I am thinking that if the cell size is the tolerance, that this may be a bit of trouble to determine. I have seen this done before, but I think that another program was used, for example maybe polyflow.
The problems that you mentioned will be difficult to overcome, as I know that every cell will not be getting a hit. The geometry is around 400 cubic feet, my mesh is just under 1 million nodes, etc...and the path lines do not go 'everywhere'. Thanks again for your insights!! I appreciate it a lot. |
|
April 12, 2007, 22:58 |
Re: Need Help-Residence time contours
|
#6 |
Guest
Posts: n/a
|
Cell size was just a suggesion for the tolerance. I am not exactly sure how much involved this method is though.
|
|
April 13, 2007, 02:24 |
Re: Need Help-Residence time contours
|
#7 |
Guest
Posts: n/a
|
Hi Garth. I'm not to sure how this could be done in FLUENT. But I have done it with CFX, easily. Have a look at http://www.cfd-online.com/Forum/cfx_...cgi/read/11571 Maybe you could get the necessary information from that. Or try CFX if you have access.
|
|
April 25, 2007, 12:20 |
Re: Need Help-Residence time contours
|
#8 |
Guest
Posts: n/a
|
See if you can get your hands on a UDF that fluent had available a while ago.
fanger.c It literally defines a passive scalar which at convergence tells you the "age" of the air in a cell in seconds. Then just use path lines and color by that scalar. - Andy R |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 05:24 |
residence time contour in Fluent | kk | FLUENT | 0 | May 1, 2007 22:56 |
residence time | Sugen Chetty | Main CFD Forum | 0 | January 28, 2002 09:50 |