LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] fix NPT and fix move
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] fix NPT and fix move

From: Axel Kohlmeyer <akohlmey@...24...>
Date: Wed, 11 Apr 2018 09:43:42 -0400

On Wed, Apr 11, 2018 at 9:35 AM, liyi bai <liyibai2011@...24...> wrote:
> Dear all.
> I want to run MD simulation with NP(z)T ensemble for system of two plates
> immersed in water.
> I am wondering that the correct way combine fix npt  and fix move command.

there is no point in using fix move, when you don't move the atoms.
you can just leave those fixes away.

> I wrote input below,I am not sure if it is correct. Can any one give me some
> suggestion?

if you are not sure that something is working as expected, you should
construct test cases and monitor those carefully to see, if things
happen to your expectations. with carefully crafted tests, you can
check each feature you worry about individually.

asking the mailing list to help you with this is very risky. what if
the person responding makes a mistake? or overlooks something
important? or you are leaving out important information that would
have resulted in a different recommendations?
it is always your reputation and credibility that is on the line, if
you use your results in publications, so you need to verify for
yourself that you are simulating what you think and want to do.


> fix      6   water   shake 0.0001 20 0 b 1 a 1
> fix      7   water   npt temp $T $T 100.0 z 1.0 1.0 100.0  dilate all    #
> control system only on z direcation
> fix      8   plates1       move linear 0.0 0.0 0.0 units box   #fix plates 1
> fix      9   plates2       move linear 0.0 0.0 0.0 units box   #fix plates 2
> Thank you very much
> best wishes
>  liyi
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites,!
> _______________________________________________
> lammps-users mailing list

Dr. Axel Kohlmeyer  akohlmey@...24...
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.