Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove wavespeed correction in radiation flux (#582)
### Description The wavespeed adjustment, $S = c \sqrt{f/\tau}$, in the HLL flux of radiation energy (e.g. [Jiang+2013](https://ui.adsabs.harvard.edu/abs/2013ApJ...767..148J/abstract), [Skinner+2019](https://ui.adsabs.harvard.edu/abs/2019ApJS..241....7S/abstract)) is not necessary any more since we implemented the IMEX PD-ARS scheme. All previous tests passed after this change. Two of the tests get slightly worse results but still within the error tolerance. The fact that it passed all the tests seems to suggest that this correction at diffusion limit is no longer required. In fact, I have shown in the IMEX paper that, at diffusion limit, the wavespeed is roughly $c \sqrt{f/\tau}$. Our numerical scheme gives the following discretization: $$ \frac{\partial}{\partial t} E = \frac{\cal C}{3 \cal L} \frac{\partial^2}{\partial x^2} \frac{E}{3} $$ which is a diffusion equation with the correct diffusion coefficient. The diffusion speed in time interval $t$ is approximated $$ C_{\rm eff} \equiv \frac{\sqrt{D t}}{t} = \sqrt{\frac{\cal C}{3 {\cal L} t}} $$ In dimensional terms, $$ C_{\rm eff,\ with \ dim} = \frac{c}{\sqrt{3}} \frac{1}{\sqrt{{\rm CFL} ~\tau_{\rm cell}}} $$ The $1/\tau$ correction is a natural result of the IMEX scheme. A side note: it might be possible to remove the 0.1 c floor of the wavespeeds S_L and S_R while not causing any issues. Simply removing it causes S_L = S_R = 0 and F = NAN in the 3D RadForce test *only*. I'll take a second look at this in a future PR. ### Related issues Odd-even instability #541 ### Checklist _Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an `x` inside the square brackets `[ ]` in the Markdown source below:_ - [x] I have added a description (see above). - [x] I have added a link to any related issues see (see above). - [x] I have read the [Contributing Guide](https://github.com/quokka-astro/quokka/blob/development/CONTRIBUTING.md). - [x] I have added tests for any new physics that this PR adds to the code. - [x] I have tested this PR on my local computer and all tests pass. - [x] I have manually triggered the GPU tests with the magic comment `/azp run`. - [x] I have requested a reviewer for this PR. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information