Changes between Version 6 and Version 7 of u/erica/CF_spectra
- Timestamp:
- 01/05/15 16:40:10 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/CF_spectra
v6 v7 26 26 == Power Spectrum == 27 27 28 To get a power spectrum, one takes a fourier transform of the data, and then takes the complex conjugate of the resultant fourier transform. This gives the power in each of the component frequencies of the signal.28 To get a power spectrum, one takes a fourier transform (FT) of the data, and then takes the complex conjugate of the resultant fourier transform. This gives the power in each of the component frequencies of the signal. 29 29 30 30 31 31 == Kinetic Energy == 32 32 33 There seems then to be 2 different ways of computing the power spectrum of the kinetic energy. First, we can take the fourier transform of [[latex($ \sqrt{\rho (v_x + v_y + v_z)^2}$)]] and then square this to get the power spectrum. Or, we can take [[latex($\sqrt{\rho v_x^2}$)]] and then sum up the squares of the various fourier transforms for each dimension. That is, does33 There seems then to be 2 different ways of computing the power spectrum of the kinetic energy. First, we can take the fourier transform of [[latex($ \sqrt{\rho (v_x + v_y + v_z)^2}$)]] and then square this to get the power spectrum. Or, we can take the FT of [[latex($\sqrt{\rho} ~v_x$)]] and then sum up the squares of the various FTs for each dimension. 34 34 35 [[latex($(F(\sqrt{v_x^2 + v_y^2 + v_z^2} ~))^2 = (F(v_x))^2 + (F(v_y))^2 + (F(v_z))^2 ~?$)]]35 That is, since the LHS does not strictly equal the RHS, 36 36 37 Further, which do we want,37 [[latex($(FT(\sqrt{\rho(v_x^2 + v_y^2 + v_z^2)} ~))^2 = (FT(\sqrt{\rho} v_x))^2 + (FT(\sqrt{\rho}v_y))^2 + (FT(\sqrt{\rho}v_z))^2 $)]] 38 38 39 (but their integrals do - by Parsevel's theorem, stating the total power is equal), yet each give power spectra with the correct units for KE, which do you choose?? 39 40 40 [[latex($(F(\sqrt{\rho(v^2)} ~))^2 ~or~ (F(\sqrt{\rho}))^2*(F(v))^2 $)]] 41 It seems to be intuitively you want to save the squaring for after taking the FT, since if you do it before, 'you lose information about direction'. For instance, consider the 1D case of the initial condition of colliding flows. If you square the initial condition, you just get a constant function, peaking about k=0. 41 42 42 as it seems both give the same units.. 43 Further, since, 44 45 [[latex($FT(\sqrt{\rho}v_x ~) ~.DNE.~ FT(\sqrt{\rho})\times FT(v_x) $)]] 46 47 yet, again, each will have the correct units for KE once squared, which is proper? For the case of the initial condition -- what does the LHS and RHS look like? How about the power spectra for the LHS and RHS? What about at some late times when there is lots of structure in the density? 48