[lammps-users] On the fly dynamic variable in LAMMPS

Dear LAMMPS users,
We wanted to run a simulation where the radius of the particles varies within a specific range, say from 10 Å to 1000 Å, while it undergoes diffusion. Is there a way to set dynamically varying radius while the simulation is running?
Also, if this is not possible, is there a way to make a variable in LAMMPS that dynamically assumes values from a range while the simulation is running?

Any help would be appreciated!
Thanks and regards.

Ruchir

Please see https://docs.lammps.org/fix_adapt.html