Best Point Gamma Source in MCNP simulation?

Click For Summary

Discussion Overview

The discussion centers around optimizing the simulation of a point isotropic gamma source in MCNP, particularly focusing on increasing the number of particle histories reaching a tally region, such as a detector placed at a specific distance. Participants explore different source configurations, including cone and parallel beams, and their implications for modeling efficiency and accuracy.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests converting the isotropic point source to a cone source to increase the number of particle histories reaching the tally region.
  • Another participant explains the inverse square law for radiation and mentions that a cone-shaped beam or a parallel beam could be effective, while also raising concerns about background flux affecting results.
  • A participant expresses a desire to model the problem more efficiently to reduce statistical error by increasing the number of particles in the region of interest.
  • Several participants agree that reducing the distance between the source and detector could improve results, but one notes that the experimental setup may necessitate maintaining a 30 cm distance.
  • A later reply introduces two options for simulating the point source: restricting the source to a cone or biasing the source in the direction of the cone, explaining the differences in tally results between the two methods.
  • The author of a Python library for generating MCNP input decks offers a tool that simplifies the process of implementing these source configurations.

Areas of Agreement / Disagreement

Participants generally agree on the potential benefits of changing the source configuration to improve simulation efficiency, but there is no consensus on the best approach or the implications of maintaining a specific distance in experimental setups.

Contextual Notes

Participants discuss the efficiency of different modeling approaches without resolving the mathematical implications of the changes proposed. The conversation reflects varying assumptions about the experimental setup and the desired outcomes of the simulations.

Salman Khan
Messages
35
Reaction score
2
TL;DR
Point gamma source in mcnp
When I simulate a point isotropic gamma source in mcnp usually number of particle histories to the tally region (let say a detector placed at 30 cm from point source) is much low (few hundreds only) as compared to actually particle histories (1.0E7), Will it be correct if convert isotropic point source to a cone source so that I can increase number of particle histories towards tally region?.
Thanks every one in advance
 
Engineering news on Phys.org
This is 1/r^2 for radiation, and you will get a flux of around 885 per square cm per 1e7 source particles. (Think surface of a sphere).

A cone shaped beam can work, a parallel beam could also work, set a VEC and DIR=1. The Compton scattering would still be modeled well but it might be worth checking if the background from the rest of the flux affects your result. Can you change what you are modeling to be more efficient or are you replicating a real experiment that has already been done?
 
Alex A said:
This is 1/r^2 for radiation, and you will get a flux of around 885 per square cm per 1e7 source particles. (Think surface of a sphere).

A cone shaped beam can work, a parallel beam could also work, set a VEC and DIR=1. The Compton scattering would still be modeled well but it might be worth checking if the background from the rest of the flux affects your result. Can you change what you are modeling to be more efficient or are you replicating a real experiment that has already been done?
I just want to model my problem more efficiently by entering more possible particles to the tally region to reduce statistical error. As we know mcnp gives answer per particle that is why I want to enter more particle to the region of interest so that I can get more accurate result. M I right ?.if not please suggest thanks
 
Yes, you are right.

But why 30cm? Why not closer?
 
  • Like
Likes   Reactions: Salman Khan
Alex A said:
Yes, you are right.

But why 30cm? Why not closer?
Yes you are right I can decrease distance to further improve results. But what will I do if distance of source and detector is 30 cm in an experimental setup, here the only choice seem to me is to convert point isotropic source to a conical source.
 
I am late in answering this question, but maybe it will help somebody else.

There are two options when you are simulating a situation like this with a point source.
You can "restrict" the source to a cone or you can "bias" the source in the direction of the cone.

The difference between the two cases is that in the restrict case, the tally, which can be per emitted photon, will be different from the isotropic case by some factor depending upon how small the solid angle of the cone is compared to the isotropic source.

In the biasing case, you will still get the run time efficiency of the restrict case, but the tally will still be as if you were simulating an isotropic case.

I am the author of a Python library for generating MCNP input decks which can make this very simple.
https://github.com/pnnl/CardSharpForMCNP
Look for a function called: "insertSource_PointWithAngularAndEnergyDistrib"
In particular look for the parameter "dirDistrib" which can take one of three options: None, Bias, Restrict.

Hope that helps!
 
  • Like
Likes   Reactions: Salman Khan and berkeman

Similar threads

Replies
1
Views
255
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 15 ·
Replies
15
Views
5K
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
7
Views
4K
Replies
1
Views
3K
Replies
2
Views
3K