Skip to main content
. Author manuscript; available in PMC: 2019 Jan 1.
Published in final edited form as: Math Models Methods Appl Sci. 2017 Nov 24;28(1):61–93. doi: 10.1142/S0218202518500021

Algorithm 2.

Force balance, cellular velocity and position

Result Update cell positions
while t ≤ 60 min do
graphic file with name nihms929732t3.jpg for i = 1 to N(t) do
graphic file with name nihms929732t4.jpg for j = 1 to N(t) do
graphic file with name nihms929732t5.jpg if i = j then
graphic file with name nihms929732t6.jpg continue;
end if
Fccaijcccaφ(xjxi;RAi+RAj)
Fccrijcccrψ(xjxi;RNi+RNj,Ri+Rj)
FiFi+(Fccaij+Fccrij)
end for
FctiK(V,t)·[cctφ(dni;RAi)]
FrctiK(V,t)·[crtcψ(dni;RNi,Ri)]
Fhapiχf
FiFi+(Fcbai+Fcbri+Fcti+Frcti+Fhapi)
end for
for i = 1 to N(t) do
graphic file with name nihms929732t7.jpg υiFi;
end for
Δt1maxυi;
for i = 1 to N(t) do
graphic file with name nihms929732t8.jpg xixi + υi · Δt;
end for
tt + Δt
end while