Publicly Available Code

An introduction to scientific computation in soft matter and statistical physics 

These activities were developed and presented by the Beller Group at the CREST Science and Computing Research Summer Program / CCBM Virtual Sessions. The links below are to Jupyter Python notebooks that open and run in-browser through Google's Colab platform. Each notebook contains a link to activity descriptions, designed for a high-school level and approximately 1-hour sessions.

  1. Forest fire
    https://colab.research.google.com/drive/1JQR5_5BVYHBezLrQ9ZRis-SE4WGHz_3H
  2. Cahn-Hilliard Phase Separation ("Oil and Vinegar", see screenshot below)
    https://colab.research.google.com/drive/1YjvrFQonsCXdtNxXIK2eS7VReUuJW_3T
  3. Disease Spread Model (SEIR), by Jimmy Gonzalez Nunez
    https://colab.research.google.com/drive/1UTUVR31ONdmEfCzWHsp-54IYBN3gFw5s

Phase Separation Simulation

Code related to research and graduate education

Landau-de Gennes modeling of nematic relaxation in 2D, using Python 3.x:
LdG2D.py
and using Python 2.7:
LdG2D_py2.py

Gradient descent demo in Mathematica:
https://ucmerced.box.com/s/g05h901flgznma3m3xfmwrqu4ihb4bmx