MCNP(Monte Cado N—ParticleCode)是基于Monte—Carlo方法的一个粒子输运计算程序。其输出数据信息量大,难以快速筛选处理有效数据。在分析MCNP输出数据主要内容的基础,设计了MCNP结果数据提取算法,采用VC++与Madab COM混合编程技术,实现了一个MCNP输出数据分析与可视化软件。应用结果表明,该软件满足了MCNP使用人员对MCNP输出数据快速分析与可视化的迫切需求。
MCNP(Monte Carlo N-Particle Transport Code) is a code for analyzing the transport of N-particle by the Monte Carlo method.It's very hard to efficiently extract and process the MCNP output data which have large amount of information.A data extraction algorithm is proposed according to the analyzing of MCNP output data,and the software is realized by combining Matlab COM with VC++ developing platform for evaluating and visualization MCNP output data.Application results of the software show that the keen demand for analyzing and visualization output data from MCNP users is met by this solution.