Accelerating self-gravitating hydrodynamics simulations with adaptive force updates

Author:

Grudić Michael Y1ORCID

Affiliation:

1. CIERA and Department of Physics and Astronomy, Northwestern University, 2145 Sheridan Road, Evanston IL 60208, USA

Abstract

ABSTRACT Many astrophysical hydrodynamics simulations must account for gravity, and evaluating the gravitational field at the positions of all resolution elements can incur significant cost. Typical algorithms update the gravitational field at the position of each resolution element every time the element is updated hydrodynamically, but the actual required update frequencies for hydrodynamics and gravity can be different in general. We show that the gravity calculation in hydrodynamics simulations can be optimized by only updating gravity on a time-scale dictated by the already determined maximum time-step for accurate gravity integration Δtgrav, while staying well within the typical error budget of hydro schemes and gravity solvers. Our implementation in the gizmo code uses the time-scale derived from the tidal tensor $t_{\rm tidal} = \Vert \mathbf {T}\Vert ^{-1/2}$ to determine Δtgrav and the force update frequency in turn, and uses the rate of change of acceleration evaluated by the gravity solver to construct a predictor of the acceleration for use between updates. We test the scheme on standard self-gravitating hydrodynamics test problems, finding solutions very close to the standard scheme while evaluating far fewer gravity forces, optimizing the simulations. We also demonstrate a $\sim 70{{\ \rm per\ cent}}$ speed-up in an example simulation of a giant molecular cloud. In general, this scheme introduces a new tunable parameter for obtaining an optimal compromise between accuracy and computational cost, in conjunction with, e.g. time-step tolerance, numerical resolution, and gravity solver tolerance.

Funder

XSEDE

University of Texas at Austin

Publisher

Oxford University Press (OUP)

Subject

Space and Planetary Science,Astronomy and Astrophysics

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A Self-gravity Module for the PLUTO Code;The Astrophysical Journal Supplement Series;2023-09-01

2. Novel conservative methods for adaptive force softening in collisionless and multispecies N-body simulations;Monthly Notices of the Royal Astronomical Society;2023-08-25

3. The dynamics and outcome of star formation with jets, radiation, winds, and supernovae in concert;Monthly Notices of the Royal Astronomical Society;2022-03-02

4. Less wrong: a more realistic initial condition for simulations of turbulent molecular clouds;Monthly Notices of the Royal Astronomical Society;2021-12-24

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3