@@ -58,26 +58,26 @@ beyond what our grid can resolve anyway. In FourierFlows.jl, the former dealiasi
5858implemented.
5959
6060!!! info "De-aliasing scheme"
61- FourierFlows.jl curently implements dealiasing by zeroing out the top -` aliased_fraction `
61+ FourierFlows.jl curently implements dealiasing by zeroing out the highest -` aliased_fraction `
6262 wavenumber components on a ` grid ` .
6363
6464The number of wavenumber components that we need to zero-out to be sure the no aliasing errors
6565infiltrate our solution depends on the order of the nonlinearities. For example, for quadratic
66- nonlinearities, one expects that we need to discard the top -1/2 of the wavenumber components.
66+ nonlinearities, one expects that we need to discard the highest -1/2 of the wavenumber components.
6767This way, when computing the product of two fields we won't have anything that projects onto
6868harmonics with wavenumbers beyond those that our grid is able to resolve and, therefore, no
6969aliasing errors.
7070
7171The above-mentioned 1/2-rule for dealiasing for quadratic nonlinearities is, however, not the
7272most efficient. Orszag (1972) pointed out that for quadratic nonlirearities, simply only discarding
73- the top -1/3 of wavenumber components is enough to save us from aliasing errors. To be fair,
73+ the highest -1/3 of wavenumber components is enough to save us from aliasing errors. To be fair,
7474with Orszag's so-called 2/3-rule for dealiasing, still some aliasing errors occur, but those
7575errors only occur to the higher-1/3 wavenumber components that will be zero-ed out next time
7676we dealias our solution anyway.
7777
7878When constructing a ` grid ` we can specify the ` aliased_fraction ` parameter. By default, this is
7979set to `` 1/3 `` , appropriate for quadratic nonlinearities. Then ` dealias!(fh, grid) ` will zero-out
80- the top -` aliased_fraction ` wavenumber components of ` fh ` .
80+ the highest -` aliased_fraction ` wavenumber components of ` fh ` .
8181
8282If we construct a grid with ` aliased_fraction=0 ` , e.g.,
8383
0 commit comments