[Simulation question]: Problem in Definition of Volumetric Source #42
-
Simulation questionHello. Here is a part of my code modifications: (I am using OpenTOPAS.) Ring Source Geometrys:Ge/RingSource/Type = "TsCylinder" # Define as a cylinder Source Definitions:So/MySource/Type = "Volumetric" s:So/MySource/BeamPositionCutoffShape = "Ellipse" s:So/MySource/BeamAngularDistribution = "Gaussian" # also I tried it with "Uniform" TOPAS-nBio categoryGeometry Code of Conduct
Attestation
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Instead of
But for focusing strictly on the z-axis, then you have to change the code a bit. For that, in line 112 of
Best. |
Beta Was this translation helpful? Give feedback.
-
Dear Dr. Ramos Mendez, |
Beta Was this translation helpful? Give feedback.
Instead of
volumetric
, use TOPAS-nBio'sVolumeOrSurface
see here.But for focusing strictly on the z-axis, then you have to change the code a bit. For that, in line 112 of
TsGeneratorUniformlyRandomAtVolume.cc
set (e.g., all at x=0, y=0 uniformly along z-axis):Best.