I need help in solving the problem of the code written with MCNPX 2.6

  • Thread starter mo256
  • Start date
In summary, the request seeks assistance in addressing an issue related to code developed using MCNPX 2.6, indicating a need for troubleshooting or clarification regarding its functionality or application.
  • #1
mo256
1
0
Greetings and Regards

I had trouble getting the gamma results (719 KeV) by mcnpx 2.6 in the article below. Please guide me if possible. Thanks
 

Attachments

  • pbft-final.txt
    10.4 KB · Views: 32
  • 32 2014 Application of proton boron fusion reaction to radiation therapy A Monte Carlo.pdf
    1.3 MB · Views: 27
Last edited:
Engineering news on Phys.org
  • #2
Hello @mo256 ,
Welcome to physicsforums.

The HPGe has been sectioned and this does not seem like a good idea. I would edit this out. The description from the paper is even stranger but it certainly seems possible to simulate it. Only an energy spectrum is required from the simulation so this is fine.

Normally I would suggest an F4 tally, but the paper specifies F8. This is a better way of doing it. So add an *Fn8:e tally for the germanium cell and add a set of energy bins for this tally.

If you have any other questions please do ask. I or someone else here may be able to answer.
 
  • #3
Hi,
To calculate a spectrum in Ge, the tally F8 is the right tally.
In the MCNP pack I don't think there is a proton library for B-11, so a model is applied (you can look in your xsdir or your output file). I don't know if this is the problem but you should try installing a p-B11 library to try.
 
  • Informative
Likes Alex A

FAQ: I need help in solving the problem of the code written with MCNPX 2.6

What is MCNPX 2.6 and what is it used for?

MCNPX 2.6 is a general-purpose Monte Carlo radiation transport code used for simulating the interaction of particles with matter. It is widely used in fields such as nuclear engineering, medical physics, radiation protection, and particle physics to model the behavior of neutrons, photons, and electrons in various materials and geometries.

How can I troubleshoot errors in my MCNPX code?

To troubleshoot errors in your MCNPX code, first check the syntax and ensure that all commands are correctly formatted. Refer to the MCNPX user manual for specific command descriptions and examples. Additionally, examine the output files for warnings or error messages that can provide insights into what went wrong. Running a simpler test case can also help isolate the issue.

Where can I find examples of MCNPX input files?

Examples of MCNPX input files can be found in the MCNPX documentation, which often includes sample problems and input files for various applications. Additionally, online forums, research articles, and educational resources may provide example input files. The MCNPX user community is also a valuable resource for sharing examples and best practices.

What resources are available for learning MCNPX?

Resources for learning MCNPX include the official MCNPX user manual, which provides comprehensive guidance on installation, input file structure, and command usage. Online tutorials, webinars, and workshops are also available through universities and research institutions. Joining user groups or forums can facilitate discussions and knowledge sharing among MCNPX users.

How do I optimize my MCNPX simulation for better performance?

To optimize your MCNPX simulation for better performance, consider reducing the number of particles simulated, using variance reduction techniques, and simplifying the geometry where possible. Additionally, adjusting the number of histories and using parallel processing capabilities can significantly improve simulation speed. Profiling your simulation to identify bottlenecks can also help in making targeted optimizations.

Back
Top