Files
lammps/examples/USER/atc/bar1d_two_temperature/gaussianIC_ttm.log

169 lines
6.2 KiB
Plaintext

LAMMPS (7 Jul 2009)
#AtC Two temperature Coupling
# DESCRIPTION:
# full overlap of MD and FE regions w/ free ends & lateral periodic bcs
# initial gaussian electron temperature profile and uniform phonon temperature
# results in fast exchange followed by slower diffusion and finally relaxation
# to equilibrium
#
echo both
units real
atom_style atomic
# create domain
#lattice type reduced density rho* = 4*(sigma/a)^3,
# where N = 4 for fcc,
# s = 3.405 A (Wagner)
# a = 5.25 A (Ashcroft & Mermin, p. 70)
# to create restart :
# write_restart temp.bin
# then : restart2data temp.bin temp.init
#if {restart}
boundary f p p
pair_style lj/cut 13.5
read_data temp.init
orthogonal box = (-64.86 -16.215 -16.215) to (64.86 16.215 16.215)
1 by 1 by 1 processor grid
3456 atoms
3456 velocities
#endif
lattice fcc 5.405 origin 0.25 0.25 0.25
Lattice spacing in x,y,z = 5.405 5.405 5.405
region feRegion block -10 10 -3 3 -3 3
region mdRegion block -12 12 -3 3 -3 3
region mdInternal block -10 10 -3 3 -3 3
# create atoms, NOTE commented out for restart
#if !{restart}
#boundary f p p
#create_box 1 mdRegion
#create_atoms 1 region mdRegion
#mass 1 39.95
#pair_style lj/cut 13.5
#pair_coeff 1 1 .238 3.405 13.5
#velocity internal create 40 87287 mom yes loop geom
#endif
# specify interal/ghost atoms
group internal region mdInternal
2880 atoms in group internal
# do not define ghosts if outside fe region
#group ghost subtract all internal
neighbor 5. bin
neigh_modify every 10 delay 0 check no
# ID group atc PhysicsType ParameterFile
fix AtC internal atc two_temperature Ar_ttm.mat
# ID part keywords nx ny nz region
fix_modify AtC fem create mesh 10 1 1 feRegion f p p
# specify atom types
#fix_modify AtC transfer internal type internal
# fix a temperature
fix_modify AtC transfer fix temperature all 20.0
fix_modify AtC transfer initial temperature all 20.0
fix_modify AtC transfer initial electron_temperature all gaussian 0 0 0 1 0 0 5 20 20
fix_modify AtC transfer fix electron_temperature all gaussian 0 0 0 1 0 0 5 20 20
# turn on thermostat
fix_modify AtC extrinsic exchange off
fix_modify AtC transfer thermal control rescale 10
# equilibrate MD field
timestep 5.0
#timestep 0.1
thermo 10
#if !{restart}
#run 1000
#endif
# write restart file (for atoms)
#if !{restart}
#write_restart gaussianT0.dat
#endif
#output
fix_modify AtC transfer output gaussianIC_ttmFE 10 text
# change thermostat
fix_modify AtC transfer unfix temperature all
fix_modify AtC transfer unfix electron_temperature all
fix_modify AtC transfer thermal control flux
fix_modify AtC extrinsic exchange on
fix_modify AtC extrinsic electron_integration explicit 10
# run with FE
thermo_style custom step temp pe f_AtC[2] f_AtC[4]
reset_timestep 0
run 400
Memory usage per processor = 20.4457 Mbytes
Step Temp PotEng AtC[2] AtC[4]
0 16.671491 -6505.7593 20 21.852118
10 16.677475 -6505.5427 20.002541 21.837728
20 16.576352 -6504.1927 19.867309 21.822847
30 16.543006 -6503.5347 19.829679 21.807329
40 16.606315 -6503.9098 19.948237 21.79227
50 16.657241 -6504.1495 20.063768 21.77819
60 16.632334 -6503.6282 20.043346 21.764516
70 16.575817 -6502.7756 19.922594 21.750359
80 16.582959 -6502.556 19.854482 21.735666
90 16.619481 -6502.6709 19.843443 21.720989
100 16.61416 -6502.3553 19.823604 21.706411
110 16.63 -6502.2515 19.868881 21.692096
120 16.693117 -6502.6546 19.982758 21.67865
130 16.690721 -6502.395 19.998489 21.665851
140 16.614049 -6501.3546 19.912824 21.652674
150 16.61038 -6501.0505 19.922441 21.639146
160 16.722799 -6501.9758 20.079964 21.626427
170 16.770602 -6502.2509 20.17121 21.614856
180 16.650892 -6500.7765 20.054544 21.603105
190 16.541447 -6499.381 19.906876 21.590204
200 16.645228 -6500.2039 19.964842 21.577132
210 16.869527 -6502.3001 20.162483 21.565509
220 16.964383 -6503.0601 20.257183 21.55523
230 16.911611 -6502.3326 20.238311 21.545157
240 16.817036 -6501.1565 20.182711 21.534754
250 16.768709 -6500.4545 20.137714 21.524032
260 16.815288 -6500.7352 20.15617 21.51338
270 16.910049 -6501.5019 20.224357 21.50326
280 16.977499 -6502.0383 20.29341 21.493767
290 16.956659 -6501.6276 20.291231 21.484565
300 16.835262 -6500.213 20.164202 21.474772
310 16.71985 -6498.8264 20.004642 21.463806
320 16.69098 -6498.3213 19.932827 21.452076
330 16.761703 -6498.8528 20.012407 21.440668
340 16.868998 -6499.7478 20.16924 21.430476
350 16.984511 -6500.7709 20.340112 21.421697
360 17.123542 -6502.0546 20.527447 21.414404
370 17.196695 -6502.6994 20.623027 21.408269
380 17.078535 -6501.3567 20.479029 21.401788
390 16.82808 -6498.6218 20.180491 21.393274
400 16.644633 -6496.5257 19.969187 21.382648
Loop time of 38.0403 on 1 procs for 400 steps with 3456 atoms
Pair time (%) = 11.5723 (30.4211)
Neigh time (%) = 4.98386 (13.1015)
Comm time (%) = 0.111562 (0.293273)
Outpt time (%) = 0.00291038 (0.00765077)
Other time (%) = 21.3697 (56.1764)
Nlocal: 3456 ave 3456 max 3456 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Nghost: 12768 ave 12768 max 12768 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Neighs: 1.09177e+06 ave 1.09177e+06 max 1.09177e+06 min
Histogram: 1 0 0 0 0 0 0 0 0 0
FullNghs: 2.18354e+06 ave 2.18354e+06 max 2.18354e+06 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Total # of neighbors = 2183544
Ave neighs/atom = 631.812
Neighbor list builds = 40
Dangerous builds = 0