含时光电离模拟中的高效光热算法
Efficient Photo-heating Algorithms in Time-dependent Photo-ionization Simulations
摘要:
我们提出了一个扩展的时间相关的光电离代码C $^2$ -射线计算的光加热在一个有效的和准确的方式。在C $^2$ -Ray中,热计算需要相对较小的时间步长以获得准确的结果。我们描述了两种新的方法,以减少与小的时间步长,即自适应时间步长算法和异步进化方法的计算成本。自适应时间步长算法确定下一个计算步骤的最佳时间步长。它使用快速射线跟踪方案来快速定位用于该确定的相关单元,并且仅使用这些单元来计算时间步长。异步进化允许不同的细胞以不同的时间步长进化。在产生输出的时刻,单元的时钟同步。通过仅用这些短时间步长来演化可能需要短时间步长的单元,而不是将它们强加给整个网格,可以大大降低计算的计算成本。我们表明,我们的方法工作良好的几个宇宙学相关的测试问题,并验证我们的结果相比,另一个时间依赖的光电离代码的结果。
英文摘要:
We present an extension to the time-dependent photo-ionization code C$^2$-Ray to calculate photo-heating in an efficient and accurate way. In C$^2$-Ray, the thermal calculation demands relatively small time-steps for accurate results. We describe two novel methods to reduce the computational cost associated with small time-steps, namely, an adaptive time-step algorithm and an asynchronous evolution approach. The adaptive time-step algorithm determines an optimal time-step for the next computational step. It uses a fast ray-tracing scheme to quickly locate the relevant cells for this determination and only use these cells for the calculation of the time-step. Asynchronous evolution allows different cells to evolve with different time-steps. The asynchronized clocks of the cells are synchronized at the times where outputs are produced. By only evolving cells which may require short time-steps with these short time-steps instead of imposing them to the whole grid, the computational cost of the calculation can be substantially reduced. We show that our methods work well for several cosmologically relevant test problems and validate our results by comparing to the results of another time-dependent photo-ionization code.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。