|
[Sponsors] |
February 9, 2022, 02:12 |
Input values in Energy Spectra
|
#1 |
New Member
Michael
Join Date: Jan 2022
Location: Birmingham, UK
Posts: 8
Rep Power: 4 |
Dear all,
I read several threads about how to calculate energy spectra and they said it should be about the instantaneous velocity field. However, in Pope's book, it takes the two-point correlation first, in which the velocity fluctuation u' (u - u(mean on time)) is involved. Moreover, the turbulent kinetic energy is the integral of E(k) on k (the area under E line in the E-k plot), which further shows that E should be about the fluctuation u' instead of the instantaneous velocity u. I know this question may be very fundamental but I am really confused. Which property should I use to get the energy spectra to verify Kolmogorov -5/3 Law? Greetings P.S. Here is how I calculate energy speactra (for 2D): 1. Get the Fourier Transform of the velocity (u or u' I am not sure) field F(u) and F(v). Their wavenumber kx and ky are also obtained. 2. phi = F(u)*(F(u).conjugate) + F(v)*(F(v).conjugate). With the correlation theorem the correlation process can be simplified. 3. For a specific wavenumber k, E(k) = sum(phi) with its sqrt(kx**2 + ky**2) between (k - 1/2 dk) and (k + 1/2 dk). |
|
February 9, 2022, 05:21 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
You can also compute the 1d spectra. That is quite common in literature.
|
|
February 9, 2022, 08:15 |
|
#3 |
New Member
Michael
Join Date: Jan 2022
Location: Birmingham, UK
Posts: 8
Rep Power: 4 |
||
February 9, 2022, 09:02 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
||
February 9, 2022, 10:22 |
|
#5 | |
New Member
Michael
Join Date: Jan 2022
Location: Birmingham, UK
Posts: 8
Rep Power: 4 |
Quote:
Here the difference is (1,1,1,1) so that only the 0-wavenumber term in the FFT result will be influenced. However, the time-mean velocity field may be like (0.5,0.2,-0.1,0.6) and FFT(0,1,0,1) and FFT(0.5,1.2,-0.1,1.6) will be totally different. I tried u and u' for the spectra, they have different results but both were close to Kolmogorov -5/3 law. This law is obtained by u', rather than u. Is it correct? |
||
February 9, 2022, 10:30 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
In general yes, the mean field has a spectral distribution due to possibile variability in space but as the original question in the post concerne the comparison with the inertial range -5/3 I suppose that the flow problem is standard, like homogeneous turbulence (no variation, zero mean) or channel flow (mean velocity varies only in vertical direction not along the homogeneous directions). |
||
February 9, 2022, 10:45 |
|
#7 | |
New Member
Michael
Join Date: Jan 2022
Location: Birmingham, UK
Posts: 8
Rep Power: 4 |
Quote:
|
||
February 9, 2022, 10:53 |
|
#8 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,764
Rep Power: 66 |
If you're really unsure and want to do things the "right" way then use the u'. Now the issue you will encounter is how the heck do you get u' in practice because you don't know the mean field without running the entire simulation first. Then you have to go back and subtract the mean from u at every spacetime to get u'. This is impossible if you didn't save u at every location at every time. Even if you did save it, you're probably out of hard disk space unless you are working on small calculations like an individual line. Hence, ppl that have experience calculating these spectra will abuse certain similarities of the transforms of u and u'.
If you have a spatially varying mean flow (i.e. anything that isn't a uniform flow) then you have two-point correlations that end up depending on the x-coordinate and spectra with different y-intercepts E(k=0) at each spatial location: i.e. you have E(x,k) instead of E(k) but really the spatial mean flow is described by E(x,k=0) an the energy spectrum at values of k not zero will be proportional to the mean flow at k=0. So yes it change the scales when you plot the spectrum of u and u' side by side, but you can math it back together. And it doesn't affect the shape/slope. I also do not have any experience with the lid-driven cavity problem to tell you what the spectra is supposed to look like. |
|
February 9, 2022, 11:02 |
|
#9 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
But I am not aware of published results about this test problem. |
||
February 9, 2022, 11:28 |
|
#10 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
That's right but if one wants to compute an energy spectra along a direction, the use of the FFT implies that such direction is of homogeneity for the flow, thus there is no possibility for the statistics to depend on the position. On the other hand, if the flow is not homogeneous the periodicity does not apply and the method must be changed. |
||
February 9, 2022, 12:14 |
|
#11 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,764
Rep Power: 66 |
Quote:
I would normally assume that either windowing or periodic extensions are being applied such that the FFT makes sense and the person using it knows what they're doing to interpret such results but since you brought it up... and the person asking the question actually has this specific confusion... yeah you should only try to calculate spectra along homogeneous directions for statistical reasons, otherwise you can confuse the hell out of yourself with the results. This example is actually the reason why it really doesn't matter if you try to calculate energy spectra using u or u'. If they're different beyond the zero-frequency coefficient then you shouldn't have been trying to do it in the first place because you're not doing the proper statistic treatment of the flow along homogeneous directions. |
||
February 15, 2022, 00:11 |
|
#12 | ||
New Member
Michael
Join Date: Jan 2022
Location: Birmingham, UK
Posts: 8
Rep Power: 4 |
Quote:
Quote:
Thanks a lot. For a 2D channel flow, in which the flow is along x direction: (1) x direction is homogeneous since u = u(y). (2) The energy spectra should only be applied to u/u' along x line (1D). Is it correct? |
|||
February 15, 2022, 04:17 |
|
#13 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
But if you have a 2D code that makes no physical meaning, is only an exercise. |
||
Tags |
energy spectra, kolmogrov k -5/3 law |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
help Energy spectrum 2.0 | bhigahAshish | Main CFD Forum | 7 | July 14, 2019 06:20 |
energy spectra from LES simulations | kumar | OpenFOAM Post-Processing | 2 | February 23, 2016 13:25 |
[OpenFOAM] Paraview 3.98 - errors when saving geometry file | pajot | ParaView | 1 | September 28, 2013 11:45 |
Energy spectra | pankajonline2 | Main CFD Forum | 0 | November 9, 2011 17:55 |
Energy dissipation and Drag coefficient | Freeman | Main CFD Forum | 10 | January 27, 2006 08:42 |