EUR 5212
e
COMMISSION OF THE EUROPEAN COMMUNITIES
MORSE - E
A NEW VERSION OF THE MORSE CODE
ESIS
by
C. PONTI and R. VAN HEUSDEN
1974
LEGAL NOTICE
This document was prepared under the sponsorship of the Commission of the European Communities.
Neither the Commission of the European Communities, its con-tractors nor any person acting on their behalf :
make any warranty or representation, express or implied, with respect to the accuracy, completeness, or usefulness of the information contained in this document, or that the use of any information, apparatus, method or process disclosed in this document may not infringe privately owned rights; or
assume any liability with respect to the use of, or for damages resulting from the use of any information, apparatus, method or process disclosed in this document.
This report is on sale at the addresses listed on cover page 4
at the price of B.Fr. 40.
Commission of the European Communities D.G. XIII - C.I.D.
29, rue Aldringen L u x e m b o u r g December 1974
EUR 5212 e
MORSE — E
A NEW VERSION OF THE MORSE CODE by C. PONTI and R. VAN HEUSDEN
Commission of the European Communities
Joint Nuclear Research Centre — Ispra Establishment (Italy) Luxembourg, December 1974 — 14 Pages — B.Fr. 40.—
This report describes a version of the MORSE code which has been written to facilitate the practical use of this programme. MORSE-Ε is a ready-to-use version that does not require particular programming efforts to adapt the code to the problem to be solved. It treats source volumes of different geometrical shapes.
MORSE-Ε calculates the flux of particles as the sum of the paths travelled within a given volume; the corresponding relative errors are also provided.
EUR 5212 e
MORSE — E
A NEW VERSION OP THE MORSE CODE by C. PONTI and R. VAN HEUSDEN
Commission of the European Communities
Joint Nuclear Research Centre — Ispra Establishment (Italy) Luxembourg, December 1974 — 14 Pages — B.Fr. 40.—
This report describes a version of the MORSE code which has been written to facilitate the practical use of this programme. MORSE-Ε is a ready-to-use version that does not require particular programming efforts to adapt the code to the problem to be solved. It treats source volumes of different geometrical shapes.
MORSE-Ε calculates the flux of particles as the sum of the paths travelled within a given volume; the corresponding relative errors are also provided.
EUR 5212 e
MORSE — E
A NEW VERSION OF THE MORSE CODE by C. PONTI and R. VAN HEUSDEN
Commission of the European Communities
Joint Nuclear Research Centre — Ispra Establishment (Italy) Luxembourg, December 1974 — 14 Pages — B.Fr. 40.—
This report describes a version of the MORSE code which has been written to facilitate the practical use of this programme. MORSE-Ε is a ready-to-use version that does not require particular programming efforts to adapt the code to the problem to be solved. It treats source volumes of different geometrical shapes.
EUR 5212
COMMISSION OF THE EUROPEAN COMMUNITIES
MORSE-E
A NEW VERSION OF THE MORSE CODE
ESIS
by
C. PONTI and R. VAN HEUSDEN
1974
ABSTRACT
This report describes a version of the MORSE code which has been written to facilitate the practical use of this programme. MORSE-Ε is a ready-to-use version that does not require particular programming efforts to adapt the code to the problem to be solved. It treats source volumes of different geometrical shapes.
3
-CONTENT
Page
1. Introduction 3 2 . Source geometry 4 3 . Calculation of the flux 5 4 . Input of MORSE-E 5 5 . Comments on the subroutines which have been added or changed 8
1 . INTRODUCTION
The Monte Carlo code MORSE / 1 / , which has been in use since 1970, is well known. Its flexibility leads to adequate solutions to many p r o b l e m s ; in p a r t i c u l a r its ability to deal with 3D i r r e g u l a r g e o m e t r i e s , with coupled n e u t r o n - g a m m a - r a y p r o b l e m s , with albedo s u r f a c e s , and the application of suitable variance reduction techniques, is very useful in shielding applica tions .
F u r t h e r m o r e the Monte Carlo method offers great accuracy in the d e s c r i p tion of physical phenomena, and is essentially free from n u m e r i c a l e r r o r s . All these qualities should greatly i n c r e a s e the application and the use of Monte Carlo codes within the shielding community.
It a p p e a r s , however, that these codes a r e not widely u s e d . In E u r o p e , in p a r t i c u l a r , only a few people have experience of the Monte Carlo codes available for distribution, and only in three installations has experience of the use of MORSE been developed / 2 / . One of the reasons for the limited use of this code is in the work that one has to do to adapt the code to the
p a r t i c u l a r problem that one needs to s o l v e . R a t h e r than a code in the traditional meaning of the word, MORSE can be considered as a very flexible set of
s u b p r o g r a m s that can be tailored to solve any p a r t i c u l a r shielding p r o b l e m . This work to "tailor" the code is neither trivial nor negligible and r e q u i r e s a detailed knowledge of the code.
The use of the SAMBO package / 3 / may help in doing this work, but does not avoid it, and in general it is r a t h e r expensive in t e r m s of machine t i m e .
The u s e r may choose among several source g e o m e t r i e s d e s c r i b e d in the following section.
MORSE-Ε calculates particle fluxes and reaction r a t e s a v e r a g e d over the volume of the zones requested by the u s e r (see section 3); the corresponding standard deviation is also computed.
2. SOURCE GEOMETRY
MORSE-Ε may consider isotropic s o u r c e s , uniformely d i s t r i b u t e d over a volume. The geometry of the source can be one of the t h r e e following:
a) Parallelepiped b) Sphere
c) Cylinder
In the f i r s t c a s e , the parallelepiped m u s t have its faces p a r a l l e l to the coordinate planes; p a r t i c u l a r cases may be a rectangle (one side is equal z e r o ) , or a segment of a straight line (two sides equal z e r o ) .
The second case includs spherical shells; these a r e defined by the
coordinates of the centre and by the inner and outer radius of the s h e l l . The cylinder m u s t have its axis parallel to one of the coordinate a x e s , x, y or ζ . The m o r e general case is that of a cylindrical shell with inner
radius Ro and outer radius R ; particular c a s e s m a y b e the disk (height equals zero) or annulus .
Care should be taken that the source volume lies entirely within the s y s t e m to be t r e a t e d .
Only one source volume may be specified for each " r u n " (set of b a t c h e s ) ; the case of m o r e than one source volume may be dealt with in one job, containing a number of runs (NQIT in card Β of MORSE input) equal to the number of source v o l u m e s . In this way different s o u r c e s may be t r e a t e d
7
-3 . CALCULATION OF THE FLUX
Fluxes and response functions a r e calculated in those geometrical media that a r e requested in input. E the flux is needed in a certain region of space, this region will receive a particular medium number that will be included in the list of the media for which the flux is wanted. A proper input table is used t o fix the correspondence (through the subroutine GTMED) between the media and the c r o s s - s e c t i o n s to be applied.
The flux, in a given medium and group, is computed as t h e weighted sum of the paths travailed within that medium by the particles belonging to that energy g r o u p . This provides the integral of the flux over the volume filled by that m e d i u m .
The corresponding standard deviation is calculated in the usual way (through the subroutines VARI, VAR2) from the r e s u l t s of s e v e r a l b a t c h e s . The normalization of the r e s u l t s to a given value of the total source (EKONST in input) is also provided.
4 . INPUT OF MOR SE-E
The input of MORSE-Ε is the same as that of MORSE, as described in
appendix C of / 1 ~/, plus the set of cards listed below that have to be entered after the "mixing c a r d s " X F .
In MORSE-Ε we can distinguish between " n o r m a l " media and " s p e c i a l " media; n o r m a l media are those for which a c r o s s - s e c t i o n set is specified, special media a r e the o t h e r s , for which a c r o s s - s e c t i o n set need not be specified, such as internal voids (MED-1000), external voids (MED=0), or albedo media, Normal media should be numbered in o r d e r from 1 to NN1 .
8
A t a b l e of c o r r e s p o n d e n c e b e t w e e n n o r m a l m e d i u m n u m b e r s and c r o s s
-s e c t i o n -s e t -s m u -s t b e -s e t u p for the -s u b r o u t i n e G T M E D .
The a n a l y s i s input d a t a r e a d by s u b r o u t i n e SCOR IN a r e the f o l l o w i n g :
C a r d TA (15)
NT N u m b e r of m e d i a for w h i c h the flux i s r e q u e s t e d
F l u x e s m a y b e c a l c u l a t e d in n o r m a l m e d i a a n d / o r in i n t e r n a l v o i d s .
C a r d TB (15)
NN1 N u m b e r of n o r m a l m e d i a
C a r d TC (1415)
N X T . M e d i u m n u m b e r s for w h i c h the flux is r e q u e s t e d ; ι
NT e n t r i e s
C a r d TD ( 2 1 5 , 2X, I5A4) NN1 c a r d s
M l N u m b e r of n o r m a l m e d i u m
MX1 c o r r e s p o n d i n g n u m b e r of c r o s s - s e c t i o n s e t
L A B E L A l p h a n u m e r i c i n f o r m a t i o n to identify the m e d i u m
One TD c a r d m u s t b e e n t e r e d for e a c h n o r m a l m e d i u m ; the f i r s t w i t h M l = 1,
the o t h e r s in o r d e r up to M l = NN1 .
C a r d T E ( E . 1 0 . 0 )
E K O N S T N o r m a l i z a t i o n f a c t o r
The following input is r e a d in for e a c h new r u n .
The d e s c r i p t i o n of the s o u r c e is r e a d b y s u b r o u t i n e S O U R G E .
C a r d SA (15)
IND = 0 P o i n t s o u r c e (the c o o r d i n a t e s a r e e n t e r e d in c a r d D)
1 P a r a l l e l e p i p e d
2 S p h e r e
' 3 C y l i n d e r
- 9
(IND = 1) C a r d SB ( 6 E 1 0 . 0 )
X l , X2
Y l , Y2 S o u r c e b o u n d a r i e s Z I , Z 2
(IND = 2) C a r d SB ( 3 E 1 0 . 0 )
X I , Y l , Z I C o o r d i n a t e s of t h e c e n t r e of t h e s p h e r e
C a r d SC ( 2 E 1 0 . 0 )
RO I n n e r r a d i u s of t h e s p h e r e
R l O u t e r " " " "
(IND = 3) C a r d SB ( 6 E 1 0 . 0 )
X I , Y l , Z l C o o r d i n a t e s of t h e c e n t r e of the b a s e of the c y l i n d e r
RO I n n e r r a d i u s of the c y l i n d e r
R l O u t e r " " " "
Η H e i g h t of the cylind .r
If IND = 3 c a r d SC i s n e e d e d .
C a r d SC (15)
LAX = 1 c y l i n d e r p a r a l l e l t o Ζ a x i s
= 2 " " II γ I I
= 3 " " " X "
The last part of input is read by subroutine NRUN and provides the calcula
tion of response functions by medium in the following way:
12
R =
Ζ
?
mF
mg=n
g gR = response function in medium m m
_/ m . th . . j7 = flux of g group in medium m
_ . . . , th
F = coefficient for the g group
10
C a r d Z A (15)
NR N u m b e r of r e s p o n s e f u n c t i o n s to b e c o m p u t e d (NR^-0)
NR s e t s of c a r d s ZB and Ζ C a r e e n t e r e d
C a r d ZB (215A4)
I I , 12 c o e f f i c i e n t s a r e g i v e n for g r o u p s II to 12 i n c l u d e d T I T is p r i n t e d a s heading of the r e s p o n s e f u n c t i o n o u t p u t
C a r d Z C ( 7 E 1 0 . 0 )
F v a l u e s for g r o u p s II to 12
Input for the n e x t r u n , if a n y , s t a r t s w i t h c a r d S A .
5 . C O M M E N T S ON THE S U B R O U T I N E S WHICH HAVE B E E N A D D E D OR
CHANGED
M O R S E - Ε u s e s 9 " u s e r r o u t i n e s " a n d 3 new r o u t i n e s . W h a t f o l l o w s a r e s o m e
b r i e f c o m m e n t s .
In M O R S E - Ε the s t o r a g e r e q u i r e d far the b l a n k c o m m o n is i n c r e a s e d by
the a m o u n t
3(NG + 1) N T + 2 · NN1 + NG
NG = n u m b e r of n e u t r o n a n d / o r g a m m a - r a y g r o u p s b e i n g a n a l y s e d
NT and NN1 a r e d e s c r i b e d w i t h c a r d s TA a n d TB in s e c t i o n 4 .
The a m o u n t of b l a n k c o m m o n a c t u a l l y u s e d is p r i n t e d b y the p r o g r a m .
One new l a b e l l e d c o m m o n h a s b e e n i n t r o d u c e d : STAN; it c o n t a i n s 19
- 11
Subroutine B A NKR
The p a r t i c u l a r action of BANKR is that of incrementing by the quantity WTBC · ETATH the flux in a given medium and group each time an event of the type r e a l collision, albedo, boundary c r o s s i n g , or escape occurs in that medium and g r o u p .
Subroutine DIREC
When path length biasing is employed, subroutine DIREC determines the main direction of propagation of p a r t i c l e s ; path stretching will be maximum along this direction.
In MORSE-Ε the main direction is a s s u m e d to be the positive Ζ d i r e c t i o n . If path length biasing is not applied, DIREC is not u s e d .
Subroutine G Τ MED
The correspondence between medium n u m b e r s and c r o s s - s e c t i o n sets is established by this r o u t i n e .
Subroutine SCOR IN
It r e a d s input cards TA to TE inclusive and prints out their content.
Subroutine SOURCE
This subroutine is called for each source particle from MSOUR. The only change introduced is a call to subroutine SOURCE .
Sub r outine_ SOURGE
This is a new subroutine that provides the coordinates Χ, Υ, Ζ of a point drawn out from a u n i f o r m distribution within a given v o l u m e .
12
Subroutine S TR UN
Called from BANKR at the beginning of each new ran it sets to z e r o the a r r a y s that will be incremented, at the end of each batch, with the fluxes and square of the fluxes of that b a t c h .
Subroutine STBTCH
Called from BANKR at the beginning of each batch it sets to z e r o the a r r a y used to accumulate the flux of the b a t c h .
Subroutine NBATCH
At the end of each batch this subroutine is called from BANKR to add the fluxes and square of the fluxes of the batch into the p r o p e r a r r a y s .
Subroutine NRUN
NRUN is called from BANKR at the end of the r u n . It calculates the
fractional standard deviations (via subroutine VAR2) , n o r m a l i z e s the flux by dividing by the total number of p a r t i c l e s in the run, multiplies by the normalization factor EKONS Τ (card TE), prints these r e s u l t s , r e a d s r e s p o n s e function data from cards ZA, ZB and ZC, computes and p r i n t s out the r e s p o n s e s .
- 13
REFERENCES
1. E . A . Straker é t a l .
The Morse Code - A Multigroup Neutron and G a m m a - r a y Monte Carlo T r a n s p o r t Code - ORNL-4585 (1970).
2 . Report on the SECU Pilot Study
to be published in Newsletter No 17 by N E A - C P L
NOTICE TO THE READER
AU scientific and technical reports published by the Commission of the European Communities are announced in the monthly periodical
"euro-abstracts". For subscription (1 year : B.Fr. 1 025,—) or free specimen copies please write to :
Office for Official Publications of the European Communities
Case postale 1003 Luxembourg 1
(Grand-Duchy of Luxembourg)
I To disseminate knowledge is to disseminate prosperity — I mean ! general prosperity and not individual riches — and with prosperity I disappears the greater part of the evil which is our heritage from
i darker times.
SALES OFFICES
The Office for Officiai Publications sells all documents published by the Commission of the European Communities at the addresses listed below, at the price given on cover. When
ordering, specify clearly the exact reference and the title of the document.
UNITED KINGDOM ITALY
H.M. Stationery Office
P.O. Box 569
London SE. 1 —Tel. 01 928 69 77, ext. 365
Librerìa dello Stato
Piazza G. Verdi 10
00198 Roma — Tel. (6) 85 08 CCP 1/2640
BELGIUM
Moniteur belge — Belgisch Staatsblad
Rue de Louvain 40-42 — Leuvenseweg 40-42 1000 Bruxelles — 1000 Brussel - Tel. 512 00 26 CCP 50-80 — Postgiro 50-80
Agency :
Librairie européenne — Europese Boekhandel Rue de la Loi 244 — Wetstraat 244 1040 Bruxelles — 1040 Brussel
DENMARK
JH. Schultz — Boghandel
Møntergade 19
DK 1116 København K — Tel. 14 11 95
NETHERLANDS
Staatsdrukkerij- en uitgeversbedrijf
Christoffel Plantijnstraat
's-Gravenhage — Tel. (070) 81 45 11 Postgiro 42 53 00
UNITED STATES OF AMERICA
European Community Information Service
2100 M Street, N.W. Suite 707
Washington, D.C., 20 037 — Tel. 296 51 31
FRANCE
Service de vente en France des publications des Communautés européennes — Journal officiel
26, rue Desaix — 75 732 Paris - Cedex 15· Tel. (1 ) 306 51 00 — CCP Paris 23-96
SWITZERLAND
Librairie Payot
6, rue Grenus
1211 Genève — Tel. 31 89 50 CCP 12-236 Genève
GERMANY (FR)
Verlag Bundesanzeiger
5 Köln 1 — Postfach 108 006 Tel. (0221) 21 03 48
Telex: Anzeiger Bonn 08 882 595 Postscheckkonto 834 00 Köln
SWEDEN
Librairie CE. Fritze
2, Fredsgatan Stockholm 16
Post Giro 193, Bank Giro 7 3 / 4 0 1 5
GRAND DUCHY OF LUXEMBOURG
Office for Official Publications of the European Communities
Case postale 1003 — Luxembourg Tel. 4 79 41 — C C P 191-90
Compte courant bancaire: BIL 8-109/6003/200
IRELAND
Stationery Office — The Controller
Beggar's Bush Dublin 4 — T e l . 6 54 01
SPAIN
Libreria Mundi-Prensa
Castello 37
Madrid 1 — T e l . 275 51 31
OTHER COUNTRIES
Office for Official Publications of the European Communities
Case postale 1003 — Luxembourg Tel. 4 79 41 — C C P 191-90
Compte courant bancaire: BIL 8 - 1 0 9 / 6 0 0 3 / 2 0 0
OFFICE FOR OFFICIAL PUBLICATIONS OF THE EUROPEAN C O M M U N I T I E S
Case postale 1003 — Luxembourg 6 7 3 4