Replies: 3 comments 9 replies
-
|
So what we compute there is what's documented in the Are you saying that this is not true? Or are you suggesting we could compute another, alternative, spectrum-related quantity? |
Beta Was this translation helpful? Give feedback.
-
|
In addition to the initial comment, I found strange behavior of the function
I expected to see a very narrow peak at @navidcy Is this the correct behavior of the function that you would expect? Source code to reproduce example: |
Beta Was this translation helpful? Give feedback.
-
|
(Also we are happy to do that if you prefer.) |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
In an example the radial energy spectrum is calculated via (line 184):
E = @. 0.5 * (vars.u^2 + vars.v^2)Eh = rfft(E)kr, Ehr = FourierFlows.radialspectrum(Eh, grid, refinement=1)Usually another quantity is called the energy spectrum -- the sum of the squares of the Fourier harmonics of the velocity fields should be taken. It can be also expressed as
@. Eh = 0.5 * grid.invKrsq * abs2(prob.sol)I suggest correcting the example.
Beta Was this translation helpful? Give feedback.
All reactions