mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
neutron balance routine now outputs a relative residual
This commit is contained in:
parent
cb03153e95
commit
c201a71372
1 changed files with 3 additions and 0 deletions
|
|
@ -86,6 +86,9 @@ contains
|
|||
! compute residual
|
||||
res = leakage + interactions - scattering - (ONE/keff)*fission
|
||||
|
||||
! normalize by flux
|
||||
res = res/cmfd%flux(g,i,j,k)
|
||||
|
||||
! write output
|
||||
label = "MESH (" // trim(int4_to_str(i)) // ". " // &
|
||||
& trim(int4_to_str(j)) // ", " // trim(int4_to_str(k)) // &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue