git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8684 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
7220
examples/rigid/data.rigid.tnr
Normal file
7220
examples/rigid/data.rigid.tnr
Normal file
File diff suppressed because it is too large
Load Diff
89
examples/rigid/in.rigid.tnr
Normal file
89
examples/rigid/in.rigid.tnr
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
# Tethered nanorods
|
||||||
|
|
||||||
|
atom_style molecular
|
||||||
|
|
||||||
|
read_data data.rigid.tnr
|
||||||
|
|
||||||
|
# Specify bond parameters
|
||||||
|
|
||||||
|
bond_style fene
|
||||||
|
bond_coeff 1 30.0 1.5 1.0 1.0
|
||||||
|
|
||||||
|
special_bonds fene
|
||||||
|
|
||||||
|
# Specify initial velocities
|
||||||
|
|
||||||
|
velocity all create 1.4 109345
|
||||||
|
|
||||||
|
# Specify rigid components
|
||||||
|
|
||||||
|
group rods type 2
|
||||||
|
group tethers subtract all rods
|
||||||
|
|
||||||
|
neigh_modify exclude molecule rods delay 0 every 1
|
||||||
|
|
||||||
|
# Specify the pair potentials
|
||||||
|
|
||||||
|
pair_style lj/cut 2.5
|
||||||
|
pair_modify shift yes
|
||||||
|
pair_coeff * * 1.0 1.0 1.122
|
||||||
|
pair_coeff 2 2 1.0 1.0 2.5
|
||||||
|
|
||||||
|
# Specify output
|
||||||
|
|
||||||
|
thermo 100
|
||||||
|
thermo_style custom step temp pe etotal press enthalpy lx ly lz pxx pyy pzz
|
||||||
|
thermo_modify flush yes lost warn
|
||||||
|
|
||||||
|
timestep 0.005
|
||||||
|
|
||||||
|
log log.tnr
|
||||||
|
|
||||||
|
fix 1 rods rigid molecule
|
||||||
|
fix 2 tethers nve
|
||||||
|
fix 3 all langevin 1.4 1.4 1.0 437624
|
||||||
|
|
||||||
|
run 5000
|
||||||
|
|
||||||
|
# Replace fix rigid and fix langevin with new ones
|
||||||
|
unfix 1
|
||||||
|
unfix 3
|
||||||
|
|
||||||
|
fix 3 tethers langevin 1.4 1.4 1.0 198450
|
||||||
|
|
||||||
|
# Test different integrators for rods
|
||||||
|
fix 1 rods rigid/nve molecule
|
||||||
|
print "rigid/nve"
|
||||||
|
run 1000
|
||||||
|
unfix 1
|
||||||
|
|
||||||
|
fix 1 rods rigid/nvt molecule temp 1.4 1.4 1.0
|
||||||
|
print "rigid/nvt"
|
||||||
|
run 1000
|
||||||
|
unfix 1
|
||||||
|
|
||||||
|
compute myTemp all temp
|
||||||
|
|
||||||
|
fix 1 rods rigid/npt molecule temp 1.4 1.4 1.0 iso 0.05 0.05 1.0 &
|
||||||
|
dilate all
|
||||||
|
print "rigid/npt iso"
|
||||||
|
fix_modify 1 temp myTemp
|
||||||
|
|
||||||
|
run 1000
|
||||||
|
unfix 1
|
||||||
|
|
||||||
|
fix 1 rods rigid/npt molecule temp 1.4 1.4 1.0 x 0.05 0.05 1.0 dilate all
|
||||||
|
print "rigid/npt x"
|
||||||
|
run 1000
|
||||||
|
unfix 1
|
||||||
|
|
||||||
|
fix 1 rods rigid/nph molecule iso 0.05 0.05 1.0 dilate all
|
||||||
|
print "rigid/nph iso"
|
||||||
|
run 1000
|
||||||
|
unfix 1
|
||||||
|
|
||||||
|
fix 1 rods rigid/nph molecule x 0.05 0.05 1.0 y 0.05 0.05 1.0 &
|
||||||
|
couple xy dilate all
|
||||||
|
print "rigid/nph xy couple"
|
||||||
|
run 1000
|
||||||
|
|
||||||
54
examples/rigid/log.rigid.tnr.9Jan12.linux.1
Normal file
54
examples/rigid/log.rigid.tnr.9Jan12.linux.1
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
LAMMPS (21 Aug 2012)
|
||||||
|
# Tethered nanorods
|
||||||
|
|
||||||
|
atom_style molecular
|
||||||
|
|
||||||
|
read_data data.rigid.tnr
|
||||||
|
1 = max bonds/atom
|
||||||
|
orthogonal box = (-31.122 -31.122 -31.122) to (31.122 31.122 31.122)
|
||||||
|
1 by 1 by 1 MPI processor grid
|
||||||
|
5600 atoms
|
||||||
|
1600 bonds
|
||||||
|
2 = max # of 1-2 neighbors
|
||||||
|
1 = max # of 1-3 neighbors
|
||||||
|
1 = max # of 1-4 neighbors
|
||||||
|
2 = max # of special neighbors
|
||||||
|
|
||||||
|
# Specify bond parameters
|
||||||
|
|
||||||
|
bond_style fene
|
||||||
|
bond_coeff 1 30.0 1.5 1.0 1.0
|
||||||
|
|
||||||
|
special_bonds fene
|
||||||
|
2 = max # of 1-2 neighbors
|
||||||
|
2 = max # of special neighbors
|
||||||
|
|
||||||
|
# Specify initial velocities
|
||||||
|
|
||||||
|
velocity all create 1.4 109345
|
||||||
|
|
||||||
|
# Specify rigid components
|
||||||
|
|
||||||
|
group rods type 2
|
||||||
|
4000 atoms in group rods
|
||||||
|
group tethers subtract all rods
|
||||||
|
1600 atoms in group tethers
|
||||||
|
|
||||||
|
neigh_modify exclude molecule rods delay 0 every 1
|
||||||
|
|
||||||
|
# Specify the pair potentials
|
||||||
|
|
||||||
|
pair_style lj/cut 2.5
|
||||||
|
pair_modify shift yes
|
||||||
|
pair_coeff * * 1.0 1.0 1.122
|
||||||
|
pair_coeff 2 2 1.0 1.0 2.5
|
||||||
|
|
||||||
|
# Specify output
|
||||||
|
|
||||||
|
thermo 100
|
||||||
|
thermo_style custom step temp pe etotal press enthalpy lx ly lz pxx pyy pzz
|
||||||
|
thermo_modify flush yes lost warn
|
||||||
|
|
||||||
|
timestep 0.005
|
||||||
|
|
||||||
|
log log.tnr
|
||||||
54
examples/rigid/log.rigid.tnr.9Jan12.linux.4
Normal file
54
examples/rigid/log.rigid.tnr.9Jan12.linux.4
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
LAMMPS (21 Aug 2012)
|
||||||
|
# Tethered nanorods
|
||||||
|
|
||||||
|
atom_style molecular
|
||||||
|
|
||||||
|
read_data data.rigid.tnr
|
||||||
|
1 = max bonds/atom
|
||||||
|
orthogonal box = (-31.122 -31.122 -31.122) to (31.122 31.122 31.122)
|
||||||
|
1 by 2 by 2 MPI processor grid
|
||||||
|
5600 atoms
|
||||||
|
1600 bonds
|
||||||
|
2 = max # of 1-2 neighbors
|
||||||
|
1 = max # of 1-3 neighbors
|
||||||
|
1 = max # of 1-4 neighbors
|
||||||
|
2 = max # of special neighbors
|
||||||
|
|
||||||
|
# Specify bond parameters
|
||||||
|
|
||||||
|
bond_style fene
|
||||||
|
bond_coeff 1 30.0 1.5 1.0 1.0
|
||||||
|
|
||||||
|
special_bonds fene
|
||||||
|
2 = max # of 1-2 neighbors
|
||||||
|
2 = max # of special neighbors
|
||||||
|
|
||||||
|
# Specify initial velocities
|
||||||
|
|
||||||
|
velocity all create 1.4 109345
|
||||||
|
|
||||||
|
# Specify rigid components
|
||||||
|
|
||||||
|
group rods type 2
|
||||||
|
4000 atoms in group rods
|
||||||
|
group tethers subtract all rods
|
||||||
|
1600 atoms in group tethers
|
||||||
|
|
||||||
|
neigh_modify exclude molecule rods delay 0 every 1
|
||||||
|
|
||||||
|
# Specify the pair potentials
|
||||||
|
|
||||||
|
pair_style lj/cut 2.5
|
||||||
|
pair_modify shift yes
|
||||||
|
pair_coeff * * 1.0 1.0 1.122
|
||||||
|
pair_coeff 2 2 1.0 1.0 2.5
|
||||||
|
|
||||||
|
# Specify output
|
||||||
|
|
||||||
|
thermo 100
|
||||||
|
thermo_style custom step temp pe etotal press enthalpy lx ly lz pxx pyy pzz
|
||||||
|
thermo_modify flush yes lost warn
|
||||||
|
|
||||||
|
timestep 0.005
|
||||||
|
|
||||||
|
log log.tnr
|
||||||
Reference in New Issue
Block a user