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

Time-averaged velocity plot for a transient simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2012, 07:53
Unhappy Time-averaged velocity plot for a transient simulation
  #1
Member
 
Join Date: Jun 2011
Posts: 86
Rep Power: 15
mali28 is on a distinguished road
Hi,

I want to plot a time-averaged cross-sectional velocity profile plot.

I can plot the velocity profile for a specific time, but how do can I plot time-averaged velocity profile for a specific range of time interval.

Can any one help me?

Thank you.
mali28 is offline   Reply With Quote

Old   January 5, 2012, 09:36
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Quote:
Originally Posted by mali28 View Post
Hi,

I want to plot a time-averaged cross-sectional velocity profile plot.

I can plot the velocity profile for a specific time, but how do can I plot time-averaged velocity profile for a specific range of time interval.

Can any one help me?

Thank you.
Hi,
I've done it but it's not very easy at least in ver. 6.3.
you can export your data and find the average flow in another software like MATLAB and then prepare it for fluent interpolation or showing in Tecplot.

Bests,
maphd likes this.
__________________
Amir
Amir is offline   Reply With Quote

Old   January 5, 2012, 10:49
Default
  #3
Member
 
Join Date: Jun 2011
Posts: 86
Rep Power: 15
mali28 is on a distinguished road
Quote:
Originally Posted by Amir View Post
Hi,
I've done it but it's not very easy at least in ver. 6.3.
you can export your data and find the average flow in another software like MATLAB and then prepare it for fluent interpolation or showing in Tecplot.

Bests,

I have version 12.1
So, I have to export the data for each time step and get an average value in other software like excel? That will be an extremely painstaking when the averaging interval is very large and time step size is very small as in my case.



There must be some easy way of doing it in Fluent 12.1

maphd likes this.
mali28 is offline   Reply With Quote

Old   January 5, 2012, 11:05
Default
  #4
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
It is available in fluent
Far is offline   Reply With Quote

Old   January 5, 2012, 11:13
Default
  #5
Member
 
Join Date: Jun 2011
Posts: 86
Rep Power: 15
mali28 is on a distinguished road
Quote:
Originally Posted by Far View Post
It is available in fluent
How can I do it? I could not find this feature in ver. 12
mali28 is offline   Reply With Quote

Old   January 5, 2012, 11:25
Default
  #6
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Quote:
Originally Posted by mali28 View Post
I have version 12.1
So, I have to export the data for each time step and get an average value in other software like excel? That will be an extremely painstaking when the averaging interval is very large and time step size is very small as in my case.



There must be some easy way of doing it in Fluent 12.1

I've done it by automation in both FLUENT and post processor. so it's not very complicated or time consuming.

Bests,
__________________
Amir
Amir is offline   Reply With Quote

Old   January 5, 2012, 11:45
Default
  #7
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
I want to add another way if you haven't run your case yet.
you can also store your desired variables in temporary memory e.g. UDM and then find your average flow without using extra softwares (but I didn't use this procedure before). My previous suggestion is more proper for the cases with saved data in previous simulations.

Bests,
__________________
Amir
Amir is offline   Reply With Quote

Old   September 4, 2013, 12:35
Default Average velocity at all point along the pipe/ Calculate mass flow rate along pipe
  #8
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 13
Tanjina is on a distinguished road
Hi,

Is it possible in fluent 14.0 to calculate average velocity after certain time step ( say after every 50 time step) at all point along the pipe, so that I can calculate mass flow rate along the pipe after certain time ?

If anyone has done this type of work or has any idea, please let me know. That will be great help.

Thanks in advance.

Tanjina
Tanjina is offline   Reply With Quote

Old   September 4, 2013, 12:51
Default
  #9
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
First of all, I would like to mention that there is a "data sampling for time statistics" in fluent.
Find the checkbox in the "run calculation" tab.

I actually dont know if the start of the sampling process can be delayed automatically. But what you can do is run your simulation to the point where you want to start the data sampling and activate the data sampling manually at this point.
khaledhmz likes this.
flotus1 is offline   Reply With Quote

Old   September 4, 2013, 13:42
Default
  #10
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 13
Tanjina is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
First of all, I would like to mention that there is a "data sampling for time statistics" in fluent.
Find the checkbox in the "run calculation" tab.

I actually dont know if the start of the sampling process can be delayed automatically. But what you can do is run your simulation to the point where you want to start the data sampling and activate the data sampling manually at this point.

Thank you Flotus. I am sorry, I couldn't get your message. By data sampling, is it possible to calculate average velocity at every node along the 2D pipe? I need it badly. Would you please explain a bit more ?
Tanjina is offline   Reply With Quote

Old   September 4, 2013, 13:52
Default
  #11
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
When data sampling is enabled, you get the time-averaged variables for the whole flow field (and some more quantities, refer to the manual for details) as a result of the simulation.
villager and metmet like this.
flotus1 is offline   Reply With Quote

Old   September 4, 2013, 22:16
Default
  #12
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 13
Tanjina is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
When data sampling is enabled, you get the time-averaged variables for the whole flow field (and some more quantities, refer to the manual for details) as a result of the simulation.

Thank you Flotus. I have read the article on user manual. I have one question. How can I custom field function ?

And another question is, in fact I need area averaged velocity after certain time step.( i.e. every 50 step). Is it possible by Data sampling for time statistics option ? Sorry, I tried to understand from manual, but I couldn't. And it is not possible by Data sampling for time statistics , have you any idea how can I do that ?

Thanks in advance.

Regards,
Tanjina.
Tanjina is offline   Reply With Quote

Old   September 5, 2013, 04:20
Default
  #13
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
The area-averaged velocity (and much more, the GUI is quite self-explanatory here) can be created in the "monitors" tab in fluent.

I bet that you can also access custom field functions here.
flotus1 is offline   Reply With Quote

Old   September 5, 2013, 10:40
Default
  #14
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 13
Tanjina is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
The area-averaged velocity (and much more, the GUI is quite self-explanatory here) can be created in the "monitors" tab in fluent.

I bet that you can also access custom field functions here.
Hello Flotus,

Thank you very much for your reply.

I tried to plot velocity in every iteration from "Monitors", but is it the area averaged velocity ? It's only showing that "velocity magnitude", that's why I got confused.

I have pipe with 0.2 width and 6 m long. I want to calculate average velocity along 6 m at every node point. Is it possible by "monitors" tab? if not, then is there any other way ? By using that average value I will calculate the mass flow rate along the pipe.

I am sorry, may be it's a silly question..... but I couldn't find out it by myself. Hope you can help.

Thanks in advance.


Regards,

Tanjina
Tanjina is offline   Reply With Quote

Old   September 6, 2013, 13:56
Default
  #15
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Quote:
I tried to plot velocity in every iteration from "Monitors", but is it the area averaged velocity ? It's only showing that "velocity magnitude", that's why I got confused.
The monitor shows whatever you insert.
Please have a close look at the GUI and the possible settings when adding a new surface monitor. It really is self-explanatory.
There is even a "Mass Flow Rate" report type among the surface monitors...
flotus1 is offline   Reply With Quote

Old   September 12, 2013, 10:57
Default
  #16
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 13
Tanjina is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
The monitor shows whatever you insert.
Please have a close look at the GUI and the possible settings when adding a new surface monitor. It really is self-explanatory.
There is even a "Mass Flow Rate" report type among the surface monitors...

Thank you Flotus for your suggestion. Finally I found my way. Thanks a lot.
Tanjina is offline   Reply With Quote

Old   November 16, 2013, 21:56
Default Find area averaged velocity along 3D pipe
  #17
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 13
Tanjina is on a distinguished road
Dear Flotus and All,

Right now I am modelling a 3D pipe surrounded by aggregate. I need to find area averaged velocity along pipe length ( X-axis). According to my understanding I have to find out the area averaged velocity of y axis at every x point.

Is there anyone who can kindly suggest me any idea? I would be really grateful. Thanks in advance.

Regards,
Tanjina
Tanjina is offline   Reply With Quote

Old   July 26, 2014, 05:25
Default
  #18
New Member
 
kazem
Join Date: Mar 2012
Location: kazeroun,iran
Posts: 3
Rep Power: 14
kazem is on a distinguished road
hi FAR,please explain about it?
thanks
kazem is offline   Reply With Quote

Old   August 25, 2015, 20:47
Default
  #19
Member
 
Join Date: May 2013
Posts: 32
Rep Power: 13
maphd is on a distinguished road
Hi

I run a large eddy simulation in fluent 14. I saved my case and data files at different time steps every 50 time steps and I run the simulation for 1000 time steps. Can anyone tell me how I can find an average value of a variable lets say velocity from all of the files that I saved?

I do not want to open them one by one and put into excel or any other place to take the average of a variable. Is there any way that fluent can read those by itself and calculated the average?

Thank you,
maphd is offline   Reply With Quote

Old   August 25, 2015, 22:18
Default
  #20
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 13
Tanjina is on a distinguished road
Hello maphd,

I don't know any way to do this on Fluent, but using Matlab, you can do that easily. Matlab will read your saved file first and then will calculate the average velocity over time.

Regards,
Tanjina
Tanjina is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 17, 2019 00:12
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 12:08
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 06:24
plot velocity over time maysmech OpenFOAM Post-Processing 0 August 28, 2010 10:07


All times are GMT -4. The time now is 12:28.