Previous Topic   Next Topic   Contents   Commands
by Function
  Commands
Alphabetically

QCELL Command

QCell N Material Density Trans [ Name Body-List ] QCell C { Body List Continued }

Quickly describe all the attributes of a zone (or cell) and optionally enter a geometry description in terms of combinatorial body geometry.

The arguments are

N Zone (or Cell) number
Material or media number
Density (as required by MCNP)
Transparency T or 0 for transparent, O or 1 for opaque
Name Up to 5 characters, cannot be an integer. If you enter the name, you must enter the zone description.
Body List Zone Description (Required if Name is present)

Examples

qcell 2 2 1.2 0 slab 2 -1
qcell 3 3 1.3 0 compx ( 1 -2 ) : ( 3 -4 )
QCell C
is a continuation of the Cell Description on the previous line
qcell 1 1 1.1 1 slot 1 -2 -3 -4 -5
qcell c -6 -7 -8
is equivalent to
qcell 1 1 1.1 1 slot 1 -2 -3 -4 -5 -6 -7 -8
Null values leave an attribute unaffected, thus
qcell/4///T
changes neither the material nor density of zone 4, but makes it transparent.