Bug in PN scattering cross sections and diffusion parameters

Old bugs, solved problems and other topics that are no longer relevant are moved here

Bug in PN scattering cross sections and diffusion parameters

Postby Jaakko Leppänen » Thu Sep 02, 2010 11:41 pm

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.
- Jaakko
User avatar
Jaakko Leppänen
Site Admin
 
Posts: 1778
Joined: Thu Mar 18, 2010 10:43 pm
Location: Espoo, Finland

Re: Bug in PN scattering cross sections and diffusion parameters

Postby Jaakko Leppänen » Fri Sep 03, 2010 10:17 am

For a quick fix, add line:

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

after line 892 in collectresults.c: (version 1.1.13)
- Jaakko
User avatar
Jaakko Leppänen
Site Admin
 
Posts: 1778
Joined: Thu Mar 18, 2010 10:43 pm
Location: Espoo, Finland

Re: Bug in PN scattering cross sections and diffusion parameters

Postby Jaakko Leppänen » Tue Nov 16, 2010 12:05 pm

This problem was fixed in update 1.1.14.
- Jaakko
User avatar
Jaakko Leppänen
Site Admin
 
Posts: 1778
Joined: Thu Mar 18, 2010 10:43 pm
Location: Espoo, Finland


Return to Old posts

Who is online

Users browsing this forum: No registered users and 2 guests