CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: huangxianbei
Forum: Main CFD Forum October 31, 2014, 21:14
Replies: 107
Views: 49,945
Posted By huangxianbei
fft will give you the symmetry spectrum about the...

fft will give you the symmetry spectrum about the y axis after fftshift, half that (positive) is ok. The isotropic turbulent flow would have to average over the whole domain, I think a volume average...
Forum: Main CFD Forum October 27, 2014, 23:53
Replies: 107
Views: 49,945
Posted By huangxianbei
Hi, I have sent you the code. The explaination...

Hi,
I have sent you the code. The explaination is not so much for the limited time, hoping this can help you.

Xianbei
Forum: Main CFD Forum October 27, 2014, 20:08
Replies: 107
Views: 49,945
Posted By huangxianbei
Yes, most of my code is in this thread, if you...

Yes, most of my code is in this thread, if you need, I'll send you a .m file with email
Forum: Main CFD Forum October 27, 2014, 20:08
Replies: 107
Views: 49,945
Posted By huangxianbei
Sorry that I just check my thread. Do u still...

Sorry that I just check my thread. Do u still need it?
Forum: Main CFD Forum April 29, 2014, 21:42
Replies: 107
Views: 49,945
Posted By huangxianbei
you can find it in...

you can find it in http://www.cfd-online.com/Forums/main/133816-energy-spectrum-wrong-spectrum-shape.html#post488460
Forum: Main CFD Forum April 26, 2014, 09:00
Replies: 107
Views: 49,945
Posted By huangxianbei
This should be -N/2:N/2-1 for an odd N.

This should be -N/2:N/2-1 for an odd N.
Forum: Main CFD Forum April 21, 2014, 04:56
Replies: 107
Views: 49,945
Posted By huangxianbei
All right, I'll try it. Another question is still...

All right, I'll try it. Another question is still needed to be solved as I have asked:
what's definition formula of k?
2*pi*n/Lz?

Best reguards
Forum: Main CFD Forum April 21, 2014, 04:31
Replies: 107
Views: 49,945
Posted By huangxianbei
yes,because z values are ranged in a periodic...

yes,because z values are ranged in a periodic way(256 values one loop), so 32768 values corresponding to 128 loops, representing the whole value on a plane. Is this resonable?
I'm now confused about...
Forum: Main CFD Forum April 21, 2014, 04:13
Replies: 107
Views: 49,945
Posted By huangxianbei
I managed to match them with this: ...

I managed to match them with this:
E=0.5.*cu.*4*pi.*k.^2;
Again,the result is incorrect:eek:
Forum: Main CFD Forum April 21, 2014, 03:33
Replies: 107
Views: 49,945
Posted By huangxianbei
Hi,Filippo, Thank you for your reply, could you...

Hi,Filippo,
Thank you for your reply, could you please have a look at my previous reply for the code?
Also, I tried another case which only contains 1 line of velocity in z direction.The result is...
Forum: Main CFD Forum April 20, 2014, 22:58
Replies: 107
Views: 49,945
Posted By huangxianbei
Hi,Filippo Sorry for the second reply.I...

Hi,Filippo
Sorry for the second reply.I followed your advice, here is my code in matlab
clear all;
[x y z Ux Uy Uz]=textread('U_constantPlane.raw','%f%f%f%f%f%f','headerlines',2);
N=32768;
...
Forum: Main CFD Forum April 20, 2014, 21:40
Replies: 107
Views: 49,945
Posted By huangxianbei
Hi,Filippo I think the third line should be:...

Hi,Filippo
I think the third line should be: cu(q)=c(q)*conj(c(q))
As known, the velocity spectrum tensor is
phi[i,j](k)=cu(k),the energy spectrum is integrated to
E(k)=1/2*cu(k)*dS(k)
where...
Showing results 1 to 12 of 12

 
Forum Jump

All times are GMT -4. The time now is 11:25.