Write LAMMPS Data File with VMD Software

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 43

  • @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 3 года назад +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 3 года назад +3

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

  • @carlk3774
    @carlk3774 10 дней назад

    you are my savior

  • @afrinaayrin1737
    @afrinaayrin1737 3 месяца назад

    Hello, I am struggling with atom types of same element atoms which I need to denote differently in the Lammps data file from VMD. For example , in my pdb file there are 2 carbon atoms from two molecules, i dont want both of them to denoted by same atom type( say 1) in the lammps data file. Could you suggest how to solve the issue?

  • @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.

  • @lucasdetogni4392
    @lucasdetogni4392 Год назад

    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  Год назад

      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.

  • @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?

  • @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 3 года назад

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

    • @lammpstube
      @lammpstube  3 года назад +1

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

    • @K_Shawn_Webb
      @K_Shawn_Webb 3 года назад +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

  • @YUVRAJSINGH-jo3wy
    @YUVRAJSINGH-jo3wy 3 года назад +1

    Thank you so much

  • @atomicsoul2990
    @atomicsoul2990 3 года назад

    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  3 года назад

      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?

  • @SimonGravelle
    @SimonGravelle 3 года назад +2

    Nice job

  • @pavithramadhavi589
    @pavithramadhavi589 3 года назад +1

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

    • @lammpstube
      @lammpstube  3 года назад

      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/

  • @grad_student
    @grad_student Год назад

    how to create semiconductors like Si and GaAs. please help

  • @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 Год назад

      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

  • @anggonbarua4139
    @anggonbarua4139 3 года назад

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

    • @lammpstube
      @lammpstube  3 года назад

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

    • @anggonbarua4139
      @anggonbarua4139 3 года назад

      @@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  3 года назад

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

  • @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!

  • @javeedahmaddar1026
    @javeedahmaddar1026 3 года назад

    its giving me the wrong values of xlo, xhi

    • @lammpstube
      @lammpstube  3 года назад

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

  • @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 Год назад

      lifesaver, thanks

  • @fitnesshom6917
    @fitnesshom6917 3 месяца назад

    0.000000 0.000000 xlo xhi
    0.000000 0.000000 ylo yhi
    0.000000 0.000000 zlo zhi
    why ?

    • @lammpstube
      @lammpstube  2 месяца назад

      In old versions of VMD software (like VMD 1.9.2) the size of simulation box prints incorrectly and must be corrected manually.