Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add TRCL transformation test files #42

Merged
merged 1 commit into from
Jul 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions tests/nested-lattice-tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Nested lattice tests Readme
===========================
1. Five types of simplified mcnp inputs(6 in total) are added to debug the issue that there is some geometry missing in UWNR model:

* **simplified_uwnr_lattice_w_trans**, **simplified_uwnr_lattice_wo_trans** - lattice map of the north core in UWNR model, w/ and w/o lattice transformation.
* **single_lat_w_trans**, **single_lat_wo_trans** - a single lattice in the geometry w/ and w/o lattice transformation.
* **single_pin_w_utrans**, **single_pin_wo_utrans** - a single pin model w/ and w/o universe transformation.
* **single_lat_w_rot_only**, **single_lat_w_rot_and_trans** - a single lattice in the geometry w/ rotation only and w/ both rotation and transformation.
* **single_pin_w_rot_only**, **single_pin_w_rot_and_trans** - single pin model w/ rotation only and w/ both rotation and transformation.

2. The test results of **mcnp2cad** are:
* There is geometry missing in the lattice w/ transformation and it works fine in the lattice w/o transformation.
* There is geometry missing in the lattice w/ transformation and it works fine in the lattice w/o transformation.
* Both work fine.
* TBD.
* TBD.
168 changes: 168 additions & 0 deletions tests/nested-lattice-tests/simplified_uwnr_lattice_w_trans
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
test model
C ------------------------------- CELL CARD ------------------------------ C
c row=1, col=1
110100 1 -7.2 -1 11 -12 vol = 31.4159 u=1101 imp:n=1 $ fuel
110101 2 -1.0 (1:-11:12) u=1101 imp:n=1 $ coolant
c row=1, col=1
110200 like 110100 but u=1102
110201 like 110101 but u=1102
c row=1, col=1
110300 like 110100 but u=1103
110301 like 110101 but u=1103
c row=1, col=1
110400 like 110100 but u=1104
110401 like 110101 but u=1104
c
c
c row=1, col=2
120100 like 110100 but u=1201
120101 like 110101 but u=1201
c row=1, col=2
120200 like 110100 but u=1202
120201 like 110101 but u=1202
c row=1, col=2
120300 like 110100 but u=1203
120301 like 110101 but u=1203
c row=1, col=2
120400 like 110100 but u=1204
120401 like 110101 but u=1204
c
c
c row=2, col=1
210100 like 110100 but u=2101
210101 like 110101 but u=2101
c row=2, col=1
210200 like 110100 but u=2102
210201 like 110101 but u=2102
c row=2, col=1
210300 like 110100 but u=2103
210301 like 110101 but u=2103
c row=2, col=1
210400 like 110100 but u=2104
210401 like 110101 but u=2104
c
c
c row=2, col=2
220100 like 110100 but u=2201
220101 like 110101 but u=2201
c row=2, col=2
220200 like 110100 but u=2202
220201 like 110101 but u=2202
c row=2, col=2
220300 like 110100 but u=2203
220301 like 110101 but u=2203
c row=2, col=2
220400 like 110100 but u=2204
220401 like 110101 but u=2204
c
c
c row=3, col=1
310100 like 110100 but u=3101
310101 like 110101 but u=3101
c row=3, col=1
310200 like 110100 but u=3102
310201 like 110101 but u=3102
c row=3, col=1
310300 like 110100 but u=3103
310301 like 110101 but u=3103
c row=3, col=1
310400 like 110100 but u=3104
310401 like 110101 but u=3104
c
c
c row=3, col=2
320100 like 110100 but u=3201
320101 like 110101 but u=3201
c row=3, col=2
320200 like 110100 but u=3202
320201 like 110101 but u=3202
c row=3, col=2
320300 like 110100 but u=3203
320301 like 110101 but u=3203
c row=3, col=2
320400 like 110100 but u=3204
320401 like 110101 but u=3204
C ******** Bundle level
1100 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
1101 1102 1103 1104 u=11 imp:n=1
1200 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
1201 1202 1203 1204 u=12 imp:n=1
2100 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
2101 2102 2103 2104 u=21 imp:n=1
2200 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
2201 2202 2203 2204 u=22 imp:n=1
3100 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
3101 3102 3103 3104 u=31 imp:n=1
3200 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
3201 3202 3203 3204 u=32 imp:n=1
C ******** Core level
100 0 -31 32 -33 34 u=100 lat=1 imp:n=1 trcl=(-15 0 0)
fill=-1:0 -1:1 0:0
11 12
21 22
31 32
101 0 41 -42 -43 44 -35 36 fill=100 imp:n=1
999 0 (-41:42:43:-44:35:-36) imp:n=0

C ----------------------------- SURFACE CARD ----------------------------- C
1 c/z -2 -2 1
C
11 pz -5
12 pz 5
C
C pin bundle
C
21 px 0
22 px -5
23 py 0
24 py -5
25 pz 100
26 pz -20
C
31 px 5
32 px -5
33 py 5
34 py -5
35 pz 100
36 pz -20
c
41 px -30
42 px -10
43 py 15
44 py -15

C ------------------------------- DATA CARD ------------------------------ C
m1
1001.80c -1.1931e-02
1002.80c -2.7424e-06
6012 -2.9299e-03
6013 -3.4338e-05
40090.80c -3.4508e-01
40091.80c -7.6091e-02
40092.80c -1.1759e-01
40094.80c -1.2176e-01
40096.80c -2.0034e-02
68162.80c -1.1568e-05
68164.80c -1.3488e-04
68166.80c -2.8571e-03
68167.80c -1.9620e-03
68168.80c -2.3284e-03
68170.80c -1.3022e-03
72174.80c -5.3482e-08
72176.80c -1.7784e-06
72177.80c -6.3246e-06
72178.80c -9.3285e-06
72179.80c -4.6836e-06
72180.80c -1.2131e-05
92234.80c -5.2067e-04
92235.80c -5.8502e-02
92236.80c -2.6911e-04
92238.80c -2.3663e-01
m2
1001.80c -1.1210e-01
1002.80c -2.5766e-05
8016.80c -8.8752e-01
8017.80c -3.5930e-04
mode n $Problem_type
kcode 1000 1 10 60
ksrc -17.5 -2.4 0
168 changes: 168 additions & 0 deletions tests/nested-lattice-tests/simplified_uwnr_lattice_wo_trans
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
test model
C ------------------------------- CELL CARD ------------------------------ C
c row=1, col=1
110100 1 -7.2 -1 11 -12 vol = 31.4159 u=1101 imp:n=1 $ fuel
110101 2 -1.0 (1:-11:12) u=1101 imp:n=1 $ coolant
c row=1, col=1
110200 like 110100 but u=1102
110201 like 110101 but u=1102
c row=1, col=1
110300 like 110100 but u=1103
110301 like 110101 but u=1103
c row=1, col=1
110400 like 110100 but u=1104
110401 like 110101 but u=1104
c
c
c row=1, col=2
120100 like 110100 but u=1201
120101 like 110101 but u=1201
c row=1, col=2
120200 like 110100 but u=1202
120201 like 110101 but u=1202
c row=1, col=2
120300 like 110100 but u=1203
120301 like 110101 but u=1203
c row=1, col=2
120400 like 110100 but u=1204
120401 like 110101 but u=1204
c
c
c row=2, col=1
210100 like 110100 but u=2101
210101 like 110101 but u=2101
c row=2, col=1
210200 like 110100 but u=2102
210201 like 110101 but u=2102
c row=2, col=1
210300 like 110100 but u=2103
210301 like 110101 but u=2103
c row=2, col=1
210400 like 110100 but u=2104
210401 like 110101 but u=2104
c
c
c row=2, col=2
220100 like 110100 but u=2201
220101 like 110101 but u=2201
c row=2, col=2
220200 like 110100 but u=2202
220201 like 110101 but u=2202
c row=2, col=2
220300 like 110100 but u=2203
220301 like 110101 but u=2203
c row=2, col=2
220400 like 110100 but u=2204
220401 like 110101 but u=2204
c
c
c row=3, col=1
310100 like 110100 but u=3101
310101 like 110101 but u=3101
c row=3, col=1
310200 like 110100 but u=3102
310201 like 110101 but u=3102
c row=3, col=1
310300 like 110100 but u=3103
310301 like 110101 but u=3103
c row=3, col=1
310400 like 110100 but u=3104
310401 like 110101 but u=3104
c
c
c row=3, col=2
320100 like 110100 but u=3201
320101 like 110101 but u=3201
c row=3, col=2
320200 like 110100 but u=3202
320201 like 110101 but u=3202
c row=3, col=2
320300 like 110100 but u=3203
320301 like 110101 but u=3203
c row=3, col=2
320400 like 110100 but u=3204
320401 like 110101 but u=3204
C ******** Bundle level
1100 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
1101 1102 1103 1104 u=11 imp:n=1
1200 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
1201 1202 1203 1204 u=12 imp:n=1
2100 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
2101 2102 2103 2104 u=21 imp:n=1
2200 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
2201 2202 2203 2204 u=22 imp:n=1
3100 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
3101 3102 3103 3104 u=31 imp:n=1
3200 0 -21 22 -23 24 -25 26 lat=1 fill= 0:1 0:1 0:0
3201 3202 3203 3204 u=32 imp:n=1
C ******** Core level
100 0 -31 32 -33 34 u=100 lat=1 imp:n=1
fill=-1:0 -1:1 0:0
11 12
21 22
31 32
101 0 41 -42 -43 44 -35 36 fill=100 imp:n=1
999 0 (-41:42:43:-44:35:-36) imp:n=0

C ----------------------------- SURFACE CARD ----------------------------- C
1 c/z -2 -2 1
C
11 pz -5
12 pz 5
C
C pin bundle
C
21 px 0
22 px -5
23 py 0
24 py -5
25 pz 100
26 pz -20
C
31 px 5
32 px -5
33 py 5
34 py -5
35 pz 100
36 pz -20
c
41 px -15
42 px 5
43 py 15
44 py -15

C ------------------------------- DATA CARD ------------------------------ C
m1
1001.80c -1.1931e-02
1002.80c -2.7424e-06
6012 -2.9299e-03
6013 -3.4338e-05
40090.80c -3.4508e-01
40091.80c -7.6091e-02
40092.80c -1.1759e-01
40094.80c -1.2176e-01
40096.80c -2.0034e-02
68162.80c -1.1568e-05
68164.80c -1.3488e-04
68166.80c -2.8571e-03
68167.80c -1.9620e-03
68168.80c -2.3284e-03
68170.80c -1.3022e-03
72174.80c -5.3482e-08
72176.80c -1.7784e-06
72177.80c -6.3246e-06
72178.80c -9.3285e-06
72179.80c -4.6836e-06
72180.80c -1.2131e-05
92234.80c -5.2067e-04
92235.80c -5.8502e-02
92236.80c -2.6911e-04
92238.80c -2.3663e-01
m2
1001.80c -1.1210e-01
1002.80c -2.5766e-05
8016.80c -8.8752e-01
8017.80c -3.5930e-04
mode n $Problem_type
kcode 1000 1 10 60
ksrc -12.5 -2.4 0
Loading