Order Parameter S* [1]

The nematic order parameter \(S^*\) measures the orientational order of the molecular backbones. MakroLyzer calculates \(S^*\) from the largest eigenvalue of a local Q’ tensor built from backbone vectors.

\(S^*\) is closely related to the nematic order parameter \(S\) used in liquid crystal physics. The classical definition is:

\[S = \frac{1}{2} \langle 3 \cos^2(\theta) - 1 \rangle\]

where \(\theta\) is the angle between each molecular orientation vector and a reference direction, and the brackets denote an average over molecules. The reference direction is often described as the “average orientation”, but because vector directions are arbitrary, this is not strictly defined.

The Q tensor for uniaxial systems is defined as:

\[Q = S \left( \frac{3}{2} \hat{n} \otimes \hat{n} - \frac{1}{2} I \right)\]

where \(\hat{n}\) is the director (unit orientation vector) and \(I\) is the identity matrix. Because \(\hat{n}\) is not known a priori, MakroLyzer builds the helper tensor \(Q'\) from backbone vectors and extracts \(S^*\) from its largest eigenvalue.

Definition

The Q’ tensor is defined as

\[Q' = \frac{1}{N} \sum_i \left( \frac{3}{2} (\hat{u}_i \otimes \hat{u}_i) - \frac{1}{2} I \right)\]

where \(N\) is the number of backbone vectors in the cell, and \(\hat{u}_i\) is the unit vector along backbone vector \(i\). \(Q\) and \(Q'\) share the same eigenvalues, so \(S^*\) is taken as the largest eigenvalue of \(Q'\). \(S\) and \(S^*\) differ only when \(S\) is negative. The \(S^*\) range is \([0, 1]\), while \(S\) is typically reported in \([-0.5, 1]\). A value of \(S^* = 1\) indicates perfect alignment, while \(S^* = 0\) indicates isotropic orientation.

../_images/06op.png

The space is divided into NoCellsPerDimx \(\times\) NoCellsPerDimy \(\times\) NoCellsPerDimz cells. For each cell, the Q’ tensor is built, and the \(S^*\) value is calculated from all backbone vectors whose midpoints lie within the cell. Cells with fewer than three backbone vectors are skipped. The final value is the average across all valid cells.

Command line

-op BoxSize:NoCellsPerDim:MolecularVectorLength
--orderParameter
BoxSize is the box length (one value or x:y:z - float), NoCellsPerDim is the
number of cells per dimension (one value or x:y:z - int), and MolecularVectorLength
is the number of consecutive backbone atoms used for each vector.
Example: -op 100.2:1:3

-op-file
--order-file
Output filename.
Default: orderParameter.csv

Example

MakroLyzer -xyz polymer.xyz -op 100.2:1:3 -op-file myOrderParameterOutput.csv

Output

The output file contains one row per frame:

Column

Description

Frame

Frame index in the trajectory

Order Parameter S*

Average \(S^*\) across cells