Help for creating a circular region

Dear Sir,

Please advise me how to create a circular region in 2D. I am at the very early stage of learning lammps. So I apologize if my question does not qualify.

I know how to create a square region as follows:

lattice sq 1.0
region box block 0 5 0 5 0 5
create_box 2 box
create_atoms 1 box

However, I am stuck when I try to create a circular region in 2D with periodic or fixed boundary. Please advise.

Thanking you

Kurien V

Dear Sir,

Please advise me how to create a circular region in 2D. I am at the very
early stage of learning lammps. So I apologize if my question does not
qualify.

I know how to create a square region as follows:

lattice sq 1.0
region box block 0 5 0 5 0 5
create_box 2 box
create_atoms 1 box

However, I am stuck when I try to create a circular region in 2D with
periodic or fixed boundary. Please advise.

since you get a square region from defining a cube, it is only logical
that you'll get a circular region by using a sphere style region.

axel.