RepositoryC++
prisms-center

prisms-center/phaseField

PRISMS-PF: An Open-Source Phase-Field Modeling Framework

356stars
145forks
251issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: partial-differential-equations

#1 Repository of the week

1
TINIX TRENDING·Topic: pde

#1 Repository of the week

1
TINIX TRENDING·Topic: pde-solver

#1 Repository of the week

GitHub Linux Check Links

License: LGPL v2.1

Website
Code
Manual
Discussions
Training slides
PFHub phase-field community
DOI

What is PRISMS-PF?

PRISMS-PF is a powerful, massively parallel finite element code for conducting phase field and other related simulations of microstructural evolution. The phase field method is commonly used for predicting the evolution in microstructures under a wide range of conditions and material systems. PRISMS-PF provides a simple interface for solving customizable systems of partial differential equations of the type commonly found in phase field models, and has pre-built application modules, including precipitate evolution, grain growth, and solidification.

With PRISMS-PF, you have access to adaptive meshing and parallelization with near-ideal scaling for over a thousand processors. Moreover, the matrix-free framework from the deal.II library allows much larger than simulations than typical finite element programs – PRISMS-PF has been used for simulations with over one billion degrees of freedom. PRISMS-PF also provides performance competitive with, and often exceeding single-purpose codes.

This code is developed by the PRedictive Integrated Structural Materials Science (PRISMS) Center at University of Michigan which is supported by the U.S. Department of Energy (DOE), Office of Basic Energy Sciences, Division of Materials Sciences and Engineering under Award #DE-SC0008637.

Quick start guide

For detailed install and usage instructions check out the Manual. A (very) abbreviated version is given below.

Configure and install

Install the required dependencies:

  • CMake [3.25+]
  • LAPACK
  • MPI
  • p4est
  • deal.II [9.6.0+]

Configure, compile, and install the main library. We recommend setting the PRISMS_PF_DIR variable into your rc file so you have permanent access to it.

export PRISMS_PF_DIR="path/to/install"
cmake -B build
cmake --build build -j <nprocs>
cmake --install build --prefix=$PRISMS_PF_DIR

Here <nprocs> denotes the number of threads you want to use to compile the library.

For access to our executable utilities, you should also add bin to path. You can also add this into your rc file to have permanent access to it.

export PATH=$PATH:$PRISMS_PF_DIR/bin

Running an application

After building the core library, our example applications can be compiled with similar commands. Make sure you navigate to an application before executing these commands.

cmake -DCMAKE_BUILD_TYPE=<type> -B build
cmake --build build -j <nprocs>

Here <type> is the build type. There are two options Debug and Release. Release contains more optimizations than Debug, but often has less meaningful error messages.

Executables can be run in serial or parallel.

build/main
mpirun -n <nprocs> build/main

Visualization

Outputs are most commonly visualized in the following open source applications:

Citing PRISMS-PF

Please cite the following reference when discussing PRISMS-PF in a publication:

S. DeWitt, S. Rudraraju, D. Montiel, W.B. Andrews, and K. Thornton. PRISMS-PF: A general framework for phase-field modeling with a matrix-free finite element method. npj Computuational Materials 6, 29 (2020).

If you would like to cite a specific release of PRISMS-PF, please use the following format:

PRISMS-PF, v3.0.0 (2026). Available from https://github.com/prisms-center/phaseField. DOI: 10.5281/zenodo.19261983.

For DOI information of other releases, refer to this site.

Contributors

Thanks to everyone who has contributed to the project!

Made with contrib.rocks.

License

Please see the LICENSE file for details.

Similar Projects

Discover other similar projects and AI models.

RepositoryFortran
clawpack/pyclaw

PyClaw is a Python-based interface to the algorithms of Clawpack and SharpClaw. It also contains the PetClaw package, which adds parallelism through PETSc.

188
Nov 29, 2026
RepositoryC++
FreeFem/FreeFem-sources

FreeFEM source code

971
Nov 28, 2026
RepositoryC++
cbritopacheco/rodin

A modern C++ finite element library for shape optimisation, multiphysics and distributed GPU computing

56
Nov 30, 2026
RepositoryJulia
gridap/Gridap.jl

Grid-based approximation of partial differential equations in Julia

891
Dec 1, 2026
RepositoryJulia
Ferrite-FEM/Ferrite.jl

Finite element toolbox for Julia

458
Nov 19, 2026
RepositoryJulia
SciML/SciMLBenchmarks.jl

Scientific machine learning (SciML) benchmarks, AI for science, and (differential) equation solvers. Covers Julia, Python (PyTorch, Jax), MATLAB, R

349
Nov 29, 2026
RepositoryJupyter Notebook
Ceyron/exponax

Efficient Differentiable n-d PDE Solvers in JAX.

235
Nov 1, 2026
RepositoryJulia
SciML/MethodOfLines.jl

Automatic Finite Difference PDE solving with Julia SciML

214
Nov 28, 2026
RepositoryPython
adtzlr/felupe

Open finite element infrastructure for nonlinear computational mechanics.

192
Nov 26, 2026