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:
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:
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
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.
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--orderParameterBoxSize is the box length (one value or x:y:z - float), NoCellsPerDim is theMolecularVectorLength-op-file--order-fileExample
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 |