Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.
/ pfc-gem Public archive

Grain extraction and measurement procedure for Phase-Field-Crystal simulations

License

Notifications You must be signed in to change notification settings

gmartinemath/pfc-gem

Repository files navigation

PFC-GEM

Phase-Field-Crystal Grain Extraction and Measurement

For appropriate choices of input parameters, Phase-Field-Crystal (PFC) simulations produce atom-like patterns that arrange into grains similar to those observed in polycrystalline materials. This project contains MATLAB code to run the PFC flow, find and color grains then measure their geometric properties.

These tools are provided as-is.

Tools

The method assumes the PFC domain is a square with periodic boundary conditions, but rectangular domains can be implemented by modifying the domain definition in PFC_Evolution.m. In addition, some assumptions such as the domain area being L2 must be revised in the other tools.

Test script

Run PFC-GEM/Test.m for an example of the complete workflow. The picture below illustrates the process to identify grains from a PFC simulation with a random initial condition.

Workflow

The regions in the last pictures can be measured to extract comparisons similar to the following.

GSD

Direct links for the cited papers

About

Grain extraction and measurement procedure for Phase-Field-Crystal simulations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published