DrudeForce

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Michal Krompiec
Posts: 21
Joined: Tue Jul 02, 2019 1:17 pm

DrudeForce

Post by Michal Krompiec » Fri Nov 01, 2019 7:37 am

Hi,
Could someone explain how to add Drude particles to a FF? In swm4ndp.xml, does this bit:

Code: Select all

 <DrudeForce>
  <Particle type1="swm4ndp-OD" type2="swm4ndp-O" charge="-1.71636" polarizability="0.000978253" thole="1.3"/>
 </DrudeForce>
mean: "add a Drude particle swm4ndp-OD to atom swm4ndp-O, total charge of swm4ndp-OD + swm4ndp-O shall be -1.71636? How is the spring constant specified?

User avatar
Peter Eastman
Posts: 2571
Joined: Thu Aug 09, 2007 1:25 pm

Re: DrudeForce

Post by Peter Eastman » Fri Nov 01, 2019 10:06 am

There's a few different parts to it. First there's an atom type swm4ndp-OD defined as

Code: Select all

  <Type name="swm4ndp-OD" class="OWD" mass="0.4"/>
Notice that, unlike most atom types, there's no "element" attribute. That's how it knows this is an "extra particle", one that doesn't correspond to an actual atom. Next there's this line in the residue template:

Code: Select all

   <Atom name="OD" type="swm4ndp-OD"/>
That tells it to expect the residue to contain a particle that can be matched to that type (its element will be set to None). That still doesn't say to add it. It just says to expect that particle to already be there. However, if the user calls Modeller.addExtraParticles(), the extra particle will get added.

Finally there's the line you quoted in the <DrudeForce> tag. That tells it what parameters to use for a Drude particle of type swm4ndp-OD connected to an atom of type swm4ndp-O.

Here are some pieces of documentation that may help to explain these things:

http://docs.openmm.org/latest/userguide ... c-concepts
http://docs.openmm.org/latest/userguide ... -particles
http://docs.openmm.org/latest/userguide ... ude-plugin

User avatar
Michal Krompiec
Posts: 21
Joined: Tue Jul 02, 2019 1:17 pm

Re: DrudeForce

Post by Michal Krompiec » Fri Nov 01, 2019 10:24 am

Thank you!

User avatar
Michal Krompiec
Posts: 21
Joined: Tue Jul 02, 2019 1:17 pm

Re: DrudeForce

Post by Michal Krompiec » Mon Dec 30, 2019 11:32 am

One more question: what is the default unit of polarizability?

POST REPLY