Files
lammps/examples/USER/imd
Axel Kohlmeyer 9259ae8699 Merge branch 'master' into lammps-icms
Resolved Conflicts:
	doc/Eqs/pair_coul_diel.jpg
	doc/Section_commands.html
	doc/Section_commands.txt
	doc/pair_coul_diel.html
	doc/pair_coul_diel.txt
	doc/processors.html
	doc/processors.txt
	examples/USER/imd/bucky_cnt_imd.vmd
	examples/USER/imd/in.bucky-plus-cnt
	examples/USER/imd/in.deca-ala-solv_imd
	examples/USER/imd/in.deca-ala_imd
	lib/gpu/Makefile.fermi
	lib/gpu/Makefile.lincoln
	lib/gpu/Makefile.longhorn
	lib/gpu/Makefile.serial
	lib/gpu/geryon/VERSION.txt
	lib/gpu/pair_gpu_device.cpp
	src/ASPHERE/atom_vec_ellipsoid.cpp
	src/CLASS2/Install.sh
	src/COLLOID/atom_vec_colloid.cpp
	src/DIPOLE/atom_vec_dipole.cpp
	src/GPU/fix_gpu.cpp
	src/GRANULAR/atom_vec_granular.cpp
	src/GRANULAR/fix_pour.h
	src/KSPACE/Install.sh
	src/KSPACE/fft3d.cpp
	src/KSPACE/fft3d.h
	src/KSPACE/kissfft.h
	src/KSPACE/pppm.cpp
	src/KSPACE/pppm.h
	src/KSPACE/pppm_tip4p.cpp
	src/MAKE/Makefile.openmpi
	src/MAKE/Makefile.serial
	src/MANYBODY/pair_airebo.cpp
	src/MANYBODY/pair_comb.cpp
	src/MANYBODY/pair_eam.cpp
	src/MANYBODY/pair_eim.cpp
	src/MANYBODY/pair_sw.cpp
	src/MANYBODY/pair_tersoff.cpp
	src/MANYBODY/pair_tersoff_zbl.cpp
	src/MOLECULE/atom_vec_angle.cpp
	src/MOLECULE/atom_vec_bond.cpp
	src/MOLECULE/atom_vec_full.cpp
	src/MOLECULE/atom_vec_molecular.cpp
	src/Makefile
	src/Makefile.lib
	src/PERI/atom_vec_peri.cpp
	src/USER-CG-CMM/Install.sh
	src/USER-IMD/README
	src/USER-IMD/fix_imd.cpp
	src/USER-IMD/fix_imd.h
	src/USER-SMD/Install.sh
	src/atom_vec_atomic.cpp
	src/atom_vec_charge.cpp
	src/comm.cpp
	src/finish.cpp
	src/fix_box_relax.cpp
	src/fix_deposit.cpp
	src/fix_spring_self.cpp
	src/fix_store_state.cpp
	src/fix_wall.cpp
	src/fix_wall_reflect.cpp
	src/input.cpp
	src/input.h
	src/memory.cpp
	src/memory.h
	src/pair_lj_cut.cpp
	tools/restart2data.cpp
2011-12-31 19:07:46 -05:00
..

Interactive MD example files using the fix imd command

To run the demos, first start the LAMMPS simulation, during
initialization it will stop and wait for an IMD client to
connect. Then launch VMD on the same machine with the respective
script to connect and visualize the running simulation.  For example:

mpirun -np 4 lmp_linux -log none -in in.melt_imd &
vmd -e melt_imd-demo.vmd

When exiting VMD, the simulation will either continue or wait
for a new connection depending on whether the "nowait" flag was
activated or not.  To terminate the LAMMPS simulation, 
type "imd kill" into the VMD command line prompt.

To combine interactive MD with force feedback using a
Novint Falcon game controller, have a look at:
http://sites.google.com/site/akohlmey/software/vrpn-icms

Examples:

 melt: 
       an adapted version of the 3d-LJ melt example.
       the VMD visualization contains one highlighted
       atom to play with force application through a
       mouse: Open the Graphical Representations dialog,
       Double-click on the first VDW representation
       to disable it, click with the mouse on the blue
       atom and - while holding the mouse button down -
       drag the atom into some direction. A red arrow
       should appear indicating direction and magnitude
       of the force. Now double-click on the first VDW
       representation again to re-enable the rest of
       the atoms and watch the blue atom move.

bucky-plus-cnt:
       this is "the buckyball challenge". a demo that
       is very popular to demonstrate the use of IMD
       with force feedback. The system is a SWCNT with
       some atoms fixed in space and five C60 fullerenes
       in a reflecting wall box. The challenge is to
       push all five buckyballs into the nanotube and
       have them stay inside.

 deca-ala-solv:
       a solvated deca alanin helix. The mouse mode is
       preset to move residues instead of individual
       atoms. Disable the water rep and grab an atom
       from the peptide and drag it to apply forces.

 deca-ala:
       this is the same system as the previous, but 
       the fix is only applied to the peptide and thus
       the corresponding VMD script needs a different
       topology file with the matching number of atoms
       to visualize it and receive the IMD data.

In case of problems, contact <akohlmey@gmail.com>.