19
- for the first atom in a loop over all atoms experiencing a force (
a
≠
0), the distance
r that
it will move away from its starting point during an initial trial timestep
*
∆
t is calculated
using eqn. (26),
**
∆
r
( )
2
=
v
2
∆
t
( )
2
+
(
a
•
v)
∆
t
( )
3
+
1
4
a
2
∆
t
( )
4
.
(26)
The acceleration is included in eqn. (26) because for
atoms with a small velocity, for
instance close to ultimate collision impact, it can contribute significantly to
∆
r and
neglecting it could result in a very inaccurate approximation for systems with small
numbers of atoms (neglecting (
a•
v)(
∆
t)
3
+ 1/4*a
2
*(
∆
t)
4
will result in a timestep that is too
long. In systems of thousands of atoms this is not important because there will always be
other atoms that limit the time step. However, theoretically, in systems with few atoms,
such as two-particle systems used in accuracy tests, situations
can arise in which any time
step could be selected).
Depending on whether this distance is smaller or larger than
R
, ∆
t is increased or
decreased and
∆
r is calculated again for the atom under consideration. This process is
repeated until
∆
r corresponds to
R.
***
- for the other atoms experiencing a force, the travel distance
r in time
∆
t of
the previous
atom is calculated and if it exceeds
R,
∆
t is further reduced. This establishes a first
estimate of
t .
- free atoms (
a =0) are allowed to travel an unlimited distance, but only for as long as
they do not come near other atoms during the trial timestep. If they do, the trial time is
further reduced to allow them to come just inside the influence of another atom.
- atoms for which the cosine of the angle between
a and
v is smaller than
−
8 9
are
treated in a special way. The criterion cos(
v ,a ) <
−
8 9
selects
those atoms whose
velocity and acceleration point almost exactly in opposite directions. These atoms are about
to ‘make a turn’. This requires a special approach because the distance they travel away
from their starting points is not a monotonously increasing function of
∆
t.. This can be
seen as follows. From eqn. (26) we get
d
∆
r
( )
2
( )
d(
∆
t)
=
2
v
2
∆
t
+
3(
a
•
v)
∆
t
( )
2
+
a
2
∆
t
( )
3
.
(27)
(
r )
2
is not a monotonous function of
∆
t if there are real, non-zero roots for the
equation
d
∆
r
( )
2
( )
d(
∆
t)
=
0
⇒
a
2
∆
t
( )
2
+
3(
a
•
v)
∆
t
+
2
v
2
=
0 .
(28)
In general,
the roots
∆
t
1
and
∆
t
2
of eqn. (28) are
∆
t
1
,
∆
t
2
= −
3(
a
•
Do'stlaringiz bilan baham: