Page 1 of 1

Bug in PN scattering cross sections and diffusion parameters

PostPosted: Thu Sep 02, 2010 11:41 pm
by Jaakko Leppänen
There is a bug in the calculation of PN scattering cross sections (SCATT0, SCATT1, SCATT2 ... SCATT5) and P1 diffusion parameters (P1_TRANSPXS, P1_DIFFCOEF, P1_MUBAR). The problem has been identified before (see description) and corrected in update 1.1.3 for all the other group constants.

The magnitude of the problem can be estimated by comparing the values of SCATT0 and SCATTXS. They should be the same within statistics, but in many cases there is a clear difference when there are void regions in the geometry. The problem can be avoided by replacing void regions with low-density gas, but this usually results in large statistical errors.

I'll try to fix the problem in update 1.1.14.

Re: Bug in PN scattering cross sections and diffusion parameters

PostPosted: Fri Sep 03, 2010 10:17 am
by Jaakko Leppänen
For a quick fix, add line:

AddStat(RES_FG_SCATTFLX, ng*ngu + i, flx);

after line 892 in collectresults.c: (version 1.1.13)

Re: Bug in PN scattering cross sections and diffusion parameters

PostPosted: Tue Nov 16, 2010 12:05 pm
by Jaakko Leppänen
This problem was fixed in update 1.1.14.