Dear all,
I am trying to use Shake command for molecules.
First, the simulation of propane in bulk is being tried.
When I eliminated the SHAKE command, it worked and then I guess that the command which I wrote has problems.
The version of LAMMPS is Mar20 2016.
I attached my data file and molecule file and the following is a part of the log file.
Any advice would be greatly appreciated.
variable t equal 353
variable seed equal 31798.0000
units metal
atom_style full
boundary p p p
pair_style lj/cut 14.0
pair_modify mix arithmetic
pair_modify tail yes
bond_style harmonic
angle_style harmonic
read_data C3_nve.txt
orthogonal box = (0 0 0) to (50 50 50)
2 by 2 by 5 MPI processor grid
WARNING: Pair style in data file differs from currently defined pair style (…/read_data.cpp:478)
reading atoms …
12 atoms
scanning bonds …
1 = max bonds/atom
scanning angles …
1 = max angles/atom
reading bonds …
8 bonds
reading angles …
4 angles
2 = max # of 1-2 neighbors
1 = max # of 1-3 neighbors
1 = max # of 1-4 neighbors
2 = max # of special neighbors
molecule propane C3H8.txt
Read molecule propane:
3 atoms with 2 types
2 bonds with 1 types
1 angles with 1 types
0 dihedrals with 0 types
0 impropers with 0 types
group gas type 1 2
12 atoms in group gas
neighbor 1.5 bin
neigh_modify every 5 delay 0
compute mdtemp gas temp
compute_modify mdtemp dynamic yes
velocity gas create 353 31798 mom yes rot yes dist gaussian
fix const_bond gas shake 1.0e-8 200 0 b 1 a 1 t 1 2 m 15.035 14.027 mol propane
0 = # of size 2 clusters
0 = # of size 3 clusters
0 = # of size 4 clusters
4 = # of frozen angles
fix test gas nvt temp $t $t 10
fix test gas nvt temp 353 $t 10
fix test gas nvt temp 353 353 10
#fix_modify test temp mdtemp
thermo_style custom step atoms vol etotal temp press
thermo_modify format float %24.16g
thermo 1000
timestep 0.000001
run 10000
Neighbor list info …
1 neighbor list requests
update every 5 steps, delay 0 steps, check yes
max neighbors/atom: 2000, page size: 100000
master list distance cutoff = 15.5
ghost atom cutoff = 15.5
binsize = 7.75 -> bins = 7 7 7
Memory usage per processor = 7.76296 Mbytes
Step Atoms Volume TotEng Temp Press
0 12 125000 0.501845135900433 554.7142857142857 -109445658522.7831
1000 12 125000 -nan -nan nan
2000 12 125000 -nan -nan nan
3000 12 125000 -nan -nan nan
4000 12 125000 -nan -nan nan
5000 12 125000 -nan -nan nan
6000 12 125000 -nan -nan nan
7000 12 125000 -nan -nan nan
8000 12 125000 -nan -nan nan
9000 12 125000 -nan -nan nan
10000 12 125000 -nan -nan nan
Loop time of 0.593495 on 20 procs for 10000 steps with 12 atoms
Performance: 1.456 ns/day, 16.486 hours/ns, 16849.332 timesteps/s
99.6% CPU use with 20 MPI tasks x 1 OpenMP threads
MPI task timing breakdown:
Section | min time | avg time | max time |%varavg| %total
C3_nve.txt (971 Bytes)
C3H8.txt (569 Bytes)