CardSharp: A python library for generating MCNP6 input decks
Nikhil Deshmukh, Mital Zalavadia

TL;DR
CardSharp is a Python library that simplifies the creation and management of MCNP6 input decks, supporting complex geometries, materials, sources, tallies, and providing user-friendly features for nuclear simulation modeling.
Contribution
It introduces a comprehensive Python library that automates and streamlines the generation of MCNP6 input decks with advanced features and user-friendly design.
Findings
Supports geometry, materials, sources, and tallies creation
Includes human-readable comments in generated decks
Provides tools for running MCNP and visualizing results
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEmbedded Systems Design Techniques · Parallel Computing and Optimization Techniques
