arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1901.08890physics.comp-phcond-mat.mtrl-scinucl-exnucl-th
收藏

NCrystal:热中子输运库

NCrystal : a library for thermal neutron transport

Xiao-Xiao Cai, Thomas Kittelmann

摘要:

介绍了一个用于热中子输运模拟的开放源码软件包。该代码有助于基于蒙特卡罗的输运模拟,并在初始版本中侧重于镶嵌单晶以及多晶材料和粉末中的相互作用。相干弹性(布拉格衍射)和非相干或非弹性(声子)散射建模,作为输入的晶体晶胞的基本参数。包括一个经过验证的晶体定义的数据库,独立工具和C++,C和Python编程语言的接口。两个流行的模拟软件包,Geant 4和McStas,提供了接口,使高度逼真的模拟典型组件的中子散射仪器,包括射束过滤器,单色器,分析仪,样品和探测器。所有接口都详细介绍,以及最终用户配置程序,该程序在所有接口中都保持用户友好和一致。概述了相关的中子散射理论,并讨论了该软件的物理建模能力。这里特别关注从各种输入来源加载晶体结构和形状因子的能力,并根据实验数据和现有晶体学软件对结果进行基准测试和验证。良好的协议得到遵守。

英文摘要:

An open source software package for modelling thermal neutron transport is presented. The code facilitates Monte Carlo-based transport simulations and focuses in the initial release on interactions in both mosaic single crystals as well as polycrystalline materials and powders. Both coherent elastic (Bragg diffraction) and incoherent or inelastic (phonon) scattering are modelled, using basic parameters of the crystal unit cell as input. Included is a data library of validated crystal definitions, standalone tools and interfaces for C++, C and Python programming languages. Interfaces for two popular simulation packages, Geant4 and McStas, are provided, enabling highly realistic simulations of typical components at neutron scattering instruments, including beam filters, monochromators, analysers, samples and detectors. All interfaces are presented in detail, along with the end-user configuration procedure which is deliberately kept user-friendly and consistent across all interfaces. An overview of the relevant neutron scattering theory is provided, and the physics modelling capabilities of the software are discussed. Particular attention is given here to the ability to load crystal structures and form factors from various sources of input, and the results are benchmarked and validated against experimental data and existing crystallographic software. Good agreements are observed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑