ConstantForce
The ConstantForce potential applies a constant force to a particle. This can be used to model external fields or to apply specific forces to selected particles.
\[U = -\mathbf{F}\cdot \mathbf{r}\]
type:
Bond1,ConstantForceparameters:
Nonedata:
id_i:int: Id of the particleforce:real3: Constant force vector \([energy]/[distance]\)
Example:
"constantForceBonds":{
"type":["Bond1","ConstantForce"],
"parameters":{},
"labels":["id_i", "force"],
"data":[[0, [1.0, 0.0, 0.0]],
[1, [0.0, -1.0, 0.5]]]
}