Ganado wrote: |
---|
can you explain what a diffusion-limited timestep is? |
https://en.wikipedia.org/wiki/Finite_difference_method#Explicit_method
If he has an explicit numerical method for a diffusion-like equation then, for numerical stability, his timestep dt must satisfy
D.(dt)/(dx)
2 < C
where, for Forward Differencing, that constant C would be 1/2, but it might take other values for other schemes like Runge-Kutta. D is diffusivity, dt is timestep, dx is space step. I'm guessing that his k is a wavenumber and that he's Fourier-transforming or something, because k would have to be 1/dx.
He is, unfortunately, using a constant called CFL (Courant-Friedrichs-Lewy: look it up), which I (but not everybody) would usually associate with advection, not diffusion: CFL = u.dt/dx, where u is velocity. That imposes a different, usually more stringent, timestep limit for stability.
If he used an implicit numerical scheme (e.g. Backward Differencing, or, for a diffusion equation, Crank-Nicolson) rather than an explicit one then he is less likely to run into timestep problems.
But only the OP knows.