0% found this document useful (0 votes)
83 views4 pages

Trimdat Help

TRIM is a subroutine that calculates the kinetics of energetic atoms starting at any point in a target. It allows varying the ion type, energy, angle, and depth for each calculation cycle using a file called TRIM.DAT. This file specifies the initial parameters for each "ion" and must be located in the directory containing TRIM.exe. TRIM then calculates the damage cascades using the standard package while varying the incident parameters for each cycle defined in TRIM.DAT.

Uploaded by

dimbill
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views4 pages

Trimdat Help

TRIM is a subroutine that calculates the kinetics of energetic atoms starting at any point in a target. It allows varying the ion type, energy, angle, and depth for each calculation cycle using a file called TRIM.DAT. This file specifies the initial parameters for each "ion" and must be located in the directory containing TRIM.exe. TRIM then calculates the damage cascades using the standard package while varying the incident parameters for each cycle defined in TRIM.DAT.

Uploaded by

dimbill
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 4

Special Calculation of Cascades using file TRIM.

DAT
TRIM may be used as a subroutine which calculates the kinetics caused by energetic atoms starting at
any point in the target, with any energy and angle of trajectory. This is done by creating a file
TRIM.DAT, and specifying the use of this file in the TRIM setup window- see the Kinetics dropdown
menu. Examples of the file TRIM.DAT are found in the SRIM sub-directory called "SRIM Tools". Look
at examples: TRIM1.DAT and TRIM2.DAT. Normally, TRIM calculates the kinetics of a sequence of
identical ions, entering the target at the same point, at the same initial energy and at the same angle.
However, TRIM.DAT allows all the initial parameters to be different for each cycle. You may change the
ion type, its energy and angle, and even the depth in the target where it starts. Examples are discussed
below. The only special consideration is that you must include all the "ions" listed in TRIM.DAT in the
original TRIM ion/target setup so that their stopping powers are calculated. This calculation uses the
standard TRIM package, only changing the incident parameters for each cycle.
Note: The style of TRIM.DAT is identical to the output files *.TXT which can be produced by TRIM for
transmitted ions, backscattered ions and sputtered atoms. Hence these output files may be used as input
back into TRIM to evaluate secondary effects.

If you wish to use the TRIM.DAT option, this file must be located in the SRIM root-directory (which
holds the file TRIM.exe)

If you want to use a TRIM.DAT file, please print out the TRIM Manual which has an extended
discussion of how to use it.

Examples of using TRIM.DAT:


(4) - Various Ion Energy / Angle / Positions - TRIM is run for ions starting at various energies, with
varying trajectory angles to the target surface, and starting at various depths in the target. There are a
wide range of applications which require the ability to vary these ion parameters, and they are
discussed in the "More Info" menu above. Typical are calculations of ions from a diffuse plasma, or
for a target with a receding surface due to rapid sputtering, or reactor radiation damage to metals. This
option also requires the file TRIM.DAT for the initial ion energy, trajectory and starting position.
Calculations may be made either with Kinchin-Pease damage estimates, or with full recoil cascades.
(5) - Neutron / Electron / Photon Cascades - This calculates only the damage cascades in a target. It uses
as input the file TRIM.DAT which contains the kinetic information about target atoms which start recoil
cascades. The file TRIM.DAT is generated by some other program which calculates the energy
transferred to target atoms by either neutrons, electrons or photons. Then TRIM takes this external
information and calculates the damage done to the target from recoil cascades. This is explained in the
"More Info" menu section above: "Radiation Damage from Neutrons / Electrons / Photons".

To execute SRIM using the TRIM.DAT file, you need to:


(1) Setup the file TRIM.DAT. Use the examplesTRIM1.DAT and TRIM2.DAT as a guide.
(2) Place this file in the root directory of TRIM where the file TRIM.exe is located.
(3) Execute SRIM and go to the TRIM setup screen.
(4) Setup TRIM for the ion and target. There are two types of calculations available, see (4) and (5)
above. They are setup differently.
(A) Various Ion Energy / Angle / Positions
(a) Type of Calculation : Specify if you want full cascades or KP approximations.
(b) Ion : Use the same ion as specified under "Atom Numb" in TRIM.DAT.
(c) Energy : The ion energy must be the MAXIMUM energy listed in TRIM.DAT.
(d) Target Depth : The target depth must be LARGER than the MAXIMUM depth listed
under X(A) in TRIM.DAT.
(A) Neutron / Electron / Photon Cascades
(a) Type of Calculation : Specify that you want FULL CASCADES.
(b) Ion : Use any ion as the ion type is not used in the calculation.
(c) Energy : Use any energy as the ion energy is not used in the calculation.
(d) Target Atoms : Every Atom type listed in TRIM.DAT must be listed in the target.
(d) Target Depth : The total depth must be LARGER than the MAXIMUM depth listed
under X(A) in TRIM.DAT.
----------------------------------------------------------------------------------------------------------
Example of using TRIM1.DAT - Various Ion Energy / Angle / Positions
(1) Open Windows Explorer and go to sub-directory ../SRIM Tools
(2) Right-click on file: TRIM1.DAT. Select “Copy”.
(3) Go to the root SRIM directory, and right click. Then select “Paste”
(4) Right click on TRIM1.DAT in the root directory, select “Rename”.
(5) Rename TRIM1.DAT to TRIM.DAT This puts a file, TRIM.DAT in the
root directory. If a TRIM.DAT already exists, you may have to erase it before this
step.
(6) Execute SRIM. Select TRIM Calculation from the SRIM opening window.
(7) In the TRIM Setup window, in the upper-right, select “Varying Ion
Energy/Angle/Depth (Full Cascades) using TRIM.DAT”.
(8) In the ION section, specify Ar ions at 100 keV.
(9) In the TARGET section, specify 1 layer of Si, 100A thick.
(10) All other items are optional.
(11) Finally, press “Save Input & Run TRIM”.
(12) The TRIM Calculation Window will open, and the calculation starts.
(13) When TRIM reaches Ion #4, an Error window opens since this ion is
declared in TRIM.DAT to start at 1130A (see below) while the target is only
1000A thick. This Error is just to show how TRIM reacts to error in the input file.
(14) After 5 ions, the calculation ends.

Below is file TRIM1.DAT:


█▀▀▀▀▀▀▀▀▀▀ TRIM with various Incident Ion Energies/Angles and Depths ▀▀▀▀▀▀▀▀█
█ Top 10 lines are user comments, with line #8 describing experiment. █
█ Line #8 will be written into all TRIM output files ( various files: *.TXT).█
█ Data Table line consist of: EventName(5 char)+8 numbers separated by spaces.█
█ The Event Name consists of any 5 characters to identify that line. █
█ Cos(X) = 1 for normal incidence, and Cos(X) = -1 for backwards. █
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Typical Data File is shown below ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
╔═ Ar Plasma Ions into Si (1000A thick) (Energies 20-80 keV, Various Angles) ═╗
Event Atom Energy Depth Lateral-Position ----- Atom Direction ----
Name Numb (eV) _X_(A) _Y_(A) _Z_(A) Cos(X) Cos(Y) Cos(Z)
A-1 18 12345 0 0 0 1.00000 .000000 -.000000
abcde 18 54321 0 0 0 0.62344 -.295513 .003415
AA#1 18 1.31E4 123 0 -154 0.34234 -.336437 -.017437
C-3 18 123.55 1230 432 12.3E2 -0.23258 -.543453 .443483
A-1 18 0.123E2 0 -10 -12 0.99998 .000012 -.000017
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
Example of using TRIM2.DAT –Damage Cascade from Neutrons
1. Open Windows Explorer and go to sub-directory ../SRIM Tools
2. Right-click on file: TRIM2.DAT. Select “Copy”.
3. Go to the root SRIM directory, and right click. Then select “Paste”
4. Right click on TRIM2.DAT in the root directory, select “Rename”.
5. Rename TRIM2.DAT to TRIM.DAT This puts a file, TRIM.DAT in the
root directory. If a TRIM.DAT already exists, you may have to erase it before this
step.
6. Execute SRIM. Select TRIM Calculation from the SRIM opening window.
7. In the TRIM Setup window, in the upper-right, select “Damage Cascades
from Neutrons, etc. (Full Cascades) using TRIM.DAT”.
8. In the ION section, specify any ion at 100 keV.(the maximum energy in
column #3 in TRIM2.DAT). The type of ion is not used in the calculation, but the
energy is required to make sure that stopping powers for all recoils are calculated
9. You will make a target with atoms of Si, O, Ga and As (You must
specify every atom noted in column 2 of the TRIM.DAT file, and this
atom must exist at the depth noted in column 4. Otherwise, you will
get an error message on the screen, and this event will be omitted.)
10. Specify that the target first layer with a depth of 1200 Å and
containing Si(1)+O(2). TRIM normalizes the stoichiometry so you
may use any equivalent units such as Si(33)+O(66). The second target
layer has a layer depth of 10000 Å and is composed of Ga(1)+ As(1).
There is no third target layer.
11. All other items are optional.
12. Finally, press “Save Input & Run TRIM”.
13. The TRIM Calculation Window will open, and the calculation starts.
14. You may get a window asking if you want to generate the file
COLLISON.txt. Answer “No”
15. During the cascade calculation, on the screen you will see small
isolated pockets of damage, with no intermediate ion tracks. The
TRIM damage plots may be accessed normally at any time. The
cascade results will be stored in COLLISON.txt if you answered
“Yes” in the above step. You may interrupt the calculation at any time,
and continue it later (TRIM will start where it left off).
Below is file TRIM2.DAT: - Neutron / Electron / Photon Cascades
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ TRIM - Recoil Cascade Data File ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
█ Top 10 lines are user comments, with line #8 describing experiment. █
█ Line #8 will be written into all TRIM output files ( various files: *.TXT).█
█ Data Table line consist of: EventName(5 char)+9 numbers separated by spaces.█
█ The Event Name consists of any 5 characters to identify that line. █
█ Cos(X) = 1 for normal incidence, and Cos(X) = -1 for backwards. █
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Typical Data File is shown below ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
╔═══ Recoils from 1670000eV electrons in SiO2(1200A)+GaAs(10000A) ═══════════╗
Event Atom Energy Depth Lateral-Position ----- Atom Direction ----
Name Numb (eV) _X_(A) _Y_(A) _Z_(A) Cos(X) Cos(Y) Cos(Z)
A-1 8 59.2 322 24 12.34 0.99998 .000012 -.000017
C-3 33 1259. 10.3E3 432 12.3E2 -0.23258 -.543453 .443483
AA-1 8 9876. 522 -24.3 -12 0.99998 .000012 -.000017
123C 14 1.56E4 2222 -33 -69 0.62344 -.295513 .003415
9875 33 7.31E4 3322 -82.9 154 0.34234 -.336437 -.017437

You might also like