Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > physics > arXiv:2502.16678

帮助 | 高级搜索

物理学 > 计算物理

arXiv:2502.16678 (physics)
[提交于 2025年2月23日 ]

标题: CardSharp:用于生成MCNP6输入文件的Python库

标题: CardSharp: A python library for generating MCNP6 input decks

Authors:Nikhil Deshmukh, Mital Zalavadia
摘要: 一个用于创建MCNP6输入卡片的Python库被描述。该库支持几何生成,并自动分配表面/面编号、单元编号、变换编号和材料编号,以及MCNP的Universes和FILL功能。还支持矩形和六边形晶格。包含了一个大型材料库。也提供了对常见源和计数器的良好选择的支持。库中当前不支持的卡片或功能也可以作为原始字符串插入到输出流中。将Python特性如描述性命名的变量、函数和for循环与库函数结合,提供了一种直观且参数化的方式来创建、修改和维护复杂的几何结构和模拟模型。生成的卡片也有人类可读的注释,这使得它易于阅读并与Python源代码相关联。还提供了一些运行MCNP、读取计数器和绘图的支持。
摘要: A python library for the creation of MCNP6 input decks is described. The library supports geometry generation with automatic assignment of surface/facet numbers, cell numbers, transform numbers and material numbers along with MCNP Universes and FILL feature. Rectangular and Hexagonal Lattices are also supported. A large material library is included. Support for a good selection of common sources and tallies is also provided. Cards or features which are currently not supported in the library can also be inserted as raw strings into the output stream. Combining Python features like descriptively named variables, functions and for loops with library functions provides an intuitive and parametric way to create, modify and maintain complicated geometries and simulation models. The generated card deck also has human readable comments which makes it easy to read and relate back to the python source. Some support for running MCNP, reading tallies and plotting is also provided.
评论: 12页,3图
主题: 计算物理 (physics.comp-ph)
引用方式: arXiv:2502.16678 [physics.comp-ph]
  (或者 arXiv:2502.16678v1 [physics.comp-ph] 对于此版本)
  https://doi.org/10.48550/arXiv.2502.16678
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Nikhil Deshmukh [查看电子邮件]
[v1] 星期日, 2025 年 2 月 23 日 18:44:10 UTC (372 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • 其他格式
查看许可
当前浏览上下文:
physics.comp-ph
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-02
切换浏览方式为:
physics

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号