MCNP volumetric source definition

1 reply · 3K views · last reply
Lujain
Messages
1
Reaction score
0
I am now in the process to define a cubic volumetric source in mcnp code, does anyone have a clear explanation for that.
 
Hi,
Use x, y, z parameters in SDEF. For example for a parallepiped centered in (0, 0, 0) with a dimension (40 cm, 10 cm, 4 cm) :
SDEF X=d1 Y=d2 Z=d3 ...
SI1 -20 20
SP1 0 1
SI2 -5 5
SP2 0 1
SI3 -2 2
SP3 0 1
PSR