|
From: | Axel Arnold |
Subject: | Re: [ESPResSo-users] Fwd: COMFIXED does not work |
Date: | Thu, 23 Aug 2012 18:57:16 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
On 08/17/2012 10:48 AM, Farnoosh
Farahpoor wrote:
Hi Farnoush, sorry that it took a bit longer. COMFIXED requires nonperiodic boundary conditions - it removes the COM force, which does not work in PBC, and therefore not with P3M. In PBC, one has to do a Galilei transform instead, which of course has the disadvantage of interfering with the dynamics. In general, COMFIXED is supposed to complain when you try to start it with periodic BC, but the error output was broken. It actually should also complain if you use more than one CPU, that is why the testsuite code bails out if there is more than one node. I have fixed the error output in SVN, should be upstream in a day. For your simulations, if you do not need periodic bc, then you should use debye-hueckel with zero screening to get a direct Coulomb. That is slower, but P3M has necessarily periodic bc. If you need PBC, then you have to resort to periodically galilei-transform the particles of interest and use e.g. DPD so the moment is conserved. There is a routine "galileiTransformParticles" in the scripts subfolder, which you can use. If you want only parts of the particles, you can write a correspondingly modified version. However, I am not sure whether under periodic bc, that is a good idea... Axel
-- JP Dr. Axel Arnold ICP, Universität Stuttgart Pfaffenwaldring 27 70569 Stuttgart, Germany Email: address@hidden Tel: +49 711 685 67609 |
[Prev in Thread] | Current Thread | [Next in Thread] |