MCNP5 vs MCNP6.2 syntax difference

In summary, the conversation discusses a fatal error that occurs when using a tally with a universe definition in it. The error specifically mentions an invalid universe format and it is unclear if it is caused by a syntax issue. The input runs fine on MCNP5 but not on MCNPX. The solution may lie in looking at the format of MCNPX. MCNP6 is a merged version of MCNP5 and MCNPX with added features such as expanded tally and source options, improved plotting, and the ability to calculate keff eigenvalues. The initial production release of MCNP6 contains 16 new features and the syntax may have changed, prompting the need for a complete model to identify the problem.
  • #1
werling3
1
0
TL;DR Summary
input can run on MCNP5 but not on MCNP6
So I am getting a fatal error on a tally that contains a universe definition in it.

f12:n (10<(u=1))
sd12 1.0
e12 0.1 20.0

the error specifically says "fatal error. invalid universe format in f card bin 1 tally 2."
However, this input is able to run on MCNP5 without experiencing a fatal error.
Does anyone know if this is simply a syntax problem & how it could be fixed.

Thanks.
 
Engineering news on Phys.org
  • #2
One may wish to look at the format of MCNPX.

MCNP6 represents the culmination of a multi-year effort to merge the MCNP5® [X-503] and MCNPX® [PEL11] codes into a single product comprising all features of both. For those familiar with previous versions of MCNP, you will discover the code has been expanded to handle a multitude of particles and to include model physics options for energies above the cross-section table range, a material burnup feature, and delayed particle production. Expanded and/or new tally, source, and variance-reduction options are available to the user as well as an improved plotting capability. The capability to calculate keff eigenvalues for fissile systems remains a standard feature. Although MCNP6 is simply and accurately described as the merger of MCNP5 and MCNPX capabilities, the result is much more than the sum of these two computer codes. MCNP6 is the result of five years of effort by the MCNP5 and MCNPX code development teams.

https://rsicc.ornl.gov/codes/ccc/ccc8/ccc-810.html
The initial production release of MCNP6 (v. 1.0) contains 16 new features not previously found in either code. So, syntax may have changed. I'll ask some colleagues.
 
  • Like
Likes Greg Bernhardt
  • #3
Could you possibly post a complete model that shows the problem?
 

1. What is the main difference between MCNP5 and MCNP6.2 syntax?

The main difference between MCNP5 and MCNP6.2 syntax is the introduction of new features and improvements in MCNP6.2. These include new particle types, new tally options, and new physics models.

2. Can MCNP5 input files be used with MCNP6.2?

Yes, MCNP6.2 is backwards compatible with MCNP5 input files. However, some features in MCNP6.2 may not be available when using MCNP5 input files.

3. Are there any changes in the input file format between MCNP5 and MCNP6.2?

Yes, there are some changes in the input file format between MCNP5 and MCNP6.2. These changes include new keywords, new options for existing keywords, and changes in the syntax for some keywords.

4. Is there a learning curve when transitioning from MCNP5 to MCNP6.2?

Yes, there may be a learning curve when transitioning from MCNP5 to MCNP6.2 due to the introduction of new features and changes in the input file format. However, the basic principles and structure of the input file remain the same.

5. Which version of MCNP is recommended for new users?

It is recommended for new users to start with MCNP6.2 as it is the most recent version with the latest features and improvements. However, if working on a project that requires MCNP5, it is still a viable option to use.

Similar threads

  • Nuclear Engineering
Replies
9
Views
3K
  • Nuclear Engineering
Replies
2
Views
2K
Replies
3
Views
2K
  • Nuclear Engineering
Replies
4
Views
2K
  • Nuclear Engineering
Replies
1
Views
2K
Replies
3
Views
6K
  • Programming and Computer Science
Replies
1
Views
2K
  • Programming and Computer Science
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
5K
  • Programming and Computer Science
Replies
1
Views
3K
Back
Top