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

# Re: [lammps-users] PBC

 From: Axel Kohlmeyer Date: Sun, 12 Nov 2017 21:13:03 -0500

On Sun, Nov 12, 2017 at 5:55 AM, Jana Pritam wrote:
Thank you very much. I imagine a problem if the upper plate is bigger as compared to lower plate. In that case, I have to put PBC according the size of the upper plate and in that case the liquid will go out of the confined space. Is it possible to use different xlo (lower boundary of X) and xhi (xlo (higher boundary of X) for the plate and the liquids?

​you are not making much sense here. *any* system with multiple periodic(!) lattices can be represented with a supercell, regardless of differences in lattice constant, rotation, or tilt.
the major issue is that you have to find the multipliers for each lattice that result in commensurate supercell dimensions.

axel.

Best
Pritam
------------
On 11 Nov 2017, at 00:55, Andrew Jewett <jewett@...1937...> wrote:

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.
<Simulation_new.png>

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
_______________________________________________
lammps-users mailing list
lammps-users@...655....net
https://lists.sourceforge.net/lists/listinfo/lammps-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
_______________________________________________
lammps-users mailing list
lammps-users@...655....net
https://lists.sourceforge.net/lists/listinfo/lammps-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most