View on GitHub

EMpy

ElectroMagnetic Python — Computational Electromagnetics & Photonics Suite

Liquid-Crystal Electro-Optics & Oseen–Frank BVP in Python

EMpy.utils.LiquidCrystalCell solves the coupled 1D Oseen–Frank elastic free-energy (\(K_{11}, K_{22}, K_{33}\), chiral wavenumber \(q_0\)) and inhomogeneous Laplace electrostatic boundary-value problem natively via scipy.integrate.solve_bvp, and expands the resulting director profile into a 4 × 4 Berreman Multilayer stack for AnisotropicTransferMatrix.


Capabilities


Quick Python Example: 90° Twisted Nematic Cell Electro-Optics

import numpy as np
import EMpy

lc = EMpy.materials.get_10400_000_100()
amb = EMpy.materials.IsotropicMaterial("Glass", n0=1.5)

cell = EMpy.utils.LiquidCrystalCell(
    lc,
    voltage=3.5,
    t_tot=4.8e-6,
    t_anchoring=0.0,
    pretilt=EMpy.utils.deg2rad(2.0),
    totaltwist=np.pi / 2.0,
    nlayers=48,
)

ml = EMpy.utils.Multilayer([
    EMpy.utils.Layer(amb, np.inf),
    cell,
    EMpy.utils.Layer(amb, np.inf),
])

wl = np.array([550e-9])
sol = EMpy.transfer_matrix.AnisotropicTransferMatrix(ml, 0.0, 0.0).solve(wl)
cap = cell.capacitance()

Twisted nematic liquid crystal Gooch-Tarry minima and Oseen-Frank voltage switching


Benchmark Scripts & References

See also: Methodology & References · All Examples