Skip to content

depablogroup/LiquidCrystals.jl

Repository files navigation

LiquidCrystals.jl

LiquidCrystals.jl is an open-source Julia package for simulating the GENERIC concentration-dependent nematohydrodynamic equations of liquid crystals, providing researchers with a reproducible, efficient, and flexible tool for studying binary mixtures of liquid crystals.

Features

  • Finite-difference upwind schemes for concentration and tensorial liquid-crystal ordering
  • Galerkin Lattice Boltzmann methods for mass and momentum balance in combination with Trixi.jl
  • Open-source, designed for reproducibility and community use.

Installation

From a Julia REPL session run

julia> ]

pkg> dev https://github.com/depablogroup/LiquidCrystals.jl.git

Dependencies

The Finite Element aspect will be handled through Gridap.jl

Usage

Examples and notebooks demonstrating the library can be found in the examples/notebooks folder.

Examples

Binary mixture with topological defects

The figure below shows a simulated binary mixture: two isotropic droplets immersed in a nematic environment.


Figure: Two isotropic droplets immersed in a nematic environment. Director vectors (white lines) and scalar order parameter (color map 0–0.75).


Droplet under semi-Couette flow

The figures below show the evolution of an axial droplet immersed in an isotropic fluid under semi-Couette flow.

  • Left: director vectors (gray lines, scaled according to order parameter values) and scalar order parameter (color map 0–0.8).
  • Top right: concentration profile (color map 0–1).
  • Bottom right: velocity profile (x-component from -0.07 to 0.07).


Figures: Time evolution of an axial droplet under semi-Couette flow. Successive time steps from initial conditions to final state.


Droplet under parabolic flow

The figure below shows a snapshot of an axial droplet simulation immersed in an isotropic fluid under parabolic (Poiseuille-like) flow.


Figure: Axial droplet under parabolic flow. Director vectors (gray lines), scalar order parameter, concentration and velocity profile shown.


Active nematic

The figure below shows a snapshot of an active nematic system.


Figure: Active nematic snapshot. Director vectors, scalar order parameter and velocity field shown.


Citation

If you use this package in your research, please cite the repository and relevant publications associated with LiquidCrystals.jl.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages