MATLAB Extended Finite Element Method (XFEM)

Resource Overview

Original MATLAB XFEM implementation featuring crack propagation and inclusion analysis with clear, accessible code structure

Detailed Documentation

This repository provides a fundamental MATLAB implementation of the Extended Finite Element Method (XFEM), featuring comprehensive capabilities for crack propagation simulations and inclusion analysis. The codebase employs level set methods for tracking discontinuity surfaces and implements enrichment functions to handle singularities near crack tips and material interfaces. Users can perform sophisticated finite element analysis on complex geometries while maintaining the flexibility to modify and customize algorithms according to specific research needs. The implementation includes key functions for: - Stress intensity factor calculation using interaction integrals - Mesh-independent crack representation through nodal enrichment - Multi-material interface handling with Heaviside enrichment functions Engineers and researchers working on fracture mechanics and composite materials will find this toolbox particularly valuable. The code is structured with intuitive variable naming and modular architecture, making it accessible even for users with limited programming experience. Detailed comments explain the numerical implementation of partition-of-unity methods and Gauss integration techniques around discontinuities.