![]() |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The TimeStep
command sets the time step for the integration of the equations of motion during a molecular dynamics simulation.
Since intermolecular forces are more expensive to calculate,
but also change more slowly over time, YASARA allows to choose two different time steps:
Inter and intra for inter- and intramolecular forces respectively.
Inter is not specified in femtoseconds, but in multiples of intra.
Larger time steps let the simulation proceed faster,
but reduce the accuracy of the integration, which can cause the simulation to heat up and eventually
'explode'. The maximum time step that allows for a stable simulation is about 2*1.5 femtoseconds. To be on the safe side,
the default simulation macros use a time step of 2*1.25 femtoseconds. Fortunately,
it is easy to check that the chosen time step is appropriate:
Example 1:TimeStep 2,0.8 Calculate intramolecular forces every 0.8 femtoseconds, and intermolecular forces every
2*0.8=1.6 femtoseconds. Example 2:TimeStep 2,1.0 Calculate intramolecular forces every femtosecond, and intermolecular forces every
2 femtoseconds (that's the choice if you have time). Example 3:TimeStep 2,1.5 Calculate intramolecular forces every 1.5 femtoseconds, and intermolecular forces every
3 femtoseconds (that's the fastest acceptable choice). Example 4:TimeStep 1,0.5 Calculate all forces every 0.5 femtoseconds. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||