Hi all,
Thanks for the additional input! As an update, we corrected a couple of mistakes on our end and added numerical dissipation in the form of a laplacian (in x and v) to our distribution function evolution equation. Unfortunately, it still seems to eventually crash, even with pretty large (0.01) amplitude dissipation and velocity space boundary conditions set to zero. My concern is that dissipation this large has a pretty substantial effect on the linear properties, which muddies the purpose we have in mind for our work, so even if dissipation this large fixed it that wouldn't be ideal.
We've tweaked the timestep some, that seems to allow it to run a bit longer but eventually the same problem occurs with quantities (f) exploding to NaNs. I'm none too familiar with a good CFL condition for a kinetic description, so I figured as a baseline that (Lx/Nx)/Lv would give a reasonable timestep lower bound, this might be the problem and we'll explore it more but a couple orders of magnitude change in dt hasn't fixed it yet.
I've attached the updated code in case anyone might take a look and see if there's other suggestions to be made. Note that we're now evaluating only fluctuating quantities and have implicit/explicit separation between linear/nonlinear on the LHS/RHS. The assumed equilibrium consists of two shifted maxwellians, and the initial condition provides a harmonic perturbation to one of them.
Thanks again for all the input so far, it is greatly appreciated!
Cheers,
Zach Williams