Files
lammps/tools/moltemplate/examples/all_atom_examples/nanotube+water

This is a small version of a carbon-nanotube, water capillary system.
It was inspired by this paper:

    Laurent Joly, J. Chem. Phys. 135(21):214705 (2011)

-------- Requirements: -------
To run this system at constant pressure, it might help to compile LAMMPS 
with the optional RIGID package, and use "fix rigid" on the carbon.
(The use of fix rigid is controversial.)  Running at NVT does not require this.
------------------------------

Note: To investigate the behavior from that paper, it might be a good
      idea to increase the size of the water reservoir, the spacing between
      the walls, and the size of the system in the X and Y directions.

Note: Explicit carbon-carbon bonds:
      In the graphene and nanotube structures, I did not try to connect the 
      carbon atoms together with bonds.  Instead we will hold these structures
      rigid by not integrating their equations of motion. 
      (If you want to simulate movement of the carbon atoms at high 
       temperatures or tension, LAMMPS has 3-body/many-body LAMMPS force-fields 
       available for simulating the behaviour of carbon in graphite. I know 
       that you don't need to specify bonds to use these force fields.  I do 
       not know know if these force fields work for nanotubes or graphene.)

Note: Other modeling tools:
      If you need explicit bonds between carbon atoms, then you must add them
      yourself or use a different tool. Currently (2012-10-20), moltemplate does
      not generate bonds automatically.  The "Nanotube Builder" and "topotools"
      plugins for for VMD can generate a nanotube with bonds in LAMMPS data
      format.  You can then convert this data file to .LT format using the
      ltemplify.py utility and then import it into another .LT file and play 
      with it later.  (In the "cnad-cnt" example, the carbon nanotube was built
      using "Nanotube Builder" and topotools, and processed with ltemplify.py)