RE: Hard wall on Z direction for ions

From: Vermaas, Joshua (
Date: Mon May 14 2018 - 10:57:10 CDT

Hi Fateme,

Turn off wrapAll. NAMD is wrapping the coordinates before tclBC sees them, and as a result they aren't actually being restricted from switching sides, at least based on the small force constant you used. However, if you are using PBC, it isn't really correct to think about an "upper" and "lower" side of your membrane, since the aqueous compartment is naturally connected across the periodic cell. The conventional way of handling this if you want different ion concentrations in two compartments is to make a system with two bilayers, and fill only one of the two systems with ions. Others have made approximately semi-periodic concentrations by applying external forces to the ions (10.1085/jgp.201311014), some of whom frequent this list and may be able to provide the NAMD inputs they used.


On 2018-05-14 08:18:20-06:00 wrote:

Dear NAMD users,
I have a POPE bilayer which is solvated in water and some ions just on the upper side of my membrane. During the run, due to the periodic boundary condition, some of them go from the upper boundary and come from lower boundary, so I have some unwanted ions in the inner side of my box. As a solution for this problem, Iíve used tclBC to apply a hard wall in Z direction, and added it to my conf file, then performed the simulation, but it did not work! So I still have unwanted ions in lower side of the box. The conf and tclBC files are incorporated to this email. (TclBC code is written in a general case which there are ions in both sides of the membrane and also prevents PBC for ions in Z direction, clearly this is not the reason of the failure.) Is there anyone who knows why this is not working?
 Best Regards,

This archive was generated by hypermail 2.1.6 : Mon Dec 31 2018 - 23:21:06 CST