Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

pyPRISM: A Computational Tool for Liquid-State Theory Calculations of Macromolecular Materials



Tyler B. Martin, Thomas E. Gartner, Ronald L. Jones, Chad R. Snyder, Arthi Jayaraman


The Polymer Reference Interaction Site Model (PRISM) theory describes the equilibrium spatial-correlations of liquid-like polymer systems including melts, blends, solutions, block copolymers, ionomers, liquid crystalline polymers, and nanocomposites. Using PRISM theory, one can calculate thermodynamic (second virial coefficients, Flory-Huggins χ interaction parameters, potentials of mean force) and structural (pair correlation functions, structure factors) data for these macromolecular materials. Here, we present a Python-based, open-source framework, pyPRISM, for conducting PRISM theory calculations. This framework aims to simplify PRISM-based studies by providing a user-friendly scripting interface for setting up and numerically solving the PRISM equations. pyPRISM also provides data structures, functions, and classes that streamline PRISM calculations, allowing pyPRISM to be extended for use in other tasks, such as the coarse-graining of atomistic simulation force-fields or the modeling of experimental scattering data. The goal of this framework is to reduce the barrier to correctly and appropriately using PRISM theory and to provide a platform for rapid calculations of the structure and thermodynamics of polymeric fluids and nanocomposites.


Theory, Liquid-State, Polymer, Computational Tool, Composite, Nanocomposite, Copolymer, Correlation


Martin, T. , Gartner, T. , Jones, R. , Snyder, C. and Jayaraman, A. (2018), pyPRISM: A Computational Tool for Liquid-State Theory Calculations of Macromolecular Materials, Macromolecules, [online], (Accessed July 22, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created April 4, 2018, Updated April 17, 2020