LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] PBC

# Re: [lammps-users] PBC

 From: Andrew Jewett Date: Fri, 10 Nov 2017 15:55:37 -0800

The picture helps.

I thought you just meant that one of the plates was shifted relative to the other.  Now I see your problem.  This is not a limitation of LAMMPS.  Simulating the system you drew is harder because for most angles, your system is not periodic. You will have to approximate your system by a (preferably rectangular) periodic one, for example by making one of the plates slightly larger or smaller.  (For example, by making the diagonal square larger by a factor of 1.5/sqrt(2))

I don't know if my reply helped.

Cheers

Andrew

On Nov 10, 2017 5:34 AM, "Jana Pritam" <pritam.jana@...3660...> wrote:
Thank you Andrew. Is it possible to simulate when a part of the surface is outside the box? Because it will immediately show that atoms are outside the box error. Here is my system schematic.  Or somehow I have to take the same area of upper and lower plate?
Thank you Keshab. I looked at them but somehow I can not connect with my problem.

On 10 Nov 2017, at 02:52, Andrew Jewett <jewett@...1937...> wrote:

On Nov 9, 2017 2:17 PM, "Keshab Bashyal" <kbashyal@...33....3211...> wrote:
Dear Pritam,

It is a long web page so search for the words "triclinic" and "boundary".

Although I mentioned triclinic boundary conditions, I don't see why it would be necessary to use triclinic boundaries for your simulation.  There is no reason that both plates need to lie entirely within the simulation boundary.  You could probably use ordinary rectangular boundaries.  (recommended unless there's a good reason to do otherwise)

cheers
-andrew

On Thu, Nov 9, 2017 at 3:26 PM, Jana Pritam  wrote:
Dear all,
I have a question related to periodic boundary condition. The system what I am studying is as follows: Liquids are confined between two rectangular plates and the upper plate is misaligned with respect to the lower one. I do not understand how to implement periodic boundary conditions along X and Y directions. Is it possible to do in LAMMPS? If you make some comments it would be helpful.
Best
Pritam
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most