[gmx-developers] External E Field PME
David van der Spoel
spoel at xray.bmc.uu.se
Sat Dec 13 11:36:18 CET 2014
On 2014-12-13 11:17, Berk Hess wrote:
> Hi,
>
> That sounds like an ancient comment.
> An electric field can be applied directly on the charges, as it is done now. But note that there are unresolvable issues with the typical infinitely periodic simulation system and an external field while you usually want to mimic a small part of a large, non-periodic system. The boundary conditions at infinity are important here. There is some literature on this.
> A proper solution is generating a field using confined ions.
I recommend my paper on this topic:
Carl Caleman and David van der Spoel: Picosecond Melting of Ice by an
Infrared Laser Pulse - A Simulation Study Angew. Chem. Intl. Ed. 47 pp.
1417-1420 (2008)
which even deals with the PBC effects (in the supporting information).
>
> Cheers,
>
> BerkOn Dec 13, 2014 9:14 AM, Timothy DeWolf <tdewolf at uvic.ca> wrote:
>>
>> Hi!
>>
>> I just signed up for this list, and I’d like to contribute to GROMACS. I’m a Ph.D. student, with relevant background in physics, biochemistry, and engineering.
>>
>> I’m interested in extending GROMACS’ abilities to impose user-defined electric fields, and specifically interested in spatially constant time-varying fields. I looked at calc_f_el in sim_util.cpp, having read “Patching mdrun” on the GROMACS website, and see that it would be fairly easy to modify. But I’m concerned about this “WARNING” in the comment lines above the function definition, which state that there “can be problems with the virial.”
>>
>> The solution proposed there is to implement the “externally imposed” field directly in PME. I’m not an expert yet, but I read the relevant section in Berendsen’s book and the ’95 smooth PME paper to get up to speed; I haven’t yet got to a detailed study of pme.c.
>>
>> What is the best place to begin? I suppose that a linearly increasing potential mapped to each charge along with the FT lattice sum terms in the PME routine(s) would do it? May I please ask for any suggestions, ideas or hints (possibly including relevant spots in the code)?
>>
>>
>>
>> Tim
>>
>>
--
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
spoel at xray.bmc.uu.se http://folding.bmc.uu.se
More information about the gromacs.org_gmx-developers
mailing list