To submit a request, click below on the link of the version you wish to order. Rules for end-users are available here.
| Program name | Package id | Status | Status date |
|---|---|---|---|
| IAEA2MCNP | NEA-1941/01 | Tested | 29-APR-2026 |
Machines used:
| Package ID | Orig. computer | Test computer |
|---|---|---|
| NEA-1941/01 | Linux-based PC,PC Windows | Gitlab |
The first step to the tools usage is the compilation of the provided programs. Both the source code of the phase space file conversions and the IAEA libraries must be in the same directory. Once the programs have been compiled, the executables need the following arguments to be able to do the conversion:
usage: ./IAEA2MCNP input_filename (without extension) output_filename MCNP6_version and phase space surface number
usage: ./MCNP2IAEA input_filename output file (without extension) MCNP6_version
Where input filename is the name of the file in IAEA or MCNP6 format which will be converted, and output filename is the name of the MCNP6 or IAEA format file which will be obtained, respectively.
Moreover, is necessary to add the argument “1” or “2” (MCNP6_version) depending on whether
the user wants to convert the PSF, for version 1 or 2 of MCNP6. Finally phase space surface number is the number of the surface in which the PSF is recorded. This parameter is need by the MCNP6 code to run the simulation.
The conversion time will depend on the size of the phase space to be converted, so very heavy phase space files will require long conversion times. Use of these converters is restricted to MCNP6 versions 6.1 and 6.2. Other versions may have different structures in phase space files, and their correct conversion is not ensured.
To be able to use these tools, the user must download the libraries of reading and writing offered by the IAEA, which are freely distributed and can be found at its webpage: https://www-nds.iaea.org/phsp/phsp.htmlx (https://www-nds.iaea.org/phsp/software/iaea_phsp_Sept2013.zip).
Keywords: MCNP, Monte Carlo simulation, data conversion, file generation, hybrid codes, input conversion, interfaces, particle transport, phase space, simulation.