[lammps-users] how to do stress controlled simulation?

Dear lammps users,

To do the quasi static strain controlled simulation we can use the velocity command to strain the simulation box and do energy minimization.

for stress controlled problems how to keep the constant forces corresponding to required stress on the face of the simulation box?
which command has to be used? and is it nessessary to do the minmization after each iteration as we done for quasi static strain controlled problem?

thanking you
with best regards

Not clear on what you are asking, but you may find
the fix deform or displace_box commands helpful.