FourierFlows.jl icon indicating copy to clipboard operation
FourierFlows.jl copied to clipboard

Limit on `order` in `makefilter` to ensure positivity of the filter in physical space

Open glwagner opened this issue 5 years ago • 2 comments

@kburns suggests it may be so.

https://github.com/FourierFlows/FourierFlows.jl/blob/0802dc331a549d5d59ab8087b39c4ac5bd97196a/src/domains.jl#L343

glwagner avatar Jun 16 '20 01:06 glwagner

This is a wavenumber filter. When you say "physical space" you mean when you take, e.g., ifft(filter)?

Why does the wavenumber filter have to be positive in physical space...? Am I missing something @glwagner?

navidcy avatar Jun 16 '20 11:06 navidcy

OK, I see.. You are making the point that changing the order can make the filter transition from something like a smooth gaussian filter to a "top-hat" filter in wavenumber space. And this would induce ringing artifacts.

navidcy avatar Jun 16 '20 13:06 navidcy