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

Time averaged velocity contour plots

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Saurabh Kurmi
  • 1 Post By LuckyTran
  • 1 Post By Saurabh Kurmi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2019, 09:56
Default Time averaged velocity contour plots
  #1
New Member
 
Saurabh Kurmi
Join Date: Jul 2019
Posts: 2
Rep Power: 0
Saurabh Kurmi is on a distinguished road
Hello everyone!!
I am doing a transient analysis in Ansys fluent. I want to get the time averaged velocity contour. I have enabled the data sampling for time statistics but confused about what to put in sampling interval??
Светлана likes this.
Saurabh Kurmi is offline   Reply With Quote

Old   July 29, 2019, 02:00
Default
  #2
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
Sampling interval of 1 second means that the variable is measured every 1 second.


For example, with a time step of 0.1 seconds, you have these results in a point:


a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20


They correspond to these time values:


0.1s, 0.2s, 0.3s, 0.4s, 0.5s, 0.6s, 0.7s, 0.8s, 0.9s, 1s, 1.1s, 1.2s, 1.3s, 1.4s, 1.5s, 1.6s, 1.7s, 1.8s, 1.9s, 2s


With a sampling interval of 0.1s you will get the average as


sum(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20) / 20


With a sampling interval of 0.2s it only takes every second value,


sum(a2, a4, a6, a8, a10, a12, a14, a16, a18, a20) / 10


With a sampling interval of 1s it only takes one value every second,


sum(a10, a20) / 2
Светлана is offline   Reply With Quote

Old   July 29, 2019, 12:03
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The sampling interval is not in seconds, it's time-steps.
Светлана likes this.
LuckyTran is offline   Reply With Quote

Old   July 29, 2019, 19:40
Default
  #4
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
Thank you for the correction, LuckyTran


In this case here is the updated example:


Sampling interval of 1 means that the variable is measured every 1 step.


For example, with a time step of 0.1 seconds, you have these results in a point:


a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20


They correspond to these time values:


0.1s, 0.2s, 0.3s, 0.4s, 0.5s, 0.6s, 0.7s, 0.8s, 0.9s, 1s, 1.1s, 1.2s, 1.3s, 1.4s, 1.5s, 1.6s, 1.7s, 1.8s, 1.9s, 2s


With a sampling interval of 1 you will get the average as a mean of all points:


sum(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20) / 20


With a sampling interval of 2 it only takes every second value,


sum(a2, a4, a6, a8, a10, a12, a14, a16, a18, a20) / 10


With a sampling interval of 10 it only takes one value every ten steps meaning every second,


sum(a10, a20) / 2
Светлана is offline   Reply With Quote

Old   July 30, 2019, 11:31
Default
  #5
New Member
 
Saurabh Kurmi
Join Date: Jul 2019
Posts: 2
Rep Power: 0
Saurabh Kurmi is on a distinguished road
Thanks for all the replies.
I am performing the simulation of flow over a circular cylinder. I have to get the average velocity contour.I have given 1000 time steps with time step size 0.1 sec.What value of sampling intervel should i give??
Светлана likes this.
Saurabh Kurmi is offline   Reply With Quote

Old   July 30, 2019, 19:32
Default
  #6
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
1. "To do what you wrote you need sample interval = 1. This, btw, is always your best choice if you don't know what you're doing." (link)


In my experience another non-1 sampling interval was useful once when I wanted to compare with experimental data in which the lab recordings were sampled with a different frequency than my time step in ansys fluent.


2. Please also understand that you need to time average your data after the flow has finished developing. After you start your simulation it may take a while to settle. Adding a monitor point and watching its behaviour can be a good way to know when to begin your averaging. There is a plot about this here, and in this example they need to average after 0.03s.
Светлана 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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 09:08
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03


All times are GMT -4. The time now is 08:30.