Issue |
A&A
Volume 689, September 2024
|
|
---|---|---|
Article Number | A96 | |
Number of page(s) | 17 | |
Section | Numerical methods and codes | |
DOI | https://doi.org/10.1051/0004-6361/202450040 | |
Published online | 06 September 2024 |
Local spherical collapsing box in ATHENA++: Numerical implementation and benchmark tests
1
Univ Lyon, Univ Lyon 1, ENS de Lyon, CNRS, Centre de Recherche Astrophysique de Lyon UMR5574,
69230
Saint-Genis-Laval,
France
e-mail: elliot.lynch@ens-lyon.fr
2
Center for Star and Planet Formation, GLOBE Institute, University of Copenhagen,
Øster Voldgade 5–7,
1350
Copenhagen,
Denmark
e-mail: ziyan.xu@sund.ku.dk
Received:
20
March
2024
Accepted:
23
June
2024
We implement a local model for a spherical collapsing or expanding gas cloud in the ATHENA++ magnetohydrodynamic code. This local model consists of a Cartesian periodic box with time-dependent geometry. We present a series of benchmark test problems, including nonlinear solutions and linear perturbations of the local model, confirming the code’s desired performance. During a spherical collapse, a horizontal shear flow is amplified, corresponding to angular momentum conservation of zonal flows in the global problem; wave speed and the amplitude of sound waves increase in the local frame, due to the reduction in the characteristic length scale of the box, which can lead to an anisotropic effective sound speed in the local box. Our code conserves both mass and momentum-to-machine precision. This numerical implementation of the local model has potential applications to the study of local physics and hydrodynamic instabilities during protostellar collapse, providing a powerful framework for better understanding the earliest stages of star and planet formation.
Key words: hydrodynamics / methods: numerical / stars: formation
© The Authors 2024
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.