Elastic strain calculation
This modifier computes the atomiclevel elastic strain and deformation gradient tensors in crystalline systems. It can be used to analyze elastic distortions in a crystal lattice. Furthermore, it allows to determine the local crystal orientation in polycrystalline systems.
The elastic deformation gradient tensor, F^{e}, is related to the gradient of the elastic displacements, i.e. F^{e} = ∇u^{e} + I. It transforms vectors from an imaginary, ideal, strainfree and stressfree crystal state to the physical configuration of the crystal (i.e. the simulation snapshot to be analyzed) in the following way:
Here, ΔX is a (column) vector in the ideal crystal lattice (sometimes called the material frame) and Δx is the corresponding vector in the elastically strained crystal (the spatial frame). The vector ΔX is expressed in the coordinate system aligned with the lattice Bravais cell, whereas Δx is given in the global simulation coordinate system. Thus, the transformation tensor F^{e} carries information about the crystal orientation in addition to the elastic stretch deformation.
In fact, the elastic deformation gradient tensor can be thought of as being composed of two parts, F^{e} = R⋅U^{e}, where R is an orthogonal rotationreflection matrix that describes the local lattice orientation within the simulation coordinate system and U^{e} is a positive definite stretch tensor that describes the elastic distortion of the crystal. Note, however, that in the current program version only F^{e} is computed, not its polar decomposition into R and U^{e}. That is something you currently have to do outside of OVITO if you need it.
Note that OVITO also provides the Atomic Strain modifier, which determines the total deformation at each atom from the relative displacements of its neighbors. Computing the total displacements (which don't have to be purely elastic) requires two simulation snapshots of the system: the reference configuration, which specifies the initial atomic coordinates, and the deformed configuration. The elastic strain calculation, in contrast, does not require an explicit reference configuration. The user only has to specify the ideal unit cell of the crystal, which serves as the basis for constructing an ad hoc reference configuration locally at each atomic site. The elastic lattice deformation is computed by comparing the current atomic positions to this virtual reference structure.
OVITO computes the tensor F^{e} locally at each atom in the system by taking into account the positions of atoms in the local neighborhood. How many neighbors are taken into account depends on the selected crystal type. For closepacked structures (FCC, HCP) only the 12 nearest neighbors of a central atom are used to compute the elastic deformation gradient tensor at that central atom. For other crystal structures, neighbors up to the second neighbor shell are taken into account. Note that F^{e} is computed in a leastsquares sense, because the elastic deformation in the local neighborhood of an atom may in general be nonaffine (inhomogeneous).
The atomiclevel elastic deformation gradient tensor can only be computed for atoms for which the local mapping of their neighbors to the ideal crystal lattice is determinable. In practice this is only the case for atoms that are located in a structural environment that resembles the perfect crystal sufficiently well. OVITO identifies such atoms in an internal preprocessing step using the common neighbor analysis method (see the Common Neighbor Analysis and Identify Diamond Structure modifiers for more information). F^{e} will only be calculated for atoms that have been successfully identified as crystalline atoms. Atoms in highly distorted environments, in contrast, for example in crystal defects such as surfaces or general grain boundaries, are excluded from the computation. The algorithm will assign a null tensor to these atoms, for which the local elastic deformation is undefined.
Atoms that are part of stacking fault and coherent twin boundary defects are treated specially. Here, F^{e} is computed even though the local atomic structure deviates far from the perfect lattice structure. Basically, the calculation method implemented in OVITO performs a decomposition into plastic and elastic deformation in these defects and outputs the elastic component. More information on this topic can be found in the paper
Attention must be paid to the symmetries of the crystal structure. For example, in crystals with cubic symmetry there are 48 equivalent lattice orientations, which will lead to different values of the elastic deformation gradient tensor. Given this fundamental ambiguity, which arises from the crystal symmetry, the algorithm will arbitrarily choose one orientation at random for each crystallite (i.e. grain) in the system. In particular, there is no guarantee that the same orientation will be picked when performing the analysis on different simulation timesteps.
Based on the computed peratom deformation gradient tensor F^{e}, a corresponding elastic strain tensor can be calculated by the analysis modifier. Two options are available:
 Strain tensor in spatial frame

In this case the elastic EulerianAlmansi finite strain tensor is computed as
e = 1/2 [I  (F^{e})^{T} (F^{e})^{1}].This symmetric strain tensor describes the local elastic deformation in the simulation coordinate system. For example, the component e_{xx} describes the axial strain along the Xaxis of the simulation coordinate system. This strain tensor has the advantage that it is not affected by the lattice symmetry ambiguity problem described above.
 Strain tensor in lattice frame

In this case the elastic GreenLagrangian strain tensor is computed as
E = 1/2 [(F^{e})^{T} F^{e}  I].This symmetric strain tensor describes the elastic deformation in the local lattice coordinate frame. For example, in a cubic crystal the component E_{xx} describes the axial strain along the [100] lattice direction of the crystal. However, it is not clear what the local [100] direction is, because in cubic crystals the [100], [010], and [001] lattice directions are interchangeable. This strain tensor is therefore affected by the symmetry ambiguity problem described above.