Write LAMMPS Data File with VMD Software

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ย. 2024
  • TopoTools is a VMD plugin for manipulating topology information. This plugin write out atom coordinates, properties, bond, angle, dihedral and other related topology info stored inside VMD to a LAMMPS data file, i.e. a file suitable for the read_data command.
    learn more: lammpstube.com

ความคิดเห็น • 39

  • @hamb816
    @hamb816 3 ปีที่แล้ว +2

    you don't believe how precise this video was posted in terms of timing, my case though.
    Wish you the very best.

    • @K_Shawn_Webb
      @K_Shawn_Webb 2 ปีที่แล้ว +2

      Bro same... i was only getting the bonds and was so confused why it wasnt generating angles/dihedrals. saved my bacon after me searching for over 12 hours...

  • @K_Shawn_Webb
    @K_Shawn_Webb 2 ปีที่แล้ว +3

    Thanks so much for this. The VMD user manual is not very intuitive for new users! You saved my grade!!!!

  • @javeedahmaddar1026
    @javeedahmaddar1026 3 ปีที่แล้ว +2

    I have given all the commands but at the end it shows as
    "error, need to have non zero box size to write a data file"
    could you please help.

    • @lammpstube
      @lammpstube  3 ปีที่แล้ว +1

      Please use 1.9.2 version of VMD software ...

    • @devildog713
      @devildog713 2 ปีที่แล้ว

      @@lammpstube is there anyway around this? i need to erase and redownload? ty.

    • @lammpstube
      @lammpstube  2 ปีที่แล้ว +1

      ​@@devildog713​Please use below link:
      lammps.ir/VMD-windows64.exe

    • @K_Shawn_Webb
      @K_Shawn_Webb 2 ปีที่แล้ว +2

      you could also try:
      pbc set {X Y Z 0 0 0}
      Where the X Y and Z are the dimensions of your box.

    • @drstrangecoin6050
      @drstrangecoin6050 2 ปีที่แล้ว

      honestly, been getting the same error with ver. 1.9.4a55

  • @pathickhalder96
    @pathickhalder96 ปีที่แล้ว

    I guess this uses the built-in forcefield parameters, like CGenFF. I have created a parameter file using fftk tool kit. Is there any way to tell VMD to use my parameter file and make lammps data file using this? Please let me know if it is possible.

  • @martfp88
    @martfp88 2 ปีที่แล้ว

    I did this with a pdb file generated from Avogadro. My molecule has a lot of double bonds C=C. It seems to me that the bond order is not being translated when I do this. Any tips?

  • @lucasdetogni4392
    @lucasdetogni4392 10 หลายเดือนก่อน

    Hey, thank you very much, this video was very helpful. One question is whether this procedure was to create a single biomolecule, how can I put 100 molecules in a box of water, for example?

    • @lammpstube
      @lammpstube  9 หลายเดือนก่อน

      For this, first a molecule is modeled and then it is repeated as many times as desired in a simulation box using the Packmol software. This video will be released soon on the channel.

  • @grad_student
    @grad_student 7 หลายเดือนก่อน

    how to create semiconductors like Si and GaAs. please help

  • @pavithramadhavi589
    @pavithramadhavi589 2 ปีที่แล้ว +1

    Thank you for this! Can Someone use this to get the data file for
    proteins?

    • @lammpstube
      @lammpstube  2 ปีที่แล้ว

      Yes, you can use this method to get the data file for
      proteins with lammps format. Also, the following link has good information about various protein-based structures data files:
      lammpstube.com/2020/04/03/pdb-file-format/

  • @debashissingmura4103
    @debashissingmura4103 ปีที่แล้ว

    It showing:
    ERROR) writelammpsdata: need to have non-zero box sizes to write a data file
    ERROR) writelammpsdata: current box sizes: {0.000000 0.000000 0.000000}
    -1
    Can you please show me the way?

    • @lammpstube
      @lammpstube  ปีที่แล้ว

      Please use 1.9.2 version of VMD software ...

    • @ilimselyardm9698
      @ilimselyardm9698 ปีที่แล้ว

      Another solution to that is you can put this line into the pdb file (you can open it with Notepad++) at the top row and it work for me but ım not sure if it will gone affect or change anything it works for me ım using this to make reaction molecule templates
      "CRYST1 1.000 1.000 1.000 90.00 90.00 90.00 P 1 1" (paste in without apostrophes)

    • @EvanG529
      @EvanG529 8 หลายเดือนก่อน

      1. Open PDB in any text editor
      2. change the first three numbers from 0.0000 to 1.0000
      3. save and close
      4. restart vmd and load the edited pdb
      5. input the command

  • @atomicsoul2990
    @atomicsoul2990 2 ปีที่แล้ว

    Thank you so much. This is extremely helpful. I have a question though, why is it showing many atom types of the same atom ? for instance in the mass section, you can see the same atom considered as different types, although the mass is the same.
    Do i need to specify the potential between all atom types in LAMMPS ?
    Sorry if these questions are trivial, I am a beginner.
    Thanks again

    • @lammpstube
      @lammpstube  2 ปีที่แล้ว

      You're welcome!
      These atoms, despite being the same, are chemically different from each other, and specific coefficients must be defined for each. See link below to read more:
      pubs.acs.org/doi/10.1021/j100389a010

    • @annumkhan5980
      @annumkhan5980 ปีที่แล้ว

      @@lammpstube I'm unable to do this. Can you please guide me which softwares should we be having for this process?

  • @YUVRAJSINGH-jo3wy
    @YUVRAJSINGH-jo3wy 3 ปีที่แล้ว +1

    Thank you so much

  • @SimonGravelle
    @SimonGravelle 3 ปีที่แล้ว +2

    Nice job

  • @anggonbarua4139
    @anggonbarua4139 2 ปีที่แล้ว

    How can i write pair_coefficient, angle_coefficient value in the data file?

    • @lammpstube
      @lammpstube  2 ปีที่แล้ว

      There are good examples for these cases in LAMMPS manual:
      docs.lammps.org/pair_coeff.html
      docs.lammps.org/angle_coeff.html

    • @anggonbarua4139
      @anggonbarua4139 2 ปีที่แล้ว

      @@lammpstube But those are the values! I mean for specific molecule for instance, benzene. where can i get those values in the data file?

    • @lammpstube
      @lammpstube  2 ปีที่แล้ว

      @@anggonbarua4139 You can use various force-fields such as:
      pubs.acs.org/doi/10.1021/j100389a010
      pubs.acs.org/doi/10.1021/ja00051a040
      ...

  • @ilimselyardm9698
    @ilimselyardm9698 ปีที่แล้ว

    For anyone having trouble with this error:
    ERROR) writelammpsdata: need to have non-zero box sizes to write a data file
    ERROR) writelammpsdata: current box sizes: {0.000000 0.000000 0.000000}
    You can put a line (given below) in the pdb file on toppest row and it works for me but ım not sure if its gone change anything ım using pdb files to make molecule templates for fix bond/react command ı have no problem using this way ı hope this helps
    "CRYST1 1.000 1.000 1.000 90.00 90.00 90.00 P 1 1" # paste it without apostrophes

    • @EvanG529
      @EvanG529 8 หลายเดือนก่อน

      lifesaver, thanks

  • @javeedahmaddar1026
    @javeedahmaddar1026 2 ปีที่แล้ว

    its giving me the wrong values of xlo, xhi

    • @lammpstube
      @lammpstube  2 ปีที่แล้ว

      As shown in video, these parameters must be modified manually by user in 1.9.2 version of VMD software.

  • @sharmimazumder9502
    @sharmimazumder9502 3 ปีที่แล้ว

    Can vmd topotools write data with charge?

    • @lammpstube
      @lammpstube  3 ปีที่แล้ว +1

      The best way to set atomic charge in data file is use "set/charge" command in LAMMPS script.

    • @sharmimazumder9502
      @sharmimazumder9502 3 ปีที่แล้ว

      @@lammpstube thanks sir

    • @lammpstube
      @lammpstube  3 ปีที่แล้ว

      @@sharmimazumder9502 Good luck!