|
[Sponsors] |
July 4, 2017, 13:55 |
Calculating energy/power spectra.
|
#1 |
New Member
anonymous
Join Date: Nov 2016
Posts: 29
Rep Power: 10 |
Hi all,
I am trying to validate my OpenFOAM CFD code for flow past a circular cylinder. This includes calculating the power spectra of velocity at fixed points in the cylinder wake, and hopefully identifying Kolmogorov's -5/3 slope. I have read up on the technique required using Pope's book- Turbulent Flows Ch.6 (2000), however I am still unsure of how I go about implementation. Pope describes a two-point autocorrelation, but my sample points are fixed in position behind the cylinder, so I therefore don't understand how this might apply. From my understanding there are two possible routes- (1) Calculate the autocorrelation function , and then take the Fourier transform . I have a fixed sampling point, so I am not sure how I would use this, unless I utilise Taylor's frozen hypothesis?? (2) Take the FFT of the individual velocity components (I am interested in the streamwise direction), then use . Method (2) seems more straightforward, but I have only seen this in a forum post, not in a textbook. Does anyone have a reference for this in order to get a better understanding? Apologies for the scattered post, I am getting very confused by the whole thing. Regards, RH. |
|
July 4, 2017, 18:59 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
I am not sure to understand your point, you have some probes and you sample in time the values of the velocity? Or do you want to analyze the spectral content along the spanwise direction (that I suppose is periodic)?
|
|
July 5, 2017, 06:28 |
|
#3 | |
New Member
anonymous
Join Date: Nov 2016
Posts: 29
Rep Power: 10 |
Quote:
In the literature, probes are placed across the spanwise direction (in the -direction). These are then assumed to be independent, and averaged. Lets assume I only place one probe in the wake and I record all three components of velocity. I want to analyse the velocity time series and calculate the power spectra of the streamwise (or normal) velocity. This is to confirm my plots display the -5/3 law, and that there are spikes where the shedding frequency is present. |
||
July 5, 2017, 08:06 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Well, I suggest to do the FFT of the three velocity components at the chosed position. However, you need a correct windowing technique as your signal is not necessarily periodic in time. Then, consider that depending on the position far from the cylinder along the wake, you can or not recover the theoretical inertial slope. Furthermore, the theoretical slope should be the same, interchanging in space and time, requiring further assumption about ergodicity.
Finally, I would suggest to do the spectral analysis also in space, you can do the FFT along z and for several positions along the streamwise direction |
|
July 5, 2017, 10:42 |
|
#5 | |
New Member
anonymous
Join Date: Nov 2016
Posts: 29
Rep Power: 10 |
Quote:
I have the 3 component velocities time series at one point, which I use to calculate the fluctuating velocity . The aurocovariance can be found , which will require varying . It is then possible to calculate the frequency spectrum i.e. , where is the Fourier transform. Does this look OK? |
||
September 29, 2020, 13:53 |
|
#6 |
Senior Member
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7 |
Quote:
|
|
October 27, 2024, 03:35 |
|
#7 |
New Member
Chang
Join Date: Oct 2024
Posts: 3
Rep Power: 2 |
Have you solved it please, I am working on the same task with python!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Questions on dynamicTopoFvMesh | danvica | OpenFOAM Running, Solving & CFD | 80 | April 16, 2019 17:58 |
DPMFoam - Serious Error --particle-laden flow in simple geometric config | benz25 | OpenFOAM Running, Solving & CFD | 27 | December 19, 2017 21:47 |
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL | AndoniBM | OpenFOAM Running, Solving & CFD | 2 | March 25, 2015 19:44 |
Problems in calculating the fluid traction on the current structure frame in 3D models | fw407 | OpenFOAM Running, Solving & CFD | 0 | August 6, 2008 13:04 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |