GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rajeshrinet/pygl: PyGL: statistical field theory in Python. github.com/rajeshrinet/pygl

BranchesTags
Open more actions menu

Latest commit

 

History

96 Commits
96 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
examples
examples
 
 
pygl
pygl
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
environment.yml
environment.yml
 
 
makefile
makefile
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

Repository files navigation

Self-propulsion of active droplets

PyGL: statistical field theory in Python Binder CI Notebooks Documentation StatusPyPI version Downloads

About | Documentation | News | Installation | Examples | Publications | Support | License

About

PyGL is a numerical library for statistical field theory in Python. The name GL corresponds to the Ginzburg–Landau theory. The library has been specifically designed to study field theories without time-reversal symmetry. The library can be used to study models of statistical physics of various symmetries and conservation laws. In particular, we allow models with mass and momentum conservations. The library constructs differentiation matrices using finite-difference and spectral methods. To study the role of momentum conservation, the library also allows computing fluid flow from the solution of the Stokes equation.

Self-propulsion of active droplets

The above simulation is done using PyGL. It shows steady-state microphase separation (phase separation arrested to a length-scale) in an active scalar field theory. A self-shearing instability interrupts the growth of droplets by splitting them. Read more: https://arxiv.org/abs/1907.04819

Installation

From a checkout of this repository

Install PyGL and required dependencies using

>> git clone https://github.com/rajeshrinet/pygl.git
>> cd pygl
>> pip install -r requirements.txt
>> python setup.py install

Install PyGL and its dependencies in a pygl environment:

>> git clone https://github.com/rajeshrinet/pygl.git
>> cd pygl
>> make env
>> conda activate pygl
>> make

Pip

Alternatively, install the latest PyPI version

>> pip install pygl 

Examples

See the examples folder for a list of examples.

Publications

  • Hydrodynamically interrupted droplet growth in scalar active matter. Rajesh Singh and Michael E. Cates. Phys. Rev. Lett. 123, 148005 (2019).

  • Self-propulsion of active droplets without liquid-crystalline order. Rajesh Singh, Elsen Tjhung, and Michael E. Cates. Phys. Rev. Research 2, 032024(R) (2020).

News

  • Our paper has been highlighted in the Journal Club for Condensed Matter Physics with a commentary.

Support

Please use the issue tracker on GitHub.

License

We believe that openness and sharing improves the practice of science and increases the reach of its benefits. This code is released under the MIT license. Our choice is guided by the excellent article on Licensing for the scientist-programmer.

About

PyGL: statistical field theory in Python. github.com/rajeshrinet/pygl

pygl.readthedocs.io

Topics

active-scalar-field-theorybinary-mixturescahn-hilliarddroplet-growthfield-theoretic-simulationsginzburg-landaulandau-theorynucleationphase-separationphase-transitionpyglpythonspinodal-decomposition

Resources

Readme
MIT license
Activity

Stars

28 stars

Watchers

2 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.