pin power map

Questions and discussion about applications, input, output and general user topics
Post Reply
drvcj
Posts: 16
Joined: Fri Jan 24, 2014 8:40 am
Security question 1: No
Security question 2: 92
Location: North Carolina, US

pin power map

Post by drvcj » Mon Jan 27, 2014 11:37 pm

I used command "set cpd 2" to generate both assembly and pin power in Serpent 2. The assembly power looks normal, but all the pin index starts from 2 instead of 1. I assume the ordering starts from the corner pin, which is a fuel pin so power value should be available there. But the strange thing is the total number of fuel pins in one fuel assembly is correct, which means I must misunderstand the ordering used in Serpent. Could someone clarify that for me? Thanks very much.

PS, the output of pin power looks like this:

lvl1 = [
8 2 8.99883E-16 0.00659 % p
8 3 9.34291E-16 0.00644 % p
8 4 1.02163E-15 0.00633 % p
8 5 1.11585E-15 0.00588 % p
8 6 1.22096E-15 0.00554 % p
8 7 1.31213E-15 0.00535 % p
...
8 286 2.56508E-15 0.00342 % p
8 287 2.63593E-15 0.00336 % p
8 288 2.68192E-15 0.00341 % p
8 289 2.68794E-15 0.00333 % p

drvcj
Posts: 16
Joined: Fri Jan 24, 2014 8:40 am
Security question 1: No
Security question 2: 92
Location: North Carolina, US

Re: pin power map

Post by drvcj » Wed Jan 29, 2014 1:18 am

The problem I reported in the previous post seems only existing in Serpent 2. Serpent 1 prints the pin power map correctly.

Tian
Posts: 18
Joined: Mon Mar 10, 2014 1:19 pm
Security question 1: No
Security question 2: 92

Re: pin power map

Post by Tian » Wed Sep 16, 2015 6:38 pm

Hello,

I have come across the same problem, have you find an answer for this? The case is, if I use same assembly in the array, the result is alright, however, if there were more than one array, the pin with index 1 will miss in some assembles. Does anybody came cross this before?

Thanks!

User avatar
Jaakko Leppänen
Site Admin
Posts: 2387
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: pin power map

Post by Jaakko Leppänen » Thu Sep 17, 2015 10:02 am

Only non-zero values are printed. Do you still get reasonable distribution if you read the data into a matrix according to the indexes?
- Jaakko

Tian
Posts: 18
Joined: Mon Mar 10, 2014 1:19 pm
Security question 1: No
Security question 2: 92

Re: pin power map

Post by Tian » Thu Sep 17, 2015 10:50 am

Hi,

Not really, as one pin is missing, I have only got 263 pins' power in a LWR lattice, here I attached the input and output, could you help me to check the reason?

Thank you very much.
Attachments
quacore4.txt.zip
(30.42 KiB) Downloaded 444 times

User avatar
Jaakko Leppänen
Site Admin
Posts: 2387
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: pin power map

Post by Jaakko Leppänen » Fri Sep 18, 2015 4:52 pm

I found the problem... There is an if-statement that ignores the scores in the first lattice cell. To fix it, change line 58 of scorecpd.c from:

Code: Select all

     if ((n0 = (long)TestValuePair(lat + LAT_COL_COUNT, ncol, id)) > 0)
to:

Code: Select all

     if ((n0 = (long)TestValuePair(lat + LAT_COL_COUNT, ncol, id)) > -1)
and line 81 from :

Code: Select all

     if ((n1 = (long)TestValuePair(lat + LAT_COL_COUNT, ncol, id)) > 0)
to:

Code: Select all

     if ((n1 = (long)TestValuePair(lat + LAT_COL_COUNT, ncol, id)) > -1)
- Jaakko

Post Reply