[mcstas-users] PowderN nesting issue
Peter Kjær Willendrup
pkwi at fysik.dtu.dk
Fri May 22 08:22:28 CEST 2015
Dear Tom,
Assuming that the component “shells” geometrically fit inside each other, what you write starts to look OK, however:
a) The innermost solid cylinder of material E should have concentric=0
b) You should have copies of D, C, B and A in the opposite order of the “incoming” side, all with concentric=0, that is
COMPONENT A = PowderN (…, concentric=1);
COMPONENT B = PowderN (…, concentric=1);
COMPONENT C = PowderN (…, concentric=1);
COMPONENT D = PowderN (…, concentric=1);
COMPONENT E = PowderN (…, concentric=0);
COMPONENT D2 = COPY(D)(…, concentric=0);
COMPONENT C2 = COPY(C)(…, concentric=0);
COMPONENT B2 = COPY(B)(…, concentric=0);
COMPONENT A2 = COPY(A)(…, concentric=0);
Further, to ensure that you have statistics to scatter on the inner “shells”, p_transmit needs to be "sufficiently high” - you will have to experiement a little there…
Note that I am currently on a 3 month paternity leave, so you will have to get further input from others… :-)
Best,
Peter
On 20 May 2015, at 10:31 , 陈彦舟 <wokaoyan1981 at 126.com<mailto:wokaoyan1981 at 126.com>> wrote:
Hi all,
There are five materials A, B, C, D and E to be nested together. A, B, C and D are hollow cylinders while E is solid cylinder inside. To model the combination, I write the following simulation code.
COMPONENT A = PowderN (…, concentric=1);
COMPONENT B = PowderN (…, concentric=1);
COMPONENT C = PowderN (…, concentric=1);
COMPONENT D = PowderN (…, concentric=1);
COMPONENT E = PowderN (…, concentric=1);
COMPONENT A2=COPY(A) (concentric=0);
Is the code correct? If not, would you please point out?
Best wishes,
Tom.
_______________________________________________
mcstas-users mailing list
mcstas-users at mcstas.org<mailto:mcstas-users at mcstas.org>
http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20150522/0fc612f3/attachment.html>
More information about the mcstas-users
mailing list