Did Installing ENDFVII Fix the MCNP5 Error in Routine IMCN?

In summary, Jedishrfu thinks that the error you're seeing is caused by a combination of trailing spaces on the input cards and a missing library. He advises attaching the output file to a post so that others can see it and try to find a solution.
  • #1
Limitzone
2
0
TL;DR Summary
i am getting an error which reas as follows :
bad trouble in imcn in routine imcn source particle no error getting memorybly a control character,in coulumn 32
mcnp5
 
Engineering news on Phys.org
  • #2
Have you tried to use google to search on the text of the error message?

mncp5 error: bad trouble in imcn in routine imcn source particle no error getting memorybly a control character,in coulumn 32

Sometimes other folks have had the same issue and you may find a solution.

We also have several threads at PF (shown below on the web page) where posters had similar problems with mncp5.
 
  • #3
@Limitzone
Rename your output file to add .txt to the end, then attach it to a post.
 
  • #4
okey thank you bro
 

Attachments

  • PWR.txt
    3.7 KB · Views: 96
  • #5
While I'm not familiar with MNCP5, I looked through your file and noticed a few non-comment lines that had trailing spaces. There were a few lines with $ comments I think with trailing spaces too but I didn't think they would cause a problem.

See lines 85, 86 below which have an extra space at the end:

Code:
        40091.81c -1.10237E-01
        40092.81c -1.68499E-01

Could trailing spaces on your input cards cause the error you see?

I also saw a few blank lines, at lines 44, 59, 110, and 111. Should they instead be comment lines ie start with a "c"?

Lastly, should line #2 be a comment line eg c234567890123456789012 which I assume you added to locate column 32.
 
  • #6
When I change line 2 to
Code:
c 345678901234567890123456789012
the only thing that stops me running it is that I don't have ENDF VIII installed. When I make the changes to get it to run with the library native to 5, ENDF VI, (I removed .81c from the end of materials, and tin entirely), it just runs fine and gives a keff of 1.28.

Your actual error is strange btw, if it's 100% char for char your error. It looks like two normal MCNP5 errors smashed into one another. Reading the output file may provide more detail. I did ask for that, not the input file btw :) My thoughts now are maybe ENDF VIII is so new it's breaking the old MCNP 5 code. I may try installing ENDF VIII, but it needs a lot of disc space. Long and painful past experience makes me not trust very new libraries with old code. What version of 5 are you using and in what OS? It is also possible it's a linefeed or carriage return code issue which might be OS dependent. I ran with 5.1.60, which was the last release of 5, in linux.

@jedishrfu Just an FYI, the first two blank lines, in this case at 44 and 59, tell MCNP when the cell section and surface section end. Some aspects are quite arcane.
 
  • Like
Likes jedishrfu
  • #7
.81c turns out to be ENDFVII, not VIII and I installed that. All the libraries can just be downloaded from here if anyone wants them.
With only the "c 3" change 5.1.60 is working so my main thought wasn't right.
 

Related to Did Installing ENDFVII Fix the MCNP5 Error in Routine IMCN?

1. What is the ENDFVII library, and why is it relevant to MCNP5?

The ENDFVII library, or Evaluated Nuclear Data File version VII, is a comprehensive collection of nuclear data used for simulations and calculations in nuclear science. It is relevant to MCNP5 because it provides the necessary cross-section data for accurate neutron transport and interaction simulations, which are crucial for the code's performance and accuracy.

2. What is the specific error in routine IMCN that users encounter in MCNP5?

The specific error in routine IMCN that users encounter in MCNP5 typically involves issues with neutron cross-section data processing or inconsistencies in the nuclear data library. This can lead to incorrect simulation results or the inability of the software to complete calculations.

3. Did installing the ENDFVII library resolve the error in routine IMCN for most users?

Yes, installing the ENDFVII library has resolved the error in routine IMCN for most users. The updated and more accurate data in ENDFVII addresses the inconsistencies and data processing issues that were causing the error in MCNP5.

4. Are there any additional steps required after installing ENDFVII to fix the MCNP5 error?

After installing the ENDFVII library, users may need to ensure that their MCNP5 input files and settings are correctly configured to use the new data library. This may involve updating path references and verifying that the correct cross-section data files are being accessed during simulations.

5. What should users do if the error persists even after installing ENDFVII?

If the error persists after installing ENDFVII, users should check for any compatibility issues or errors in their input files. They may also need to consult the MCNP5 documentation or seek assistance from the software's support community to troubleshoot and resolve any remaining issues.

Similar threads

  • Nuclear Engineering
Replies
2
Views
2K
Replies
2
Views
2K
Replies
6
Views
1K
Replies
6
Views
2K
  • Nuclear Engineering
Replies
3
Views
1K
  • Nuclear Engineering
Replies
2
Views
3K
Replies
5
Views
3K
  • Nuclear Engineering
Replies
7
Views
2K
Replies
1
Views
14K
Replies
19
Views
2K
Back
Top