|
[Sponsors] |
August 10, 2006, 20:46 |
Hi All,
In the calcEk funct
|
#1 |
Member
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17 |
Hi All,
In the calcEk function used in DNSFoam, the Ek is calculated as follows: graph calcEk ( const volVectorField& U, const Kmesh& K ) { return kShellIntegration ( fft::forwardTransform ( ReComplexField(U.internalField()), K.nn() ), K ); } In text books, however, I always see something involving spectrum Phi{ij}, which is the Fourier transform of the correlation function R. So we should have R (autocorrelation of u) instead of U inside fft::forwardTransform, something like this: fft::forwardTransform ( ReComplexField(autocorrelation_of_U.internalField( )), K.nn() ), K Is that right? Is there something I am missing? Something that makes both ways of calculating this spectrum equivalent, that I am missing? Best regards, luiz |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FvmSuSpvolVectorField U | sampaio | OpenFOAM Running, Solving & CFD | 1 | July 14, 2006 19:15 |
FvmSuSpvolVectorField U | sampaio | OpenFOAM Running, Solving & CFD | 2 | June 21, 2006 16:04 |