Skip to content

jandrejevic12/fragmentation_model

Repository files navigation

Supporting code for "A model for the fragmentation kinetics of crumpled thin sheets"

Jovana Andrejevic, Lisa M. Lee, Shmuel M. Rubinstein, and Chris H. Rycroft

DOI

Requirements

Please refer to requirements.txt for the Python version and package versions used.
Linking to LAPACK library is needed for running the simulation test written in C++.

Data Availability

A subset of data collected for the study of Gottesman et al. was initially processed to delineate individual facets and their properties, and the resulting data structures saved in a separate file for analysis. The post-processed data is provided as facet_data.zip and may be unzipped to run all analysis scripts in this repository. The raw data from the work of Gottesman et al. required for processing can be provided from the authors upon reasonable request.

Imports

  • math_imports.py - Import special math functions and define custom distribution classes.
  • plot_imports.py - Import plotting libraries and define custom plotting setup.
  • image_imports.py - Import image processing functions.
  • setup_imports.py - Set up directories and common variables.

Numerical simulation

  • frag_test.cc - Numerical integration of the fragmentation rate equation.
  • frag_plot.py - Plot simulation results.

Processing

  • facet_utils.py - Routines for processing facet segmentation data.
  • predict_rates.py - Predict fragmentation rates from segmentation data.

Analysis

  • plot_dist.py - Facet area distributions.
  • plot_len.py - Segment length distributions.
  • plot_shape.py - Shape parameter function.
  • plot_params.py - Various derived parameters from analytical distribution.
  • plot_scaling.py - Scaling results comparison between empirical and derived models.