git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6273 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2011-06-01 00:03:29 +00:00
parent 63953173fd
commit e07d86e93f
7 changed files with 213132 additions and 0 deletions

View File

@ -33,6 +33,7 @@ eim: NaCl using the EIM potential
ellipse: ellipsoidal particles in spherical solvent, 2d system
flow: Couette and Poiseuille flow in a 2d channel
friction: frictional contact of spherical asperities between 2d surfaces
gpu: use of the GPU package for GPU acceleration
indent: spherical indenter into a 2d solid
meam: MEAM test for SiC and shear (same as shear examples)
melt: rapid melt of 3d LJ system

21922
examples/gpu/data.phosphate Normal file

File diff suppressed because it is too large Load Diff

191072
examples/gpu/data.rhodo Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
# 3d Lennard-Jones melt
newton off
variable x index 2
variable y index 2
variable z index 2
variable xx equal 20*$x
variable yy equal 20*$y
variable zz equal 20*$z
units lj
atom_style atomic
lattice fcc 0.8442
region box block 0 ${xx} 0 ${yy} 0 ${zz}
create_box 1 box
create_atoms 1 box
mass 1 1.0
velocity all create 1.44 87287 loop geom
pair_style lj/cut/gpu 2.5
pair_coeff 1 1 1.0 1.0 2.5
neighbor 0.3 bin
neigh_modify delay 0 every 20 check no
fix 0 all gpu force/neigh 0 1 1
fix 1 all nve
thermo 100
run 5000

View File

@ -0,0 +1,34 @@
# 3d Lennard-Jones melt
newton off
variable x index 2
variable y index 2
variable z index 2
variable xx equal 20*$x
variable yy equal 20*$y
variable zz equal 20*$z
units lj
atom_style atomic
lattice fcc 0.8442
region box block 0 ${xx} 0 ${yy} 0 ${zz}
create_box 1 box
create_atoms 1 box
mass 1 1.0
velocity all create 1.44 87287 loop geom
pair_style lj/cut/gpu 5.0
pair_coeff 1 1 1.0 1.0 5.0
neighbor 0.3 bin
neigh_modify delay 0 every 20 check no
fix 0 all gpu force/neigh 0 1 1 threadsi_per_atom 8
fix 1 all nve
thermo 100
run 5000

View File

@ -0,0 +1,32 @@
# GI-System
units metal
newton off
atom_style charge
read_data data.phosphate
replicate 3 3 3
pair_style lj/cut/coul/long/gpu 15.0
pair_coeff 1 1 0.0 0.29
pair_coeff 1 2 0.0 0.29
pair_coeff 1 3 0.000668 2.5738064
pair_coeff 2 2 0.0 0.29
pair_coeff 2 3 0.004251 1.91988674
pair_coeff 3 3 0.012185 2.91706967
kspace_style pppm/gpu/single 1e-5
#kspace_style pppm/gpu/double 1e-5
neighbor 2.0 bin
thermo 100
timestep 0.001
fix 0 all gpu force/neigh 0 1 1
fix 1 all npt temp 400 400 0.01 iso 1000.0 1000.0 1.0
run 1000
unfix 1

37
examples/gpu/in.rhodo.gpu Normal file
View File

@ -0,0 +1,37 @@
# Rhodopsin model
newton off
variable x index 2
variable y index 2
variable z index 2
units real
neigh_modify delay 5 every 1
atom_style full
bond_style harmonic
angle_style charmm
dihedral_style charmm
improper_style harmonic
pair_style lj/charmm/coul/long/gpu 8.0 10.0
pair_modify mix arithmetic
kspace_style pppm/gpu/single 1e-4
kspace_style pppm/gpu/double 1e-4
read_data data.rhodo
replicate $x $y $z
fix 0 all gpu force/neigh 0 1 1
fix 1 all shake 0.0001 5 0 m 1.0 a 232
fix 2 all npt temp 300.0 300.0 100.0 &
z 0.0 0.0 1000.0 mtk no pchain 0 tchain 1
special_bonds charmm
thermo 100
thermo_style multi
timestep 2.0
run 1000