Replies: 1 comment 1 reply
-
I often use a single XYZ geometry to represent all the (rectilinear) geometry. Not necessarily simpler or more efficient, but the expectation is that it would be more efficient since there is a single geometry. You would have to see for yourself if you find it easier to code and whether or not it is more efficient. You might want to work up from a simple xyz to define a single box, to familiarize yourself with the region indexing in an xyz. For example, a 3x3x3 xyz would contain 27 regions. If you set the middle one to air, you would get a cubical shell! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I need to model the behavior of an x-ray source in an x-ray vault of some geometry. I am starting out by considering this vault to be cubical. Essentially, I have an x-ray source surrounded by air which is then enclosed in a 3 layer wall sandwich of steel-lead-steel, all of which is enveloped by more air. I have constructed a basic model of the geometry using both egs_box and egs_genvelope but I suspect that there is a better way to do it. How would one adjust the attached code for greater computational efficiency / easier implementation?


vault_geometry.egsinp.zip
Beta Was this translation helpful? Give feedback.
All reactions