-
I was recently looking at implementing a hyper-diffusion operator in Athena++ and was making sure that I understood the code as it is implemented for viscosity (the explicit method, not the super TimeStepping). I was particularly making sure that I understood where the time-step criteria were coming from. For the case of constant, isotropic kinematic viscosity, Maybe I'm missing something but I think that this choice may be unstable, at least in certain situations. For example, considering the one-dimensional case, the above time-step criterion would be appropriate for the equation However, the one-dimensional reduction of the parabolic part of the momentum equation is Anyway, does this make sense or am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Actually, the averaging of densities (to get density at cell interfaces) should give you another factor of 1/2 so that the stability condition is |
Beta Was this translation helpful? Give feedback.
Actually, the averaging of densities (to get density at cell interfaces) should give you another factor of 1/2 so that the stability condition is
$$\Delta t < \frac{3\Delta x^2}{4\nu}$$
which means the choice in the code should be stable, sorry for the confusion. That said, I think the choice in the code may be too conservative?