<div dir="ltr">Hi David,<br><br>On Friday, October 25, 2013 9:03:09 PM UTC+1, David Stelter wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Matt,<div><br></div><div>We have looked into EXTERNAL_POTENTIAL, some guidance on the section would be appreciated! I've read on these forums that people have put an efield value as a parameter in this section. How is this section treated? I want to apply an efield, but shouldn't I be putting in a potential multiplied by some distance of the periodic box?</div><div><br></div></div></blockquote><div><br></div><div>in the DFT section</div><div><br></div><div>     &EXTERNAL_POTENTIAL<br>        FUNCTION Z*(A/B)<br>        PARAMETERS A B<br>        VALUES [eV] 0.1  [angstrom] 1.0<br>    &END<br></div><div><br></div><div>should add a field of 0.1 V/A along the Z direction of your QM cell. This is just a classic sawtooth potential - but as your QM region has vacuum around it there should be no issues.</div><div><br></div><div>As Flo notes for the periodic_efield, I think this will only act on the QM region. Adding a similar potential over the classical region would cause issues with periodicity. </div><div><br></div><div>I haven't tried it in combination with ROKS or QMMM.</div><div><br></div><div>Maybe an easier solution is just to add some artificial charges into the MM region to generate the field? Though you'd have to take into account that their effect would get screened by solvent...</div><div><br></div><div>Matt</div><div><br></div></div>