Published 2022 | Version v1
Book

A programmatic metamodel-driven modeling paradigm for MCNP

  • 1. Rensselaer Polytechnic Institute, 110 8th Street, Troy, NY 12180 (United States)

Description

MCNP is a widely used and well validated Monte Carlo radiation transport code applicable for a plethora of reactor physics problems. Despite being a powerful simulation tool, MCNP provides no programmatic interface through which to automate execution, transform models, or support user-defined logic and abstractions. To address this need, we have developed an intuitive yet full-featured MCNP Application Program Interface (API) in Python, named MCNPY. Moreover, to guarantee our reading, writing, and modeling capabilities remain self-consistent (and to render the huge scope of the MCNP API manageable) we have adopted a strategy of model-driven software development described in previous work. As MCNPY is primarily a Python wrapper around a code-base automatically generated through this strategy, this ensures MCNPY too remains remains consistent with our MCNP (meta)model and maintainable. With MCNPY, users can freely read, write, and modify any syntactically valid MCNP input file regardless of its origin. These capabilities allow users to automate complicated tasks like nonlinear optimization and model translation. As examples, this work demonstrates the use of MCNPY to find the critical radius of a plutonium sphere and to translate a 9,000+ line MCNP input file into a corresponding OpenMC model. (authors)

Availability note (English)

Available (CD Rom) from the American Nuclear Society, 555 North Kensington Avenue, La Grange Park, Illinois 60526 (US)
Part of:
Proceedings of the international conference on physics of reactors - Physor 2022

Additional details

Publishing Information

Publisher
ANS - American Nuclear Society
Imprint Place
La Grange Park (United States)
ISBN
978-0-89448-787-3
Imprint Title
Proceedings of the international conference on physics of reactors - PHYSOR 2022
Imprint Pagination
3701 p.
Journal Page Range
p. 3011-3020

Conference

Title
International conference on physics of reactors
Acronym
PHYSOR 2022
Dates
15-20 May 2022
Place
Pittsburg (United States)

INIS

Country of Publication
United States
Country of Input or Organization
France
INIS RN
54042160
Subject category
S22: GENERAL STUDIES OF NUCLEAR REACTORS;
Resource subtype / Literary indicator
Conference
Descriptors DEI
GRAPHICAL USER INTERFACE; M CODES; MONTE CARLO METHOD; PYTHON
Descriptors DEC
CALCULATION METHODS; COMPUTER CODES; PROGRAMMING LANGUAGES

Optional Information

Notes
19 refs.