You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Persistence Length of Semiflexible Conjugated Polymers using Transfer Matrix Method
Introduction
This repository is an update of Persistence Length Using Monte Carlo Sampling. The original method uses the Monte Carlo sampling. However, it seems that the correlation length ($N_p$) is irrelevant to the bond lengths. Here, I re-implemented the method using the transfer matrix method.
Transfer Matrix Method
Statistical Averaging of Dihedral Angles — Single-Step Average Rotation Operator
Dihedral angles are random (according to a known potential energy distribution), so for a given position i, we define the single-step average rotation operator as:
Since each step is the action of a linear operator (with independent dihedral angles), the average transformation for n steps can be written as a product of operators:
where $\prod_{i=0}^{n-1} A_i \equiv A_0 \cdots A_{n-1}$.
If the chain is periodic (a repeating unit has M segments, where $A_{i+M}=A_i$), we shall calculate the transfer matrix for one repeating unit:
$$
\mathcal{M}=\prod_{i=0}^{M-1} A_i,
$$
Then, the correlation for $r$ repeating units decays as $\mathcal{M}^r$. Let $\lambda_{\max}$ be the maximum eigenvalue (in modulus) of $\mathcal{M}$, then the persistence length in repeating units ($N_p$) is:
$$
N_p = -\frac{1}{\ln\lambda_{\max}}.
$$
Definition of bond length and deflection angle in the script
T-bond-DPP-bond-T-bond-T-bond-E-bond-T-bond
l = [2.533, 1.432, 3.533, 1.432, 2.533, 1.432, 2.533, 1.433, 1.363, 1.433, 2.533, 1.432] # in Angstrom