CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Determination of the time period for averaging of the velocity field at periodic flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2018, 12:24
Question Determination of the time period for averaging of the velocity field at periodic flow
  #1
New Member
 
Join Date: Dec 2018
Posts: 1
Rep Power: 0
mo92 is on a distinguished road
Hi everyone,

I have a question regarding the field average of the velocity field.

I use a quite simple setup of a flow past a circular cylinder at Reynolds number Re=100. The case is two-dimensional and for mesh generation I use blockMesh with a depth of one cell in the z direction. In addition, I use extrudeMesh to collapse the front patch into the back patch to get a truly two-dimensional geometry. I use the solver simpleFoam. At this Re the flow shows the Kármán vortex street with vortex shedding.

I need to calculate the field average of the U (velocity) field using function objects “fieldAverage” (mean U for each cell over time). The averaging works fine, but I try to figure out the proper time for running the averaging of the field after the periodic flow in the wake of the cylinder is fully developed.

Therefor I have two basic ideas:

1) As the vortex shedding frequency is equal to the oscillation frequency of the lift coefficient of the cylinder, I also use the functionObject “force coefficients” to calculate the lift coefficient.
Using fft (fast Fourier transform) to analyze the plot of the lift coefficient over time I can calculate the frequency of the vortex shedding and the periodic time. Then I could use a multiple of this period as the timespan for averaging. Thereby I should get a result that is independent from the state of the flow (U field) at the start of the averaging.

I am not entirely sure whether this is a proper way to determine the averaging time and I would prefer a method that allows a more quantitively way to indicate that the averaging was executed for a sufficient amount of time. I am aware that deviation decreases as the time for averaging is increased, but I still would like to implement it in a way that allows to monitor the progress (ideally by a single parameter).

2) Therefor I was wondering if there is a better way e.g. by using some other function objects for averaging. Does it make sense to calculate the average of U over the time and all cells and if so, how could that be done? Is there another method that is typically used to determine the averaging time for a periodic flow?

I am quite new to OpenFOAM and could really use the help. Any comments or ideas would be much appreciated. Thanks in advance!

Mo92
mo92 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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33


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