ConstantTorqueOverCenterOfMass
The ConstantTorqueOverCenterOfMass potential applies a constant torque to a set of particles about their center of mass.
The torque \(\boldsymbol{\tau}\) is applied to the set of particles, causing a rotational acceleration according to:
where \(\mathbf{I}\) is the moment of inertia tensor and \(\boldsymbol{\alpha}\) is the angular acceleration.
type:
Set1,ConstantTorqueOverCenterOfMassparameters: None
data: *
idSet_i:int: Identifier for the set of particles *torque:real3: Constant torque vector \([torque]\)
Example:
"constantTorque":{
"type":["Set1","ConstantTorqueOverCenterOfMass"],
"labels":["idSet_i", "torque"],
"data":[
[0, [0.0, 0.0, 1.0]]
]
}
Note
This potential is useful for simulating rotating objects or applying external torques to groups of particles. The torque is distributed among the particles based on their positions relative to the center of mass.
Warning
The energy for this potential is not well-defined, as it represents a non-conservative force.