[gmx-developers] walls and pbc setting in CVS code

Berk Hess hessb at mpip-mainz.mpg.de
Mon Jul 21 10:57:07 CEST 2008


Hello,

I don't understand exactly what you want to do.
But if you are really convinced that it makes sense for your research,
you can modify the code.

In src/kernel/readir.c you have to comment out the line:
  CHECK(ir->nwall && ir->ePBC!=epbcXY);
and recompile grompp.

Berk.


Makoto Yoneya wrote:
> Dear GROMACS developers:
>
> I'd tried the walls function in the CVS code and found works well.
> In the current implementation, the walls function can only be used with
> pbc=xy as in the online manual.
> However, I'd like to use the walls without the pbc=xy setting (i.e.
> the common 3-D pbc).
> I'm considering a Langmuir monolayer (monolayer on a water layer) and trans
> monolayer water (in Z-direction from the water
> layer) simulation.
> The water layer may be modeled with the wall function with the 9-3
> potential.
> The trans monolayer water vapor flow (in Z-direction) may be modeled with
> specifying,
> energygrp_excl: VAPOR_WATER wall0
> and
> acc_grps: VAPOR_WATER
> accelerate: 0.0 0.0 0.5.
> So, the water molecules may flow periodically in Z-direction (then requires
> 3-D pbc).
>
> If these may work, then please consider to work the walls function even
> without pbc=xy.
>
> Thank you for advance.
>
> Makoto Yoneya, Dr.
> AIST, Japan
>
>
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-developers-request at gromacs.org.
>
> This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com
>
>   




More information about the gromacs.org_gmx-developers mailing list