### How does the external potential plugin work

53
views
0
4 weeks ago by
Hi,
I have been working with the ExternalPotential plugin. I couldn't find the model equations for this plugin in the manuals. After going through the source code, I came to the conclusion that this could be the underlying model equation,
$\Delta H_{force}=\lambda\sum_{pixels}\left(\vec{i'}-\vec{i}\right)$ΔHƒ orce=λpixels(i'i)   for the pixelbased calculations and   $\Delta H=\lambda\left(\vec{i_{com}'}+\vec{i_{com}}\right)$ΔH=λ(icom'+icom) for the center of mass based calculations.

Is my understanding correct? What changes should I make to the equations? Why is the center of mass based equation additive in terms of energy?

Thanks.
Community: CompuCell3D

<ExternalPotentialParameters CellType="NonCondensing" x="-10" y="0" z="0"/>​