跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

天体物理学 > 天体物理仪器与方法

arXiv:2611.31162 (astro-ph)
[提交于 2026年11月23日]

标题:Shaderous: A Browser-based Hydrodynamics Code for Physics Research and Teaching

作者:James Guillochon
查看论文《Shaderous: A Browser-based Hydrodynamics Code for Physics Research and Teaching》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Shaderous is a three-dimensional code for compressible gas dynamics and magnetohydrodynamics that runs in WebGPU compute shaders in a web browser on any vendor's GPU. It combines an unsplit MUSCL-Hancock scheme and HLLC fluxes with a multigrid Poisson solver, block-structured adaptive mesh refinement with per-block timesteps, constrained transport with HLLD fluxes, point masses with sinks, gray radiation transport with the M1 closure, implicit pressure for low Mach numbers, tabulated equations of state from degenerate electrons to rock and iron, cooling, viscosity, conduction, resistivity, mixtures of gases, and nuclear burning by a neural network trained on a 13-isotope reaction network. A setup is shared as a link and runs on a student's own laptop or phone, so the code suits teaching at every level. A run is limited to one GPU: the largest adaptive mesh so far held about 175 million cells on an NVIDIA H200. It therefore suits parameter studies, run as sweeps from the command line, rather than the largest single simulations. Three aspects of the design are, as far as we can find, new. First, the hydrodynamic solver stores no face flux. The two cells that share a face compute bit-identical fluxes, so cells at boundaries between levels and between timesteps recompute their neighbors' fluxes instead of keeping a flux register. Mass, momentum and energy are conserved to round-off on the adaptive mesh, and compensated sums keep the divergence of the magnetic field at round-off. Second, the whole step runs on the GPU: the timestep and the assignment of blocks to time bins are reduced there, and ghost cells are computed as they are loaded rather than exchanged. Third, the code computes in single precision yet reproduces a range of astrophysical systems accurately, from stars and atmospheres in hydrostatic balance to shocks, gravitational collapse and magnetized flows, in 206 validation tests.
评论: 54 pages, 13 figures, 12 tables. No journal submission plans at this time
主题: 天体物理仪器与方法 (astro-ph.IM); 物理教育 (physics.ed-ph)
引用方式: arXiv:2611.31162 [astro-ph.IM]
  (或者 arXiv:2611.31162v1 [astro-ph.IM] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.31162

提交历史

来自:James Guillochon
[v1] 2026年11月23日 星期一 18:24:25 UTC (6,662 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

astro-ph.IM
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
astro-ph
physics.ed-ph

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站