**1. NAME AND TITLE**

APPLE-2: Plotter of Neutron and Gamma-Ray Spectra and Reaction Rates.

**AUXILIARY ROUTINES**

CALCOMP Plotting Routines.

FINPR: Subroutine for ANISN, modified.

OUTER: Subroutine for DOT-3.5, modified.

TPSAVE: Subroutine for DOT-3.5, modified.

TPXF: Subroutine for DOT-3.5, modified.

NRUN: Subroutine for MORSE, modified.

**DATA LIBRARIES**

GICXKRMA: 42-group neutron, 21-group gamma-ray kerma factor library.

XS63: response library for fusion reactor neutronics calculation.

XS100: 100-group neutron responses.

GFLXDOSE: 54-group gamma-ray flux to dose conversion factors.

APPLE-2 is a thoroughly improved version of an earlier code system, PSR-111/APPLE.

**2. CONTRIBUTORS**

Century Research Center Co., Ltd, Japan Atomic Energy Research Institute, Tokai Research Establishment, Ibaraki-ken, Japan through the OECD NEA Data Bank, Issy-les-Moulineaux, France.

**3. CODING LANGUAGE AND COMPUTER**

Fortran IV; FACOM-M200 (A and B), IBM 3081 (B).

**4. NATURE OF PROBLEM SOLVED**

APPLE plotted the spatial distribution of the reaction rates and the energy spectra of multigroup neutron flux obtained with the one-dimensional discrete ordinates transport code ANISN. It has been widely used in the nuclear design of fusion devices and analyses of integral experiments. However, the preparation of input data was complex and the difficulty encountered in deriving quantitative information from the overview plot of multigroup neutron flux made the results inadequate.

APPLE-2 was developed not as a minor modification of APPLE but as a thoroughly improved code. In addition to the earlier capabilities of APPLE, APPLE-2 can plot the energy spectra of neutron and/or gamma-ray fluxes calculated by ANISN, DOT, and MORSE and can calculate and plot reaction rates using the DOT calculated fluxes. The input data specification was simplified by modifying the output of the radiation transport codes. Several standard response libraries for fusion reactor neutronics calculations are available to the users of the cross section sets. All the output graphs are provided in camera-ready form.

The main objective for the development of APPLE-2 is to simplify the data processing procedure
of the fusion reactor neutronics calculations. In addition, APPLE-2 can 1) calculate the spatial
distribution and region volume integrated values, 2) plot reaction rate distribution along R or Z
direction, 3) plot reaction rates or scalar fluxes summed over specified groups, 4) rearrange angular
flux calculated by ANISN, and 5) punch out a shell source at any specified spatial mesh point in FIDO
format.

**5. METHOD OF SOLUTION**

The spatial distribution and region volume integrated values of reaction rates are calculated using scalar flux calculated with ANISN and DOT-3.5.

APPLE-2 simplifies the input data specification by making use of the input data required in the
radiation transport code. For example, geometry related data in ANISN and DOT are transmitted to
APPLE-2 along with scalar flux data so as to reduce duplicity and errors in reproducing these data.

**6. RESTRICTIONS OR LIMITATIONS**

Variable dimensioning is employed in APPLE-2. There is no practical limitation in the number of reaction rates to be calculated and plotted on a graph, but the same type of plot symbol will appear for every 17th reaction rate curve.

If a problem requiring larger core size than 50 k words is to be solved, two cards in the FTMAIN
routine specifying blank common requirements should be changed: COMMON D(XXXXX) and
LIMM = XXXXX.

**7. TYPICAL RUNNING TIME**

The sample problem using ANISN calculated flux which is included in the APPLE-2 package
required about 1 minute on the FACOM-M200 computer.

**8. COMPUTER HARDWARE REQUIREMENTS**

APPLE-2 was designed for and is operable on the FACOM-M200 computer and the CALCOMP
Plotter 900. Version B is also operable on the IBM 3081 computer. Maximum core requirement for
the sample problem in the code package is less than 128 k words. Auxiliary storage requirements, in
addition to standard input and output devices, are 5 storage devices and one or more additional tape(s)
or disk(s) for scalar flux input.

**9. COMPUTER SOFTWARE REQUIREMENTS**

A Fortran IV compiler is required.

**10. REFERENCE**

H. Kawasaki and Y. Seki, "APPLE-2: An Improved Version of APPLE Code for Plotting Neutron
and Gamma Ray Spectra and Reaction Rates," JAERI-M 82-091 (July 1982).

**11. CONTENTS OF CODE PACKAGE**

Included are the referenced document and one (1.2MB) DOS diskette which contains the source
code, data library, auxiliary subroutine, and sample problem input and output.

**12. DATE OF ABSTRACT**

March 1984.

**KEYWORDS**: ANISN FORMAT; ANISN/DOT INPUT or DATA GENERATOR;
FLUX or DOSE PLOTTING; PLOTTING