Non-conservative forces¶
Non-conservative forces are forces that are not calculated as the negative gradient of a potential energy function. These are generally faster to compute than forces derived from the potential energy by backpropagation. However, these predictions must be used with care, see https://arxiv.org/abs/2412.11569.
In metatomic models, they are associated with the "non_conservative_forces"
or
"non_conservative_forces/<variant>"
key (see Output variants) in the model
outputs, and must adhere to the following metadata schema:
Metadata |
Names |
Description |
---|---|---|
keys |
|
the keys must have a single dimension named |
samples |
|
the samples must be named
|
components |
|
non-conservative forces must have a single component dimension named
|
properties |
|
non-conservative forces must have a single property dimension named
|
The following simulation engines can use the "non_conservative_forces"
output, using a non_conservative
flag:
Note
If you are adding support for non_conservative_forces
in a molecular
dynamics engine, metatomic models might predict a non zero total force. You
should consider removing this total force to prevent drift in your
simulations.
Non-conservative stress¶
Similar to the forces, the “non-conservative stress” is a stress tensor that is not calculated using derivatives of the potential energy. As with forces, they are typically faster to compute but need to be used with care, see https://arxiv.org/abs/2412.11569.
In metatomic models, they are associated with the "non_conservative_stress"
or
"non_conservative_stress/<variant>"
key (see Output variants) in the model
outputs, and must adhere to the following metadata schema:
Metadata |
Names |
Description |
---|---|---|
keys |
|
the keys must have a single dimension named |
samples |
|
the samples should contain a single sample named The values must range from 0 to the number of systems given as input to the model. |
components |
|
the non-conservative stress must have two components labels with |
properties |
|
the non-conservative stress must have a single property dimension named
|
The following simulation engines can use the "non_conservative_stress"
output, using a non_conservative
flag: