Draw dipole vector of a tagged molecule in VMD

It is often needed to visualize the dipole orientation of a tagged molecule. The following steps will guide to achieve this
  1. Select the molecule by its resid 
  2. Open Tk console from drop down menu of Extensions → Tk Console 
  3. Select every atom of the molecule by separate nicknames, by using the following command. Let say we would like to see the dipole moment vector of water molecules, in that case, the following codes need to be used 

  4. set ow [atomselect top "type OW"] 
    set hw1 [atomselect top "type HW1"]
    set hw2 [atomselect top "type HW2"] 

  5. Then set charge of every atom by using the following commands 

  6. $ow set charge -1.00
    $hw1 set charge -0.5
    $hw2 set charge -0.5


  7. Finally open the Etensions → Visualizations → Dipole Moment Watcher The following window will pop up



  8. Then select the molecules by its resid and change the color of the dipoles according to your need. One can select maximum of six dipoles to show at a time.

  9. The final snap will look like this 
Dipole moment representation of SPC/E water model

Comments

  1. Is the dipole measured in units of elementary charge meters, or in debye?

    ReplyDelete
    Replies
    1. You can see the snap shown in step 5, that the dipoles value will be calculated in Debye.

      Delete

Post a Comment

Popular posts from this blog

VMD High Resolution Image and Movie

Inset Plot in GRACE (Xmgrace)