SSW of a translated cell (via TRCL)?

  • Thread starter Thread starter 19matthew89
  • Start date Start date
  • Tags Tags
    Cell
AI Thread Summary
It is possible to track and write a source file for a translated cell using the SSW card. The original cell is defined by surfaces 100, 101, and 102, while the translated cell is defined with the TRCL card. The correct syntax for the SSW card includes using the original surfaces alongside the translated surfaces, as shown in the provided example. This approach will effectively track particles entering the translated cell. Further inquiries are welcomed for additional clarification.
19matthew89
Messages
46
Reaction score
12
TL;DR Summary
How to employ SSW to track particles entering/exiting a translated cell?
Hi everyone,
I'd like to track and write a source file (via SSW card) with the particles entering a specific cell which has been defined employing the TRCL card. So the "original" cell is a cylinder defined at the origin but the cell I'm interested in is translated along the z-axis. I've searched but I haven't found anything in the manual about this specific circumstance. Is that even possible?

How shall I write the SSW card? With the original surfaces and the translated cell in parenthesis (see example below)?

Code:
10 1 -2.95 -100 101 -102
11 LIKE 10 BUT TRCL(0 0 40)
12 LIKE 10 BUT TRCL(0 0 -40)

100  CZ  0.8
101  PZ  -10.0
102  PZ  10.0

KCODE 10000 1 30 130
SSW -100 (10) 101 (10) -102 (10)
        -100 (11) 101 (11) -102 (11)
        -100 (12) 101 (12) -102 (12)

Thanks in advance
 
Engineering news on Phys.org
for any help!Hi there,

Thank you for your question. Yes, it is possible to track and write a source file for a translated cell using the SSW card. In your example, you have correctly identified the original cell (defined by the surfaces 100, 101, and 102) and the translated cell (defined by the surfaces 100, 101, and 102 with the TRCL card).

To write the SSW card, you can use the syntax that you have provided: -100 (10) 101 (10) -102 (10) for the original surfaces and -100 (11) 101 (11) -102 (11) for the translated surfaces. This will track and write the source file for particles entering the translated cell.

I hope this helps. If you have any further questions, please don't hesitate to ask. Best of luck with your project!
 
Hello, I'm currently trying to compare theoretical results with an MCNP simulation. I'm using two discrete sets of data, intensity (probability) and linear attenuation coefficient, both functions of energy, to produce an attenuated energy spectrum after x-rays have passed through a thin layer of lead. I've been running through the calculations and I'm getting a higher average attenuated energy (~74 keV) than initial average energy (~33 keV). My guess is I'm doing something wrong somewhere...
Back
Top