 
 
 
 
 
   
Now, you will carry out an SMD simulation that applies a constant force. In this case, the C atom of
the first residue is again kept fixed, but the SMD atom C
 atom of
the first residue is again kept fixed, but the SMD atom C of the last residue now experiences
a constant force in the direction defined by the vector that links both atoms, the fixed and the pulled one. 
Note that in this case there is no dummy atom or virtual spring.
 of the last residue now experiences
a constant force in the direction defined by the vector that links both atoms, the fixed and the pulled one. 
Note that in this case there is no dummy atom or virtual spring.  
 New Molecule... menu item and using
the Browse... and the Load buttons load the file   common/ubq.psf located in the common directory, and close the 
  Molecule File Browser window.
 New Molecule... menu item and using
the Browse... and the Load buttons load the file   common/ubq.psf located in the common directory, and close the 
  Molecule File Browser window. 
| set allatoms [atomselect top all] | |
| $allatoms set beta 0 | |
| set fixedatom [atomselect top "resid 1 and name CA"] | |
| $fixedatom set beta 1 | |
| $allatoms set occupancy 0 | 
| set smdatom [atomselect top "resid 76 and name CA"] | |
| $smdatom set occupancy 11.54 | 
You have now set the force to 11.54 kcal/mol/Å by entering the value into the occupancy field. It is equivalent to 800 pN.
| $smdatom set x  | |
| $smdatom set y  | |
| $smdatom set z   | 
where  ,
,  , and
, and  have to be replaced by the appropriate values you already calculated above (in our example 0.352, 0.402, and 0.845). Since the VMD OpenGL Display interprets the numbers just entered as coordinates of the SMD atom, it displays now an inaccurate protein structure. This is OK and we apologize for the poor appearance.
 have to be replaced by the appropriate values you already calculated above (in our example 0.352, 0.402, and 0.845). Since the VMD OpenGL Display interprets the numbers just entered as coordinates of the SMD atom, it displays now an inaccurate protein structure. This is OK and we apologize for the poor appearance.
 
 Delete Molecule menu item and keep VMD opened.
 Delete Molecule menu item and keep VMD opened. 
As you did before, in the next step you will modify the configuration file in order to set up your constant force simulation.
 sample.conf to the directory 3-2-pullcf and rename it by typing  copy common
sample.conf to the directory 3-2-pullcf and rename it by typing  copy common sample.conf 3-2-pullcf
sample.conf 3-2-pullcf ubq_ww_pcf.conf.
ubq_ww_pcf.conf. 
 ubq_ww_pcf.conf using WordPad.
ubq_ww_pcf.conf using WordPad. 
| structure mypsf.psf |  | structure ../common/ubq.psf | 
| coordinates mypdb.pdb |  | coordinates ../common/ubq_ww_eq.pdb | 
| outputName myoutput |  | outputName ubq_ww_pcf | 
In this way you are using the equilibrated protein without water in your simulation. The output files of your simulation will have the prefix ubq_ww_pcf in their names.
| parameters par_all27_prot_lipid.inp | 
 parameters ../common/par_all27_prot_lipid.inp
 parameters ../common/par_all27_prot_lipid.inp
   
| langevin on |  | langevin off | 
| if {0} { |  | if {1} { | 
| fixedAtomsFile myfixedatoms.pdb |  | fixedAtomsFile | 
| ../common/ubq_ww_eq2.ref | 
| constantforce | yes | 
| consforcefile | ../common/ubq_ww_eq2.ref | 
NAMD will apply a constant force to the atoms that have occupancy different from 0. The force
is calculated from the file as 
 , where
, where  is the value of the occupancy column.
 is the value of the occupancy column. 
| run 50000 |  | run 20000 | 
This is equivalent to 40 ps.
Now, all the files you need to launch your second simulation are ready. You should have a file called ubq_ww_pcf.conf in the 3-2-pullcf directory and files:
 
Note that the output file has no extra information in this case, since the applied force is now constant.
 
 
 
 
