-
Hi, I'm pretty new to the world of EGSnrc. For our upcoming xray project we want to run simulations in order to design our radiation protection. I've started implementing our machine in the egs world which so far has worked pretty well. However, when it comes to simulating the radiation, the calculated values seem way to low. I've tried to fix this but so far I was not able to. So hopefully someone here can help me. I'm currently using an implementation which is based on the egs_chamber example. I've stumpled across the BEAMnrc package which seems to be better for xray but is not as user friendly as the egs_chamber stuff. Can I do my simulations with the egs_chamber or do I have to switch to BEAMnrc? Our xray source can handle up to 70 kV so that's the maximum which I have to simulate. Currently I'm using our measured spectrum of the xray source as the radiation source in egsnrc. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 29 replies
-
Either egs_chamber or BEAMnrc can be used for this, and both have some advantages or disadvantages. Since you're already working with egs_chamber, you might as well stay there. They use the same transport physics and data! Can you provide some numbers - how do the experimental numbers compare? Note that MC simulations are best used for relative comparisons, and all results are reported "per source fluence" or "per initial particle". Calculating absolute dose with simulations is generally not as reliable, since in the real world you don't know exactly how many source particles there were. |
Beta Was this translation helpful? Give feedback.
-
Good to hear that egs_chamber also works.
These are the results for a lead plate I've placed approximately 5cm below the radiation source. For our understanding the dose area product is really small. |
Beta Was this translation helpful? Give feedback.
-
@bdnkth, the expected dose result would be on the order of the energy deposited in the lead by a single representative source photon, divided by the mass of the lead plate (in Joule/kg). Here your results show that the energy deposited on average is |
Beta Was this translation helpful? Give feedback.
-
The lead plate is defined as box size = 64.7 45.7 1 and the source is above the plate in z-dimension. That the deposited energy is from a single source photon explains why I was expecting a higher dosis. I'm currently using a pencil_beam source, I'll try with something different. I've attached the used spectrum |
Beta Was this translation helpful? Give feedback.
-
Okay, that makes sense. Since the deposited energy is per photon, is there a way to calculate the number of particles hitting the plate? I guess there is, probably I can't see the forest for the trees |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I'm still struggling to find out the number of photons hitting my object |
Beta Was this translation helpful? Give feedback.
-
@bdnkth here is a better way to contruct your geometry, without unions. The idea is to build the shield, the conveyor, and the radiation box, and then "glue" them together as three layers along z using a CD geometry (there is a sligh complication because the radiation box has to "punch" through the conveyor):
Here is a snapshot (with energy set to 300 keV to get some tracks, and cavity regions set to |
Beta Was this translation helpful? Give feedback.
-
Tank you for that lenthly response. I think I'll need some time to process all that information. Originally I've started with the xyzgeometries but I've struggled with their syntax and switched to the boxes since they are really straight forward to work with. Can you check if this file connected all your code in the right way? Since I do not get the same result as you |
Beta Was this translation helpful? Give feedback.
@bdnkth here is a better way to contruct your geometry, without unions. The idea is to build the shield, the conveyor, and the radiation box, and then "glue" them together as three layers along z using a CD geometry (there is a sligh complication because the radiation box has to "punch" through the conveyor):