Dear all,
I want to confine a droplet or membrane in a spherical domain with a harmonic spring force. And by decreasing the sphere radius at a constant velocity, compression can be accomplished.
For LAMMPS, I can use region sphere to define the spherical domain. And combined with fix wall/region, I can compress the system with a harmonic spring force. But I don’t know how to decrease the sphere radius over the simulation. I notice the defined region can be dynamics by move and rotate keywords. I am wondering if it also can be shrink or expand by changing the size of the region.
I know I can use loop in the input script to change the region every fixed time steps. But it is not what I want. The radius of the domain had better to be decreased at a constant velocity with fix commands. Is there any commands in original LAMMPS that can accomplish such kind of loading? Or am I supposed to modify the region command to be dynamics for size and radius?
Thank you for your attention.
Best,
-Wenpeng