|
[Sponsors] |
March 19, 2009, 02:30 |
Velocity Fluctuations in Fluent
|
#1 |
New Member
Andrew
Join Date: Mar 2009
Location: Victoria University
Posts: 15
Rep Power: 17 |
Hi Everyone.
I'm running simulations using Fluent 6.2.16 for flow over an elastically mounted circular cylinder. I want to monitor and write to file the velocity fluctuations u', v' and w', but cannot seems to find these options anywhere within Fluent. I see that you can monitor the absolute velocity and relative velocities in all directions, but no fluctuations. Does anybody know how I can monitor and record these parameters during a simulation? Are they available in the GUI within Fluent, or do I have to create an UDF to obtain the values? Thanks. Andrew |
|
March 20, 2009, 03:31 |
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
User Defined Function (UDF)?
|
|
March 20, 2009, 05:05 |
|
#3 |
New Member
Andrew
Join Date: Mar 2009
Location: Victoria University
Posts: 15
Rep Power: 17 |
Hi Paka,
Yeah, I meant User Defined Function. Regards Andrew |
|
March 20, 2009, 05:35 |
|
#4 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
That's what I'm saying, read tutorials about UDF, finally the idea should show up, unless someone else on this forum can provide you ready to go solution.
Best, K |
|
March 20, 2009, 05:38 |
|
#5 |
New Member
Andrew
Join Date: Mar 2009
Location: Victoria University
Posts: 15
Rep Power: 17 |
Thanks Paka.
I'll try to read through the UDF tutorials and manual to see if there is anything relating to fluctuating velocities. Regards Andrew |
|
March 21, 2009, 14:40 |
|
#6 |
Member
Join Date: Mar 2009
Posts: 49
Rep Power: 17 |
what if you just monitor the absolut velocities and then calculate the deviations yourself by substracting the time-mean-value or simple doing a DFT on it? Is that what you want?
regards |
|
March 22, 2009, 17:17 |
|
#7 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
That's what I was thinking. As soon as you get familiar with UDF (which might look scary at the beginning), it should be relatively easy to write your own routine. It is easy to access velocity data, so this shouldn't be a big deal.
If you do not work on UNIX system, it means you use Windows, which means you need Microsoft C compiler, which means you need to spend money and get it - I absolutely do not support that idea . In this case, I would just dump velocity data into text file and then do post-processing on your own writing for example simple Python script. Best |
|
March 22, 2009, 22:41 |
|
#8 |
New Member
Andrew
Join Date: Mar 2009
Location: Victoria University
Posts: 15
Rep Power: 17 |
Thanks Guys,
I appreciate the feedback. I will try to monitor the velocities into text files and post-process the data for fluctuating velocities using DFT or another method. This seems like the easiest option that Fluent will allow. Regards Andrew |
|
August 10, 2015, 19:12 |
|
#9 |
Member
Join Date: May 2013
Posts: 32
Rep Power: 13 |
Hello Andrew,
Did you find out how to calculate fluctuating velocities in fluent? Do you have any user defined function for this? Thanks, |
|
August 11, 2015, 13:07 |
|
#10 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
Quote:
For example: uprime = x-velocity - (average x velocity) where you must enter the average x velocity Do that for all three velocities and then you can export those plot/export those velocities. Because it's a simple scale shift, it's easily doable outside Fluent (say tecplot, matlab, excel, etc). It's a little more cumbersome to define a custom field function through TUI, so I recommend to do it first through the GUI if you have access to the GUI. |
||
August 11, 2015, 13:58 |
|
#11 |
Member
Join Date: May 2013
Posts: 32
Rep Power: 13 |
LuckyTran,
Thank you for your reply. The problem is that fluent does not give average velocities directly. Do you know any way to calculate the average velocities? Thank you very much... |
|
August 11, 2015, 17:19 |
|
#12 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
Quote:
If you still want fluctuating velocities in Fluent then you need to be a little creative. You need to export the mean values from the last time-step and onto the data at previous time-steps and then use that in the custom field function. Basically you need to run your transient simulation and save the data at all time-steps of interest, and then you can come back and calculate the fluctuating velocity after-the-fact. |
||
August 18, 2015, 15:11 |
|
#13 |
Member
Join Date: May 2013
Posts: 32
Rep Power: 13 |
LuckyTran,
Thank you for your reply. I enabled the data sampling for time statictics. However, I could not see the new variables for the mean quantities? is it like other variables? should I look under velocity ? Thanks, I appreciate your help. |
|
August 19, 2015, 11:08 |
|
#14 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
In the GUI, they are listed under unsteady statistics or unsteady wall statistics. If you're using the TUI, they will have mean as a prefix, e.g. mean-x-velocity, mean-y-velocity, etc. The mean fluctuating components have the prefix RMSE. If you are using older versions of Fluent they may just be RMS instead of RMSE.
|
|
August 24, 2015, 01:26 |
|
#15 |
Member
Join Date: May 2013
Posts: 32
Rep Power: 13 |
LuckyTran,
I appreciate all your help. I am kind of new to this unsteady calculations in fluent. I finally get the unsteady statistics in fluent. I have a question regarding the fluctuating velocities. I run my program for total of 1000 time steps. I also saved fluent files in every 50 time steps and keep running the fluent until 1000 time steps. I also saved my latest file which is in 1000 time steps. So when I am writing custom define function; Should I define it in my last file which is in 1000 time steps? To calculate fluctuating velocity; I will take the difference between instantaneous velocity which is x velocity in the GUI and mean x velocity. My question is will I choose these variables in my last file which is 1000 time steps? Will I be using my previous files at all which I saved in different time steps? Thank you... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pessure & density fluctuations | CFD newbie | CFX | 0 | January 28, 2008 18:01 |
about turbulence random fluctuations | ben | Main CFD Forum | 2 | December 23, 2004 21:23 |
Pressure and velocity fluctuations | Jeff | CFX | 1 | May 23, 2004 19:45 |
Turbulent Fluctuations | Thomi | Main CFD Forum | 3 | December 7, 2000 10:34 |
density fluctuations | Offer Pade | Main CFD Forum | 0 | November 28, 1998 04:02 |