Beruflich Dokumente
Kultur Dokumente
region upper block INF INF INF INF INF INF units box
lattice fcc ${latparam} orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
create_atoms 1 region upper
######################################
# EQUILIBRATION
reset_timestep 0
timestep 0.005
velocity all create 300 12345 mom yes rot no
fix 1 all npt temp 300 300 1 iso 0 0 1 drag 1
######################################
# DEFORMATION
reset_timestep 0
# Display thermo
thermo 100
thermo_style custom step v_strain temp v_p2 v_p3 v_p4 ke pe press
run 4000
######################################
# SIMULATION DONE
print "All done"
Output
LAMMPS logfile
The log.lammps file should look like this below. Notice that the 20 ps (20,000 fs)
equilibration step brought the temperature of the simulation cell up to 300 K. The
corresponding deformation went up to a strain of 0.2. The thermo command was set
for every 1000 timesteps, so any plots should be made from the data included in the
datafile.
region upper block INF INF INF INF INF INF units box
lattice fcc ${latparam} orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
lattice fcc 4.05 orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
Lattice spacing in x,y,z = 4.05 4.05 4.05
create_atoms 1 region upper
Created 4000 atoms
# -----DEFORMATION -----
reset_timestep 0
fix 1 all npt temp 300 300 1 y 0 0 1 z 0 0 1 drag 1
variable srate equal 1e10
run 20000
Memory usage per processor = 2.8622 Mbytes
Step strain Temp p2 p3 p4 KinEng PotEng Press
0 -8.7965858e-11 298.01867 0.010886953 -0.015654682 -0.030204873
154.04923 -13284.646 116.57534
1000 -0.01 302.82586 -0.61033601 0.054190295 -0.0032380699
156.53411 -13286.645 1864.6126
2000 -0.02 298.61071 -1.2849368 -0.00313581 0.026906426
154.35526 -13281.302 4203.8871
3000 -0.03 302.18611 -1.8380212 -0.011375474 0.0087206074
156.20342 -13277.349 6135.5869
4000 -0.04 297.31028 -2.4628066 -0.0095117003 -0.026443669
153.68305 -13266.262 8329.2065
5000 -0.05 294.28788 -3.0927297 -0.0021071467 -0.050407399
152.12073 -13253.309 10484.147
6000 -0.06 301.6804 -3.7194292 -0.01909606 0.018996497
155.94201 -13242.696 12398.429
7000 -0.07 298.64768 -4.4073614 0.019050091 0.051288755
154.37437 -13223.403 14456.742
8000 -0.08 298.53159 -5.0314374 0.046526108 0.0042843939
154.31436 -13202.054 16602.09
9000 -0.09 289.63258 -5.5876729 0.0064037479 0.07394267
149.71436 -13172.278 18357.755
10000 -0.1 284.07377 -5.8774427 0.011876434 0.017658887
146.84095 -13140.895 19493.024
11000 -0.11 320.11761 -4.2791145 0.062847323 0.072604489
165.47242 -13130.428 13812.209
12000 -0.12 384.47793 -0.26899312 0.06384105 0.075858441
198.74099 -13172.063 430.97876
13000 -0.13 406.8698 -2.3913058 -0.036697295 -0.037783423
210.31561 -13200.26 8219.2883
14000 -0.14 385.84693 -3.3014902 0.059581512 -0.048723245
199.44864 -13199.524 10968.773
15000 -0.15 365.16317 -4.0204884 0.058056622 0.017209135
188.75697 -13191.173 13150.742
16000 -0.16 352.29941 -4.8141755 0.052769795 -0.039907224
182.10755 -13179.442 16004.377
17000 -0.17 333.83554 -5.4774396 0.014373592 -0.0069549415
172.56337 -13157.84 18233.403
18000 -0.18 326.9576 -6.0482935 0.022646093 0.050253999
169.00809 -13135.624 19917.978
19000 -0.19 328.65703 -5.4349022 -0.052976878 0.02948022
169.88654 -13113.032 18194.663
20000 -0.2 402.8138 -1.2165489 0.030833241 -0.037641657
208.21901 -13158.984 4077.8578
Loop time of 95.4143 on 8 procs for 20000 steps with 4000 atoms