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

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

计算机科学 > 数学软件

arXiv:2211.02435 (cs)
[提交于 2023年8月15日]

标题:Advanced Automatic Code Generation for Multiple Relaxation-Time Lattice Boltzmann Methods

作者:Frederik Hennig, Markus Holzer, Ulrich Rüde
查看论文《Advanced Automatic Code Generation for Multiple Relaxation-Time Lattice Boltzmann Methods》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The scientific code generation package lbmpy supports the automated design and the efficient implementation of lattice Boltzmann methods (LBMs) through metaprogramming. It is based on a new, concise calculus for describing multiple relaxation-time LBMs, including techniques that enable the numerically advantageous subtraction of the constant background component from the populations. These techniques are generalized to a wide range of collision spaces and equilibrium distributions. The article contains an overview of lbmpy's front-end and its code generation pipeline, which implements the new LBM calculus by means of symbolic formula manipulation tools and object-oriented programming. The generated codes have only a minimal number of arithmetic operations. Their automatic derivation rests on two novel Chimera transforms that have been specifically developed for efficiently computing raw and central moments. Information contained in the symbolic representation of the methods is further exploited in a customized sequence of algebraic simplifications, further reducing computational cost. When combined, these algebraic transformations lead to concise and compact numerical kernels. Specifically, with these optimizations, the advanced central moment- and cumulant-based methods can be realized with only little additional cost as when compared with the simple BGK method. The effectiveness and flexibility of the new lbmpy code generation system is demonstrated in simulating Taylor-Green vortex decay and the automatic derivation of an LBM algorithm to solve the shallow water equations.
评论: 23 pages, 6 figures
主题: 数学软件 (cs.MS); 计算工程、金融与科学 (cs.CE); 数值分析 (cs.NA); 数值分析 (math.NA); 计算物理 (physics.comp-ph)
引用方式: arXiv:2211.02435 [cs.MS]
  (或者 arXiv:2211.02435v1 [cs.MS] 对于此版本)
  https://doi.org/10.48550/arXiv.2211.02435
相关 DOI: https://doi.org/10.1137/22M1531348

提交历史

来自:Frederik Hennig
[v1] 2023年8月15日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.MS
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-08
切换浏览方式为:
cs
cs.CE
cs.NA
math.NA
physics.comp-ph

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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