- #1
HHJo
- 4
- 3
Hello,
I'm new to MCNP deck-building, and I'm trying to acquire an X-ray energy spectrum using MCNP6, on Windows 10 environment. I'm running MCNP6 via MCNPX Visual Editor Version X_24E, and the deck is input using built-in "Input File" tab in MCNPX Visual Editor. My input deck is given below.
***** Start
MCNP 5MeV Spectrum
c ------------------------------
c Cell Cards
c ------------------------------
1 1 -19.25 1 -2 3 -4 5 -6
2 0 -7
3 0 -1 2 -3 4 -5 6 7 -8
c ------------------------------
c Surface Cards
c ------------------------------
c Tungsten target
1 PZ -2.5
2 PZ 2.5
3 PY -0.15
4 PY 0.15
5 PX -2.5
6 PX 2.5
c Detector
7 RCC 0 30 0 0 10 0 5
c World
8 SO 100
c ------------------------------
c Data Cards
c ------------------------------
MODE E P
IMP:E 1 1 1
IMP:P 1 1 1
SDEF POS=0 -18 0 VEC=0 1 0 DIR=1 ERG=5 PAR=E CEL=3
F8:P 2
E8 0 298I 5
M1 74000 1
NPS 100000000
***** End
And I'm getting MCNP FATAL ERROR, which reads as following,
***** Start
bad trouble in imcn in routine imcn
source particle no.
starting random number =
error getting memorybly a control character, in column 3
***** End
I've seen a post that says that "bad trouble in imcn" is usually tangled with spacing error, so I changed "tab spaces" to "space-bar spaces," but the problem is not resolved. I'm not familiar with MCNP, so any kind of advices will be grateful.HwanHui Jo
I'm new to MCNP deck-building, and I'm trying to acquire an X-ray energy spectrum using MCNP6, on Windows 10 environment. I'm running MCNP6 via MCNPX Visual Editor Version X_24E, and the deck is input using built-in "Input File" tab in MCNPX Visual Editor. My input deck is given below.
***** Start
MCNP 5MeV Spectrum
c ------------------------------
c Cell Cards
c ------------------------------
1 1 -19.25 1 -2 3 -4 5 -6
2 0 -7
3 0 -1 2 -3 4 -5 6 7 -8
c ------------------------------
c Surface Cards
c ------------------------------
c Tungsten target
1 PZ -2.5
2 PZ 2.5
3 PY -0.15
4 PY 0.15
5 PX -2.5
6 PX 2.5
c Detector
7 RCC 0 30 0 0 10 0 5
c World
8 SO 100
c ------------------------------
c Data Cards
c ------------------------------
MODE E P
IMP:E 1 1 1
IMP:P 1 1 1
SDEF POS=0 -18 0 VEC=0 1 0 DIR=1 ERG=5 PAR=E CEL=3
F8:P 2
E8 0 298I 5
M1 74000 1
NPS 100000000
***** End
And I'm getting MCNP FATAL ERROR, which reads as following,
***** Start
bad trouble in imcn in routine imcn
source particle no.
starting random number =
error getting memorybly a control character, in column 3
***** End
I've seen a post that says that "bad trouble in imcn" is usually tangled with spacing error, so I changed "tab spaces" to "space-bar spaces," but the problem is not resolved. I'm not familiar with MCNP, so any kind of advices will be grateful.HwanHui Jo