Previous Topic   Next Topic   Contents   Commands
by Function
  Commands
Alphabetically

MCNP Command

MCnp [*]NP

Read the file INP (default name inp ) of MCNP input commands.

The input in echoed unless the * is present. The data cards following the cell and surface entries are not read (unless TR cards have been referenced). The blank line following the surface entries is required.

If the file name does end with .mcn , file INP.mcn will be opened if file INP does not exist. INP may be a pathname with embedded slashes. If so, it MUST be enclosed in (single or double) quotes.

A second MCNP file may not be read unless Sabrina is RESET or you say ``Please.''

The MCNP input file cannot contain Sabrina commands.

Comment lines in the MCNP input starting with a C or c in column 1 are accepted, as well as comments on the end of an MCNP input line using $ as a comment delimiter.

Sabrina interprets a c box comment followed by 6 numbers as Spatial Window bounds. For example,

c box -10 10 -20 20 -30 30

in an MCNP input is equivalent to

WINDOW N -10 10 -20 20 -30 30
being issued after the MCNP input is read. The window number N is the first undefined window or 1 if all 10 windows are defined.

After the MCNP command is executed, Sabrina remains in a surface geometry mode. Body geometry is ignored, the DRAW and RDRAW commands refer to surfaces rather than bodies, and all cell descriptions reference surfaces. The only body references allowed are in the ICUT command defining cutter bodies. MCNP geometry may be plotted with the COLOR and ETCH commands. A subset of MCNP geometry—spheres, cones, cylinders, and planes—may be plotted with DRAW or RDRAW. Excluded are general quadratics, ellipsoids, hyperboloids, and general planes. MCNP plots produced with DRAW or RDRAW require more time than plots produced with the COLOR or ETCH commands.