integral length of turbulence
7 ビュー (過去 30 日間)
古いコメントを表示
Hey guys, I need your help. It is about the integral length of turbulence flow. So we got data from some wind measurement, recorded at 60000Hz. My tutor already told me that we should get something like 0.18 m as result. We got the formula L = 1/*sum(autocorrelation(Data)) I tried to use
L=sum(xcorr(Data)/max(xcorr(Data))); L=L*(1/freq)*meanu/mean(Data.^2);
(I used (1/freq)*mean) to give "L" a unit) I get the correct result of around 0.18 m, but the autocorrelation function is a triangle
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155951/image.png)
So this does not seem to be correct. I tried it also with some other formula which I found around the Internet.
x = [ Data];
x_pad = [x zeros(size(x))];
X = fft(x_pad);
X_psd = abs(X).^2;
r_xx = ifft(X_psd);
r_xxx=r_xx(:,1)
I still get the same result for the integral length, but this time the function is different.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155952/image.png)
So...I am not sure about this one. Maybe it is correct, just the way the function is shown is weird.
I also tried the regular autcorr thing it matlab, which gave me wrong results (or I have simply no clue how to use it correctly) for the length but a good image
sum((autocorr(Data,length(Data)-1))/freq*meanu)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155953/image.png)
I hope that somebody can give me an advice or a hint where the problem is.
2 件のコメント
E. Cheynet
2023 年 4 月 14 日
編集済み: E. Cheynet
2023 年 4 月 14 日
This should help a little: see the documentation in the following Matlab File Exchange submission
There are likely other methods to estimate the integral length scales of turbulence
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!