Help to run input file (MCNPX)

  • Thread starter Thread starter zakaria
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting an MCNPX simulation input file related to internal radiotherapy. Participants are exploring technical issues preventing the simulation from running successfully, with a focus on identifying potential errors in the input file.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses a need for assistance in running an MCNPX simulation input file due to technical limitations on their machine.
  • Another participant questions the nature of these limitations and emphasizes that they typically do not perform tasks for others.
  • The original poster clarifies that they are not seeking someone to do their work but have encountered repeated failures when attempting to run the simulation.
  • A participant inquires about any error messages and the version of MCNP being used.
  • Another participant identifies a potential mistake in the input file, specifically regarding the parameters for cylindrical geometry, suggesting that the current configuration may lead to a fatal error due to zero volume mesh elements.
  • This participant proposes alternative configurations for the input file to avoid the identified issue, noting that the intended mesh divisions may need adjustment.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the specific issues with the input file, and multiple viewpoints regarding the nature of the technical limitations and potential errors remain. The discussion is ongoing and unresolved.

Contextual Notes

There are unresolved questions regarding the exact nature of the input file errors and the specific version of MCNP being used, which may affect the troubleshooting process.

zakaria
Messages
2
Reaction score
0
Hello,

I'm working on an MCNPX simulation related to internal radiotherapy. Unfortunately, I'm currently unable to run the code on my machine due to technical limitations.

If possible, could someone kindly run the input file and share the output or let me know whether the simulation runs successfully?

I'm not asking for result analysis just a quick check to see if my input file is correct and executable.

Thank you very much in advance
 

Attachments

Last edited:
Engineering news on Phys.org
Welcome to PF.

zakaria said:
Unfortunately, I'm currently unable to run the code on my machine due to technical limitations.
What kind of limitations? We don't usually do folks' work for them.
 
berkeman said:
Welcome to PF.


What kind of limitations? We don't usually do folks' work for them.
Thank you very much for your reply.
I am not asking anyone to do my work for me, but I have tried many times to run the simulation myself without success. MCNPX stops immediately when the simulation starts.
 
Does it give any error message? What version of MCNP are you using?
 
  • Like
Likes   Reactions: Alex A
There seems to be at least one mistake in the input file.
Code:
  cora1 0.0 0.023 2.3
  corb1 0 0.25 2.5
  corc1 0 1 90
Is this intended to produce a mesh containing 8 or 90'000 elements (voxels)?

For cylindrical geometry corc is the angle, it has to start with a 0, so this is implied. In MCNP this is really common, energy bins, histogram distributions etc. Putting an extra 0 on this line is asking for mesh elements (voxels) between angle 0 and angle 0, which have zero volume. This triggers a fatal error. That may be a cause of this input file not working. I also don't know if corc is supposed to end with a 360, some implementations of mesh need this.

So "corc1 1 90" would fix that error, but if the intention is 1 division per degree up to 90 degrees, then "corc1 89i 90" would do it and the other lines might also need fixing. i{n} interpolates n values and saves having long lists in the input file, it would be the same as corc1 [0] 1 2 3 4 5 .... 87 88 89 90.
 
  • Informative
Likes   Reactions: berkeman

Similar threads

Replies
0
Views
919
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
1
Views
2K
Replies
5
Views
2K
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 29 ·
Replies
29
Views
3K