3 files

DynamicMC: An open-source GUI program coupled with MCNP for modelling relative dynamic movement of radioactive source and ORNL phantom in 3-dimensional radiation field

Version 4 2023-03-06, 09:41
Version 3 2022-10-06, 12:50
Version 2 2022-08-17, 08:31
Version 1 2022-08-14, 11:05
posted on 2023-03-06, 09:41 authored by Mehrdad Shahmohammadi BeniMehrdad Shahmohammadi Beni

DynamicMC full source code V2.1.

The present program has the ability to generate ORNL phantom input script for Monte Carlo N-Particle (MCNP) package.

How to run:

1) make clean

2) qmake

3) make

4) make -f makefile.gen

5) make -f makefile.sfml

run using: ./DynamicMC

change material definition to atomic % or weight % using mat. opt. (at% -> for atomic %, wt% for weight %)

****** Bug Fix 0.1 ******


Issue with wt% for neutron transport, number of lines in the generated MCNP code beyond column 80. 

Current status:

Bug has been fixed on 6 March 2023.


at% uses same numerical entries as wt% material def., in the original ORNL phantom developments, similar material definition was used which may not be really accurate as Hydrogen concentration  would be lower. 

We included this only for benchmarking purpose and also to avoid any confusion for users that wish to use their custom material definitions.

We strongly recommend to use wt% when dealing with neutron beams.  


You need to install SFML libraries, GCC compiler package and MCNP package.

Please email me any bugs or issues:

(at) -> @


The present work was supported by the Special Grant for the Development of Virtual Teaching and Learning (VTL) no. 6430120 from the University Grants Committee of Hong Kong and also by the JSPS KAKENHI grant number 21F21103.