Skip to content

Commit

Permalink
Added test 47 for checking GENDF file changes and consistency with ER…
Browse files Browse the repository at this point in the history
…RORR
  • Loading branch information
whaeck committed Jan 25, 2019
1 parent 4387cd8 commit 2b9c15b
Show file tree
Hide file tree
Showing 12 changed files with 19,070 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/testDescription.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,28 @@ title: NJOY2016 Test Descriptions

The tests cover all possible combinations of the competition flags (no competition, only inelastic competition, only absorption competition and both) for each possible value of the LSSF flag (0 or 1). These tests are related to test 31.

## Test Problem 43-44

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/43/input)]
[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/44/input)]

Tests 43 and 44 were added to test an issue encountered when using `BROADR`. A high value of thnmax close to the upper energy value of the energy range lead to `BROADR` crashing. This appeared to happen when the actual temperature was zero (in that case, broadr will only thin the cross sections) and non zero (in which case broadr will apply broadening). Both cases needed their own fix so a specific test for each was added to detect this problem in the future.

## Test Problem 45

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/45/input)]

This test was added following an issue identified in `GASPR` concerning the charged particle production cros ssections when the original ENDF tape does not contain the summation cross section when individual levels are present. This lead to double counting of these levels. This test was added to detect this problem in the future.

## Test Problem 46

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/46/input)]

This test was added following a fix in `ERRORR`. NJOY set the number of subsections to be treated for MF34 to 1, even though the ENDF-6 format allows using more than 1 subsection in MF34. This test was added to detect this problem in the future.

## Test Problem 47

[[input](https://raw.githubusercontent.com/njoy/NJOY2016/master/tests/47/input)]

This test is added following a change in `GROUPR` for the MF6 MT18 part of the GENDF file. Versions prior to NJOY 2016.49 only gave the infinite dilute fission matrix, independent of the number of sigma0 values requested by the user. This test runs two `GROUPR` runs, one with only infinite dilute and another one with two sigma0 values (including infinite dilute). The test also contains `ERRORR` runs for MF35 covariances to verify that the `ERRORR` module still gives the same results (only infinite dilute data is used) when using either of the produced GENDF files.

33 changes: 33 additions & 0 deletions tests/47/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/input"
"${CMAKE_CURRENT_BINARY_DIR}/input" COPYONLY )

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape45"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape45" COPYONLY )

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape46"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape46" COPYONLY )

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape47"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape47" COPYONLY )

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape48"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape48" COPYONLY )

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape55"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape55" COPYONLY )

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape56"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape56" COPYONLY )

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape57"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape57" COPYONLY )

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/referenceTape58"
"${CMAKE_CURRENT_BINARY_DIR}/referenceTape58" COPYONLY )

configure_file("${RESOURCES}/n-094_Pu_239-ENDF8.0-Beta6.endf"
"${CMAKE_CURRENT_BINARY_DIR}/tape20" COPYONLY )

add_test( NAME "Test47"
COMMAND ${PYTHON_EXECUTABLE} "../execute.py"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" )
78 changes: 78 additions & 0 deletions tests/47/input
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
moder
20 -21
reconr
-21 -22
'PU239'
9437 0 0
0.001 0.0 0.01 5e-8
0 /
broadr
20 -22 -21
9437 1 0 0 0.0
0.001 1e+6 0.01 5e-8
293.6
0 /
unresr
20 -21 -22 /
9437 1 2 1 /
293.6 /
1e+10 1 /
0 /
groupr
20 -22 0 -25
9437 3 0 2 1 1 1 0 /
'PU239'
293.6
1e+10
3/
5 18 'xi'/
6/
0/
0/
groupr
20 -22 0 -35
9437 3 0 2 1 1 2 0 /
'PU239'
293.6
1e+10 1
3/
5 18 'xi'/
6/
0/
0/
moder
-25 45
moder
-35 55
errorr
20 0 -25 -22 0 0
9437 3 2 1 1 /
0 293.6
0 35 1 1 2 /
covr
-22 0 46 /
1/
/
/
9437 /
viewr
46 47
moder
-22 48
errorr
20 0 -35 -22 0 0
9437 3 2 1 1 /
0 293.6
0 35 1 1 2 /
covr
-22 0 56 /
1/
/
/
9437 /
viewr
56 57
moder
-22 58
stop

Loading

0 comments on commit 2b9c15b

Please sign in to comment.