# Presentation: 033983

## GipGui: A Graphical User Interface for the GIP Cross Section Preparation Code

**ANS M&C Gatlinburg, TN                                                                                 April 9, 2003**

**Douglas E. Peplow**
**Nuclear Science and Technology Division **
**Oak Ridge National Laboratory**
** **
**Yousry Y. Azmy**
**Department of Mechanical and Nuclear Engineering**
**Pennsylvania State University**

## GIP - Mixes Group Cross Sections for DOORS

**GIP input deck is instructions for combining elemental cross sections using any combination of elements from a given library file or from manually-entered elemental cross sections**
**each P****l**** component listed as separate materials**
**P****l**** components are built by instructions**
**    ****mixture****N****  =  mixture****N****  +   material****M*****density**
**    ****input file:  N M density**
**densities MUST be atom/(b cm)**
**strict formatting, not very readable**
**steep learning curve**

## Example – natural iron and carbon steel

- Library
-     1  7 al27
-   75  7 c
- 187  7 fe54
- 195  7 fe56
- 203  7 fe57
- 211  7 fe58
- 333  7 mn55
- 505  7 si
- 607  5 zr** **

**1$$  69   3   4  72  63     / # grps; total; self sc; tbl lnth; mxng tbl**
**      ****6 612 702   0   5     / cards; tape; total mats; frwrd; Pl order**
**      ****2   2   2             / prnt-; output mixs only; DOT4 format**
**  ****a18 8  21                 / output & input library units**
**e**
**t**
**13$$  610i 1   612          / Set ID numbers for nuclides from library**
**7$$  / translate card material by 612 & all tape materials by -6**
**     ****4i 613 618   610i 1 612   82i 619 702**
**10$$ / Specify material number for each mixture:**
**     ****4r-661                 /  9. 4 nuclides in natural iron**
**     ****4r-673                 / 10. 4 nuclides in carbon steel**
**11$$ / Specify material number for nuclides in each mixture:**
**/  9. natural iron:  Fe54   Fe56   Fe57   Fe58**
**                     ****187    195    203    211**
**/ 10. carbon steel:  C      Si     Mn55   Fe**
**                     ****75     505    333    661**
**12** / density in atoms per b.cm for each nuclide**
**/  9. natural iron:  Fe54     Fe56     Fe57     Fe58**
**                     ****5.011-3  7.790-2  1.784-3  2.378-4**
**/ 10. carbon steel:  C        Si       Mn55     Fe**
**                     ****7.883-4  4.214-4  3.878-4  8.401-2**
**t**

## Need a better way to make GIP input decks

**treat materials as materials, handle P****l**** components behind-the-scenes**
**easier way to enter data by hand**
**easier way to specify material compositions**
**eliminate the need to learn formatting**
**ability to edit existing input decks (back-compatibility)**
**perhaps even run GIP without ever seeing the input deck**

## GipGui

## GipGui

**written in Java, machine independent**
**creates new and edits existing input decks**
**manually entered data input into easy-to-read table **
**user can specify material composition 8 different ways**
**elemental and nuclear data on main screen**
**extra comments and data embedded into GIP standard input file **

## Slide 7

## Material Specification  –  H2O  (H1, O16)

- atomic densities
- H: 0.0669 atoms/(b cm)
- O: 0.0334 atoms/(b cm)
- atom fractions
- total: 0.10031 atoms/(b cm)
- H: 0.6667
- O: 0.3333
- molecular formula
- total molecular weight: 18.0105 g/mol
- total density: 1.000 g/cm^3
- H: 2
- O: 1
- unitless - user supplies multiplier

-   mass densities
-   H: 0.1119 g/cm^3
-   O: 0.8881 g/cm^3
-   mass fractions
-   total: 1.0000 g/cm^3
-   H: 0.1119
-   O: 0.8881

## Slide 9

## Requirements and Restrictions

**Requirement**
**a library index file describing what is in the actual library (GipGui can help user create this)**
**Restrictions**
**"=gip" or "=end" not permitted**
**Stacked cases not allowed **
**Only comment character is “/”**
**Empty lines read as zeros**
**“****0” entry in 10$ array not permitted**** **

## Future of GipGui 

**To the GIP community - Help Us Help You**
**We need feedback from the user community to tell us if this is useful and how to make it better.**

## Warning: GipGui was designed by Engineers