File: in.elstop

package info (click to toggle)
lammps 20210122~gita77bb%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 331,996 kB
  • sloc: cpp: 802,213; python: 24,256; xml: 14,949; f90: 10,448; ansic: 8,476; perl: 4,161; sh: 3,466; fortran: 2,805; makefile: 1,250; objc: 238; lisp: 163; csh: 16; awk: 14; tcl: 6
file content (38 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Test case / example for fix electron/stopping
# Perfect Si lattice with one primary knock-on atom.
#
# Also uses fix dt/reset, as one should when energies are high
# enough to require electronic stopping.

units metal
boundary p p p
timestep 0.0001

lattice fcc 5.431

region rbox block -10 10 -10 10 -10 10
create_box 1 rbox

mass 1 28.0855

create_atoms 1 box

velocity all create 300 42534 mom yes rot yes

group gPKA id 1
velocity gPKA set 1120 1620 389

pair_style sw
pair_coeff * * Si.sw Si

fix fdt all dt/reset 1 NULL 0.001 0.1 emax 20.0
fix fel all electron/stopping 1.0 Si.Si.elstop
fix fnve all nve

thermo 10
thermo_style custom step time dt f_fel

#compute ek all ke/atom
#dump mydump all custom 200 elstop.dump id x y z vx vy vz fx fy fz c_ek

run 5000