MicroFract Code: A graph theoretic approach for microstructural fracture prediction
2D and 3D versions of the MATLAB based MicroFract code and the examples in the paper (Ref. 1) are available here for download and provides a valuable image-based tool for identifying weak links in a microstructure. The only input to the code is an image of the cohesive energy distribution and the user should graphically input the macroscopic crack line in 2D or plane in 3D.
To run the code: Download the Multi-label optimization/graph-cut library (gco-v3.0), http://vision.csd.uwo.ca/code/gco-v3.0.zip, and add it to your MATLAB path (File->Set Path->add with subfolders).
Microfract 2D: The 2D codes and examples are in this zipped file zip files. Run MicroFract.m, the code opens a image window with the cohesive energy map. Click the initial and final points of the macroscopic crack. The code will output the crack trajectory at the microscale.
The cohesive energy map can be changed in the MicroFract.m code in the line 22, IMG = imread('polycrystal.bmp'); by default the image is read from "polycrystal.bmp" in the current folder.
- Sundararaghavan, V. and Srivastava, S., 2017. MicroFract: An image based code for microstructural crack path prediction. SoftwareX, 6, pp.94-97.[PDF]
- The author would like to acknowledge the Air Force Office of Scientific Research (MURI program) contract FA9550-12-1-0458, for financial support.