Question about boundary condition

Hi all,
Is it possible to use two different boundary conditions (like p and f) in one direction? How to do it with Lammps commands if it is possible? In the specified direction, one part of the system is periodic, the other is non-periodic. Thanks in advance.

Best regards,
Wenjing Zhou

What does it mean in one dimension to have both
a periodic and fixed (non-periodic) boundary? That's a non-sequitir.

Steve

Thanks for your quick response, Steve.
my problem is: in the flow direction(x direction), the system can be divided into two parts, one part is from x=0 to x=20, the other is from x=20 to x=40. For the first part, periodic boundary condition should be applied in the y direction; For the second part, non-periodic boundary condition shoule be applied in the y direction. So can you give me some suggestion about how to realize it? Thank you!

Wenjing Zhou

To do that I would make the system periodic in y, and put
some kind of wall across the portion you want to not
be periodic. I.e. a couple rows of stationary atoms.

Steve