Multiple Temp. H in H2O

This is an example of H in H2O, which has oxygen as a secondary scatterer and involves multiple temperatures. The main purpose of this example is to illustrate how to process thermal scattering data for different temperatures, where each temperature is characterized using a different phonon distribution.


Cards 1-2

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE

Here, we use Card 1 to specify the output file (tape24), while Card 2 carries the title for the output file.


Card 3

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE
3 2 200                  / (3)  NTEMPR IPRINT IPHON

Card 3 has three values - the first [NTEMPR] requests that scattering data be prepared for three temperatures, the second [IPRINT] indicates that a high verbosity be used in the output file, and the third value [IPHON] means that the phonon expansion sum should include 200 terms.


Card 4

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE
3 2 200                  / (3)  NTEMPR IPRINT IPHON
1 1001 0 0 2E-38         / (4)  MAT ZA ISABT ILOG SMIN

Card 4 sets some preliminary information for the calculation. The first value [MAT] is the identification tag for water, 1001 is the ZA value, calculated as

\[ZA = (1000.0*Z) + A.\]

The third and fourth values [ISABT and ILOG, respectively] indicate that the user that the final output scattering law should be symmetric [ISABT=0] and not in logarithmic form [ILOG=0].


Card 5

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE
3 2 200                  / (3)  NTEMPR IPRINT IPHON
1 1001 0 0 2E-38         / (4)  MAT ZA ISABT ILOG SMIN
0.9991 20.436 2 0 0 0    / (5)  AWR SPR NPR IEL NCOLD NSK

Card 5 contains information on the primary scatterer. The atomic weight ratio [AWR] is set to 0.9991 and the bound scattering cross section [SPR] is 20.436 b.

The third value on Card 5 is the number of principal scatterers [NPR], which is set to two. This is because, of course, there are two hydrogen atoms per water molecule.

The final three values on Card 5 are IEL, NCOLD, and NSK. IEL being set to zero indicates that no coherent elastic scattering calculation should be performed, NCOLD equal to zero means this is not a very cold Hydrogen calculation, and NSK means that there is no intermolecular coherence requested.


Card 6

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE
3 2 200                  / (3)  NTEMPR IPRINT IPHON
1 1001 0 0 2E-38         / (4)  MAT ZA ISABT ILOG SMIN
0.9991 20.436 2 0 0 0    / (5)  AWR SPR NPR IEL NCOLD NSK
1 1 15.85751 3.7939 1    / (6)  NSS B7 AWS SPS MSS

Card 6 deals with the secondary scatterer, if applicable.

The first value on this card, NSS, being set to to 1 means that a secondary scatterer should be considered. If this value was set to zero, the rest of this card would not be necessary.

The following four inputs on Card 6 indicate the secondary scatterer type [B7], the atomic weight ratio for the secondary scatterer [AWS], the free cross section for the secondary scatterer [SPS], and the number of secondary-scattering atoms [MSS].


Card 7-9

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE
3 2 200                  / (3)  NTEMPR IPRINT IPHON
1 1001 0 0 2E-38         / (4)  MAT ZA ISABT ILOG SMIN
0.9991 20.436 2 0 0 0    / (5)  AWR SPR NPR IEL NCOLD NSK
1 1 15.85751 3.7939 1    / (6)  NSS B7 AWS SPS MSS

10 15 1                  / (7)  NALPHA NBETA LAT
0.1 0.2 0.3 0.4 0.5
1.0 2.0 3.0 4.0 5.0      / (8)  ALPHA
0.0 0.2 0.4 0.6 0.8
1.0 1.2 1.4 1.6 1.8
2.0 2.2 2.4 2.6 2.8      / (9)  BETA

The NALPHA input Card 7 states that 10 \(\alpha\) values will be provided on Card 8. Similarly, NBETA on Card 7 states that 15 \(\beta\) values will be give on Card 9.

The LAT input on Card 7 indicates that the \(\alpha\) and \(\beta\) values provided should be scaled by \(.0253/k_bT\), where \(k_bT\) is the temperature in eV.


Card 10-16, T=293.6 K

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE
3 2 200                  / (3)  NTEMPR IPRINT IPHON
1 1001 0 0 2E-38         / (4)  MAT ZA ISABT ILOG SMIN
0.9991 20.436 2 0 0 0    / (5)  AWR SPR NPR IEL NCOLD NSK
1 1 15.85751 3.7939 1    / (6)  NSS B7 AWS SPS MSS

10 15 1                  / (7)  NALPHA NBETA LAT
0.1 0.2 0.3 0.4 0.5
1.0 2.0 3.0 4.0 5.0      / (8)  ALPHA
0.0 0.2 0.4 0.6 0.8
1.0 1.2 1.4 1.6 1.8
2.0 2.2 2.4 2.6 2.8      / (9)  BETA

293.6                    / (10) temperature (K)   
0.001265 51              / (11) frequency distribution: DELTA NI  
0.0000 1.0796 1.6625 1.9735
1.2130 1.2963 1.3604 1.4245
2.0024 2.2058 2.2969 2.3736
2.4497 2.6468 2.8022 2.9994
4.8879 5.6880 6.0939 6.5062
8.3148 8.5106 8.4430 8.3176
7.5812 7.2166 7.0165 6.8529
5.8309 5.3965 5.2295 5.0961
4.0757 3.7421 3.5991 3.4636
2.5375 2.1513 1.9532 1.7492
0.9220 0.7774 0.7302 0.6880
0.5332 0.4985 0.4916 0.4815
0.4668 0.4524 0.4400     / (12) Solid-Type Spectrum
7.9180E-3 3.9690 0.52208 / (13) TWT C TBETA  
2                        / (14) ND      
2.0500E-01 4.1500E-01    / (15) OSC Energies
1.5667E-01 3.1333E-01    / (16) OSC Weights 

Here, we begin the temperature loop. As stated in Card 3, there are three temperatures requested, and in this case, Cards 10-16 will be repeated for each temperature.

Card 10 states the temperature. Cards 11 and 12 describe the solid-type contribution of the phonon distribution. DELTA is the spacing of the solid-type distribution, NI is the number of points that will be provided on Card 12, and Card 12 contains the actual solid-type distribution.

Card 13 contains information on the translational spectra - translational weight TWT, diffusion constant C, and solid-type weight TBETA.

The only value on Card 14 is the number of discrete oscillators to be provided. Since this is set to a non-zero value, Cards 15 and 16 (which contain the oscillator energies and weights) must be provided.


Card 10-16, T=500 K, T=600 K

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE
3 2 200                  / (3)  NTEMPR IPRINT IPHON
1 1001 0 0 2E-38         / (4)  MAT ZA ISABT ILOG SMIN
0.9991 20.436 2 0 0 0    / (5)  AWR SPR NPR IEL NCOLD NSK
1 1 15.85751 3.7939 1    / (6)  NSS B7 AWS SPS MSS

10 15 1                  / (7)  NALPHA NBETA LAT
0.1 0.2 0.3 0.4 0.5
1.0 2.0 3.0 4.0 5.0      / (8)  ALPHA
0.0 0.2 0.4 0.6 0.8
1.0 1.2 1.4 1.6 1.8
2.0 2.2 2.4 2.6 2.8      / (9)  BETA

293.6                    / (10) temperature (K)   
0.001265 51              / (11) frequency distribution: DELTA NI  
0.0000 1.0796 1.6625 1.9735
1.2130 1.2963 1.3604 1.4245
2.0024 2.2058 2.2969 2.3736
2.4497 2.6468 2.8022 2.9994
4.8879 5.6880 6.0939 6.5062
8.3148 8.5106 8.4430 8.3176
7.5812 7.2166 7.0165 6.8529
5.8309 5.3965 5.2295 5.0961
4.0757 3.7421 3.5991 3.4636
2.5375 2.1513 1.9532 1.7492
0.9220 0.7774 0.7302 0.6880
0.5332 0.4985 0.4916 0.4815
0.4668 0.4524 0.4400     / (12) Solid-Type Spectrum
7.9180E-3 3.9690 0.52208 / (13) TWT C TBETA  
2                        / (14) ND      
2.0500E-01 4.1500E-01    / (15) OSC Energies
1.5667E-01 3.1333E-01    / (16) OSC Weights 

500                      / (10) temperature (K)   
0.001265 51              / (11) frequency distribution: DELTA NI  
0.0000 1.2175 1.7673 2.1144 
2.8480 3.0506 3.1600 3.2851 
4.1464 4.4390 4.5869 4.7170 
5.6953 6.0055 6.1600 6.2642 
6.7845 6.7848 6.8288 6.7628 
6.3166 6.1192 6.0320 5.8920 
5.0930 4.8241 4.6829 4.5580 
3.7603 3.4472 3.3243 3.1847 
2.3251 2.0685 1.9366 1.8112 
1.2691 1.1320 1.0828 1.0341 
0.7988 0.7498 0.7251 0.7097 
0.6185 0.6043 0.5992 0.5911 
0.5870 0.5797 0.5781     / (12) Solid-Type Spectrum
1.8750E-2 19.011 0.51125 / (13) TWT C TBETA  
2                        / (14) ND      
2.0500E-01 4.1500E-01    / (15) OSC Energies   
1.5667E-01 3.1333E-01    / (16) OSC Weights 

600                      / (10) temperature (K)   
0.001265 51              / (11) frequency distribution: DELTA NI  
0.0000 1.1760 1.9347 2.4511 
3.7359 4.1283 4.3577 4.6032 
5.9677 6.2147 6.3957 6.5460 
7.0451 7.0600 7.0439 6.9896 
6.6264 6.4632 6.3393 6.2131 
5.4944 5.2214 5.0507 4.9325 
4.1559 3.8901 3.7528 3.6362 
2.8460 2.5990 2.4505 2.3259 
1.6291 1.4554 1.3673 1.2955 
0.9795 0.8968 0.8646 0.8363 
0.6865 0.6551 0.6352 0.6237 
0.5642 0.5530 0.5503 0.5455 
0.5443 0.5423 0.5458     / (12) Solid-Type Spectrum
2.3840E-2 26.832 0.50616 / (13) TWT C TBETA  
2                        / (14) ND      
2.0500E-01 4.1500E-01    / (15) OSC Energies
1.5667E-01 3.1333E-01    / (16) OSC Weights 

Here we repeat Cards 10-16 again, for the second and third iterations of the temperature loop. These values can be the same or different values as those from the first temperature loop. Here, for instance, the solid-type distributions and translational components change from temperature to temperature, but the discrete oscillator energies and weights remain the same.


Card 20

leapr
24                       / (1)  NOUT
'H(H2O) multiple temps'  / (2)  TITLE
3 2 200                  / (3)  NTEMPR IPRINT IPHON
1 1001 0 0 2E-38         / (4)  MAT ZA ISABT ILOG SMIN
0.9991 20.436 2 0 0 0    / (5)  AWR SPR NPR IEL NCOLD NSK
1 1 15.85751 3.7939 1    / (6)  NSS B7 AWS SPS MSS

10 15 1                  / (7)  NALPHA NBETA LAT
0.1 0.2 0.3 0.4 0.5
1.0 2.0 3.0 4.0 5.0      / (8)  ALPHA
0.0 0.2 0.4 0.6 0.8
1.0 1.2 1.4 1.6 1.8
2.0 2.2 2.4 2.6 2.8      / (9)  BETA

293.6                    / (10) temperature (K)   
0.001265 51              / (11) frequency distribution: DELTA NI  
0.0000 1.0796 1.6625 1.9735
1.2130 1.2963 1.3604 1.4245
2.0024 2.2058 2.2969 2.3736
2.4497 2.6468 2.8022 2.9994
4.8879 5.6880 6.0939 6.5062
8.3148 8.5106 8.4430 8.3176
7.5812 7.2166 7.0165 6.8529
5.8309 5.3965 5.2295 5.0961
4.0757 3.7421 3.5991 3.4636
2.5375 2.1513 1.9532 1.7492
0.9220 0.7774 0.7302 0.6880
0.5332 0.4985 0.4916 0.4815
0.4668 0.4524 0.4400     / (12) Solid-Type Spectrum
7.9180E-3 3.9690 0.52208 / (13) TWT C TBETA  
2                        / (14) ND      
2.0500E-01 4.1500E-01    / (15) OSC Energies
1.5667E-01 3.1333E-01    / (16) OSC Weights 

500                      / (10) temperature (K)   
0.001265 51              / (11) frequency distribution: DELTA NI  
0.0000 1.2175 1.7673 2.1144 
2.8480 3.0506 3.1600 3.2851 
4.1464 4.4390 4.5869 4.7170 
5.6953 6.0055 6.1600 6.2642 
6.7845 6.7848 6.8288 6.7628 
6.3166 6.1192 6.0320 5.8920 
5.0930 4.8241 4.6829 4.5580 
3.7603 3.4472 3.3243 3.1847 
2.3251 2.0685 1.9366 1.8112 
1.2691 1.1320 1.0828 1.0341 
0.7988 0.7498 0.7251 0.7097 
0.6185 0.6043 0.5992 0.5911 
0.5870 0.5797 0.5781     / (12) Solid-Type Spectrum
1.8750E-2 19.011 0.51125 / (13) TWT C TBETA  
2                        / (14) ND      
2.0500E-01 4.1500E-01    / (15) OSC Energies   
1.5667E-01 3.1333E-01    / (16) OSC Weights 

600                      / (10) temperature (K)   
0.001265 51              / (11) frequency distribution: DELTA NI  
0.0000 1.1760 1.9347 2.4511 
3.7359 4.1283 4.3577 4.6032 
5.9677 6.2147 6.3957 6.5460 
7.0451 7.0600 7.0439 6.9896 
6.6264 6.4632 6.3393 6.2131 
5.4944 5.2214 5.0507 4.9325 
4.1559 3.8901 3.7528 3.6362 
2.8460 2.5990 2.4505 2.3259 
1.6291 1.4554 1.3673 1.2955 
0.9795 0.8968 0.8646 0.8363 
0.6865 0.6551 0.6352 0.6237 
0.5642 0.5530 0.5503 0.5455 
0.5443 0.5423 0.5458     / (12) Solid-Type Spectrum
2.3840E-2 26.832 0.50616 / (13) TWT C TBETA  
2                        / (14) ND      
2.0500E-01 4.1500E-01    / (15) OSC Energies
1.5667E-01 3.1333E-01    / (16) OSC Weights 
' this is a final comment ' 
' this is a line          '
' this is another line    '
/ end leapr
stop

Cards 17-19 are invoked when an inelastic coherent approximation is requested. Since no intermolecular coherence was requested (i.e. NSK on Card 5 is set to 0), these cards are omitted. Instead, we continue directly to card 20.

Card 20 is a set of comments that will be included in the final output. These comments are read in until a blank line (consisting of only a “/”) is read in.