Skip to content

MATLAB package for analyzing domain interfaces of SCFT density field.

Notifications You must be signed in to change notification settings

dangpongwu/interface-analyzer

Repository files navigation

Interface Analyzer

The Interface Analyzer package is a MATLAB-based tool designed to analyze and visualize 3D interfaces from rgrid data of Polymer Self-Consistent Field Theory (PSCF). This package provides functions to process the data, generate isosurfaces, and save the results for further analysis or visualization.

curvature
Fig. 1: Visualization of interfacial curvature calculated from the Interface Analyzer.

Usage

Use the analyzeInterface function to process rgrid data in example:

[meanCurvature, stdCurvature, interfaceArea] = analyzeInterface('SG.rgrid', 'imds_face', 'imds_coord', 'imds_curv', 'imds_gauss')

SG.rgrid: A field representing monomer density across a regular grid, calculated using Polymer Self-Consistent Field (PSCF) theory.
imds_face: Connectivity data for a triangulated mesh, showing how vertices are grouped to form triangles.
imds_coord: The coordinates of the vertices in the triangulated mesh.
imds_curv: Mean curvature values calculated at each vertex of the mesh.
imds_gauss: Gaussian curvature values calculated at each vertex of the mesh.

Relevant Work

The development of the Interface Analyzer package was guided by valuable insights and methodologies derived from various works:
Chen, P., Mahanthappa, M. K., Dorfman, K. D. Stability of cubic single network phases in diblock copolymer melts. J. Polym. Sci. 2022, 60(17), 2543.
Feng, X., Burke, C.J., Zhuo, M. et al. Seeing mesoatomic distortions in soft-matter crystals of a double-gyroid block copolymer. Nature 575, 175–179 (2019).
Dirk-Jan Kroon (2023). Patch Curvature (https://www.mathworks.com/matlabcentral/fileexchange/32573-patch-curvature), MATLAB Central File Exchange. Retrieved May 25, 2023.

To-Do

  • Incorporate support for periodic boundary conditions when processing rgrid data.
  • Edge length regularization for the triangulated mesh.

About

MATLAB package for analyzing domain interfaces of SCFT density field.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages