FreeBird.jl: An Extensible Toolbox for Simulating Interfacial Phase Equilibria
Ray Yang, Junchi Chen, Douglas Thibodeaux, Robert B. Wexler
TL;DR
FreeBird.jl tackles the need for fast, reproducible benchmarking of interfacial phase behavior across atomistic and lattice models. It provides a modular, extensible Julia toolbox that unifies energy evaluation and multiple sampling algorithms (Metropolis MC, Wang-Landau, Nested Sampling, and exact enumeration) within a common data-structure framework. The paper demonstrates cross-method consistency for Lennard-Jones clusters and lattice models, validating FreeBird.jl as a benchmarking platform for interfacial thermodynamics. This work enables rigorous method-to-method comparisons and lays the groundwork for future integration with ML potentials and GPU acceleration to accelerate materials design at interfaces.
Abstract
We present FreeBird, an extensible Julia-based platform for computational studies of phase equilibria at generic interfaces. The package supports a range of system configurations, from atomistic solid surfaces to coarse-grained lattice$-$gas models, with energies evaluated using classical interatomic potentials or lattice Hamiltonians. Both atomistic and lattice systems accommodate single- or multi-component mixtures with flexibly definable surface and lattice geometries. Implemented sampling algorithms include nested sampling, Wang$-$Landau sampling, Metropolis Monte Carlo, and, for tractable lattice systems, exact enumeration. Leveraging Julia's type hierarchies and multiple dispatch, FreeBird provides a modular interface that allows seamless integration of system definitions, energy evaluators, and sampling schemes. Designed for flexibility, extensibility, and performance, FreeBird offers a versatile framework for exploring the thermodynamics of interfacial phenomena.
