xtb icon indicating copy to clipboard operation
xtb copied to clipboard

Setting a High Force Constant for Constrain Option Causes Issues

Open sbembenek18 opened this issue 1 year ago • 2 comments

When using the constrain option via the .inp file, I find that having a very high force constant (force constant=100.0) results in the erratic movement of those atoms that are supposed to be constrained while the unconstrained ones do not move at all.

Thoughts on this?

sbembenek18 avatar Dec 21 '23 22:12 sbembenek18

Hello, over-constraining in general could introduce numerical instabilities during optimization. Still, I cannot reproduce this behavior. Could you share your input and output data?

Albkat avatar Jan 25 '24 13:01 Albkat

I've attached the files for two constrained runs, (at 1, 100). For the latter, the system starts to erratically displace the atoms that are supposed to be constrained, while the unconstrained atoms essentially remain motionless. I'm able to view this by animating the xtbopt.log (via jmol).

Thanks for looking into this issue.

Constraint_Issue.tar.gz

sbembenek18 avatar Jan 30 '24 21:01 sbembenek18