Skip to content

Spatial Discretization is incorrect for FFT application #7

@Ceyron

Description

@Ceyron

In these three small simulation scripts:

the Fast Fourier Transformation (FFT) was used slightly incorrectly. When setting up the spatial mesh, points on both ends of the boundary are included. That introduces noise and aliasing because the domain is no longer its original size, but slightly larger. See also PR #6.

The fix proposed in PR #6 should also work here, but it would require some additional changes to the code in order to make subsequent operations work as well. Most importantly, the interpolation part of the semi-lagrangian advection scheme would require slight rethinking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions