|
[Sponsors] |
Turbulent Channel 1D Energy Spectra Calculation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2015, 18:13 |
Turbulent Channel 1D Energy Spectra Calculation
|
#1 |
New Member
stran1028
Join Date: Oct 2015
Posts: 1
Rep Power: 0 |
Hello,
I have 2 point correlation data for a turbulent channel case and I'm trying to put together a script to compute the 1D energy spectra from this. To verify my script, I'm using both 2 point correlations from DNS runs done by Moser et al (http://turbulence.ices.utexas.edu/data/MKM/chan395/) and trying to recreate their 1D energy spectra. Based on what I've seen in literature, the 1D energy spectra should just be the FFT of the 2 point correlation function. However when I try to do this in matlab using the fft function, I'm not able to match Moser's spectra. A snippet of my matlab code which calculates this is shown below. This was based on the examples shown for the fft function on the matlab website. yhat=fft(Ruu); tmpEuu= abs(yhat/L); Euu = tmpEuu(1:L/2 + 1); Euu(2:end-1) = Euu(2:end-1); Any help would be greatly appreciated! Thank you! |
|
October 24, 2015, 04:38 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
you should search for similar post wherein this issue was already discussed |
||
Tags |
correlations, energy spectrum, fft, matlab, turbulent channel flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
energy spectra from LES simulations | kumar | OpenFOAM Post-Processing | 2 | February 23, 2016 13:25 |
turbulent kinetic energy and turbulent dissipation rate | D_L | Main CFD Forum | 5 | July 17, 2010 03:35 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
turbulent energy spectra | ulrich bieder | Main CFD Forum | 8 | June 25, 1999 11:27 |
Why FVM for high-Re flows? | Zhong Lei | Main CFD Forum | 23 | May 14, 1999 14:22 |