You're reading an old version of this documentation! 
      
      
       For the latest release, please have a look at v1.0. 
    
    
  
5. Material commands#
Macro commands related to material of the Target.
5.1. Element definition#
# define element with isotopes  NAME        CH.SYM.   ISOTOPES 
/SEE/material/addElement        enriched_B  B         10  0.96    11  0.04
  | 
Type  | 
M?  | 
Description  | 
Example value  | 
|---|---|---|---|---|
NAME  | 
string  | 
y  | 
Name of new element (its reference)  | 
  | 
CHEMICAL SYMBOL  | 
string  | 
y  | 
Chemical symbol of element  | 
  | 
ISOTOPE NUCLEON NUMBER  | 
int  | 
y  | 
Nucleon (mass) number of an isotope, A  | 
  | 
ISOTOPE ABUNDANCE  | 
double  | 
y  | 
Abundance fraction of an isotope  | 
  | 
ISOTOPE NUCLEON NUMBER and ISOTOPE ABUNDANCE parameters can only be used in pairs: “A\(_1\) abundance\(_1\) A\(_2\) abundance\(_2\) …”
There are no default values for the parameters of this command.
5.2. Material definition#
# define material           NAME        DENSITY       ELEMENTS
/SEE/material/addMaterial   ShieldMat   2.52 g/cm3    enriched_B 4  C 1
/SEE/material/addMaterial   Si3N4       3.17 g/cm3    Si 3          N 4
  | 
Type  | 
M?  | 
Description  | 
Example value  | 
|---|---|---|---|---|
NAME  | 
string  | 
y  | 
Name of new material (its reference)  | 
  | 
DENSITY with unit  | 
double u  | 
y  | 
Material density  | 
  | 
ELEMENT NAME or CHEMICAL SYMBOL  | 
string  | 
y  | 
Name or chemical symbol of an element  | 
  | 
ELEMENT STOICHIOMETRIC RATIO  | 
double  | 
y  | 
Chemical ratio of an element  | 
  | 
Any element of the periodic table can be used for CHEMICAL SYMBOL parameter.
ELEMENT NAME/CHEMICAL SYMBOL and ELEMENT STOICHIOMETRIC RATIO parameters can only be used in pairs: “name\(_1\) ratio\(_1\) name\(_2\) ratio\(_2\) …”
There are no default values for the parameters of this command.
5.3. Mixture definition#
# define mixture            NAME        DENSITY       MATERIALS
/SEE/material/addMixture    BEOLmix     3 g/cm3       G4_Cu 0.4   Si3N4 0.6
  | 
Type  | 
M?  | 
Description  | 
Example value  | 
|---|---|---|---|---|
NAME  | 
string  | 
y  | 
Name of new mixture (its reference)  | 
  | 
DENSITY with unit  | 
double u  | 
y  | 
Material density of homogeneous mixture  | 
  | 
MATERIAL NAME  | 
string  | 
y  | 
Name of a component  | 
  | 
MATERIAL MASS FRACTION  | 
double  | 
y  | 
Mass fraction of a component  | 
  | 
Any predefined G4 element/material from this list can be used for the MATERIAL NAME parameter.
MATERIAL NAME and MATERIAL MASS FRACTION parameters can only be used in pairs: “name\(_1\) mass_fraction\(_1\) name\(_2\) mass_fraction\(_2\) …”
There are no default values for the parameters of this command.