Instability when Filling Guard Cells with Inverse FFTs #2035
Labels
bug: affects latest release
Bug also exists in latest release version
bug
Something isn't working
component: spectral
Spectral solvers (PSATD, IGF)
The issue was originally reported by @NeilZaim.
There seem to be problems when we fill the guard cells with inverse FFTs in simulations using the PSATD solver. Here's a 2D input script that reproduces the issue: inputs_2d.txt.
By replacing, on the current
development
branch (4e8eba6),mf_box
withmfi.validbox()
inWarpX/Source/FieldSolver/SpectralSolver/SpectralFieldData.cpp
Line 317 in 0b6ddad
one can see that the instability is fixed by not filling the guard cells with inverse FFTs (see figures below, standard diags and raw data with guard cells).
Additional observations: (i) the issue occurs also without PMLs and (ii) the issue does not occur with periodic boundary conditions.
A possible workaround for now is to make the feature of filling the guard cells with inverse FFTs (i) optional and (ii) OFF by default, unless with moving window and field damping.
The text was updated successfully, but these errors were encountered: