Dear Lammps users:
I am working with 2D grains in lammps. I have the vertices and the end-points of a particular polygon-shaped grain. I want to define a region with the shape of this polygon and then create atoms to generate this grain. What I am now doing is dividing the polygon into small squares and then using their dimensions in the region block command. However, this process takes too long to generate a large grain. Do you guys have any ideas on how to make this process faster? Also, is there any command in lammps that can generate polygon regions?
I know this is more of a preprocessing problem if lammps do not have any polygon region command. Still your input will be much appreciated.
Regards
Mahmudul Islam
Department of Mechanical Engineering
Bangladesh University of Engineering and Technology