lammps/examples/friction/log.friction.22Jun07.liberty.4

141 lines
4.6 KiB
Groff

LAMMPS (22 June 2007)
# 2d friction simulation
dimension 2
boundary p s p
atom_style atomic
neighbor 0.3 bin
neigh_modify delay 5
# create geometry
lattice hex 0.9
Lattice spacing in x,y,z = 1.1327 1.96189 1.1327
region box block 0 50 0 22 -0.25 0.25
create_box 4 box
Created orthogonal box = (0 0 -0.283174) to (56.6348 43.1615 0.283174)
2 by 2 by 1 processor grid
mass 1 1.0
mass 2 1.0
mass 3 1.0
mass 4 1.0
# atom regions
region lo-fixed block INF INF INF 1.1 INF INF
region lo-slab block INF INF INF 7 INF INF
region above-lo block INF INF INF 7 INF INF side out
region hi-fixed block INF INF 20.9 INF INF INF
region hi-slab block INF INF 15 INF INF INF
region below-hi block INF INF 15 INF INF INF side out
region lo-asperity sphere 32 7 0 8
region hi-asperity sphere 18 15 0 8
region lo-half-sphere intersect 2 lo-asperity above-lo
region hi-half-sphere intersect 2 hi-asperity below-hi
# create 2 surfaces with asperities
create_atoms 1 region lo-slab
Created 750 atoms
create_atoms 1 region hi-slab
Created 750 atoms
create_atoms 2 region lo-half-sphere
Created 110 atoms
create_atoms 3 region hi-half-sphere
Created 112 atoms
# LJ potentials
pair_style lj/cut 2.5
pair_coeff * * 1.0 1.0 2.5
# define groups
group lo region lo-slab
750 atoms in group lo
group lo type 2
860 atoms in group lo
group hi region hi-slab
750 atoms in group hi
group hi type 3
862 atoms in group hi
group lo-fixed region lo-fixed
150 atoms in group lo-fixed
group hi-fixed region hi-fixed
150 atoms in group hi-fixed
group boundary union lo-fixed hi-fixed
300 atoms in group boundary
group mobile subtract all boundary
1422 atoms in group mobile
set group lo-fixed type 4
150 settings made for type
set group hi-fixed type 4
150 settings made for type
# initial velocities
compute new mobile temp/partial 0 1 0
velocity mobile create 0.1 482748 temp new
velocity hi set 1.0 0.0 0.0 sum yes
# fixes
fix 1 all nve
fix 2 boundary setforce 0.0 0.0 0.0
fix 3 mobile temp/rescale 200 0.1 0.1 0.02 1.0
fix_modify 3 temp new
# Run
timestep 0.0025
thermo 1000
thermo_modify temp new
dump 1 all atom 500 dump.friction
run 20000
Memory usage per processor = 1.46023 Mbytes
Step Temp E_pair E_mol TotEng Press Volume
0 0.1 -3.1332695 0 -3.0920674 -1.3452097 1384.4128
1000 0.088860957 -3.0636883 0 -3.0270758 0.0047805196 1384.4128
2000 0.087112073 -3.066344 0 -3.030452 -0.63632956 1384.4128
3000 0.10058239 -3.0642114 0 -3.0227694 -0.25555813 1384.4128
4000 0.093260137 -3.0555323 0 -3.0171072 -0.40761447 1384.4128
5000 0.11067201 -3.0399212 0 -2.994322 0.066689705 1384.4128
6000 0.10526463 -3.0390544 0 -2.9956832 -0.51522958 1384.4128
7000 0.11541593 -3.0403447 0 -2.992791 -0.41397003 1384.4128
8000 0.10197576 -3.0347747 0 -2.9927585 -0.5486861 1384.4128
9000 0.11134064 -3.0333357 0 -2.9874611 -0.35496419 1384.4128
10000 0.11080628 -3.0436254 0 -2.9979709 -0.46700659 1384.4128
11000 0.11943821 -3.0413975 0 -2.9921865 -0.30699848 1384.4128
12000 0.10413208 -3.0510277 0 -3.0081231 -0.36572201 1384.4128
13000 0.099296169 -3.039397 0 -2.9984849 -0.4947437 1384.4128
14000 0.10330462 -3.0420671 0 -2.9995034 -0.39995589 1384.4128
15000 0.10870951 -3.038746 0 -2.9939554 -0.50477181 1384.4128
16000 0.11417657 -3.0464982 0 -2.9994551 -0.32657064 1384.4128
17000 0.10800189 -3.047902 0 -3.0034029 -0.41936081 1384.4128
18000 0.10829723 -3.0458306 0 -3.0012098 -0.41668893 1384.4128
19000 0.10404908 -3.0526816 0 -3.0098112 -0.41121519 1384.4128
20000 0.10691019 -3.0411759 0 -2.9971266 -0.23642395 1384.4128
Loop time of 8.68844 on 4 procs for 20000 steps with 1722 atoms
Pair time (%) = 3.88408 (44.704)
Neigh time (%) = 0.210725 (2.42535)
Comm time (%) = 3.2323 (37.2023)
Outpt time (%) = 0.152017 (1.74965)
Other time (%) = 1.20932 (13.9187)
Nlocal: 430.5 ave 482 max 375 min
Histogram: 1 1 0 0 0 0 0 0 0 2
Nghost: 92 ave 117 max 76 min
Histogram: 2 0 0 0 1 0 0 0 0 1
Neighs: 3601.25 ave 4057 max 3129 min
Histogram: 2 0 0 0 0 0 0 0 0 2
Total # of neighbors = 14405
Ave neighs/atom = 8.36527
Neighbor list builds = 750
Dangerous builds = 0