triangulax: Differentiable Simulations with Triangular Meshes across Soft Matter Physics
Abstract
Many physical and biological systems -foams, membranes, elastic shells, or tissue sheets- can be mathematically described as 2D surfaces. These surfaces can host complex dynamics, like reaction-diffusion systems, and undergo drastic deformations. Here, we present triangulax, an open-source Python library for simulations and geometry processing that discretizes surfaces using triangular meshes available at https://github.com/nikolas-claussen/triangulax. It combines two features. First, discrete differential geometry provides coordinate-free discretization, which allows simulating strongly deforming surfaces. Second, the library is built on the machine-learning framework JAX, so mesh-based energies and entire simulations can be differentiated automatically (including simulations with stochastic forces or topological modifications). This simplifies multi-physics simulations by computing forces automatically and allows fitting model parameters to experimental data or design objectives. We implement an algorithm to preserve mesh quality in strongly deforming surfaces and apply it to a model of membrane mechanics coupled to an on-membrane concentration field. We validate our approach against exact solutions and existing software, and demonstrate triangulax across a range of problems, including membrane mechanics, vertex models, and inverse design of a shape-morphing elastomer sheet.
Create a lesson
Metadata
- Categories
- cond-mat.soft, physics.bio-ph
- Comments
- 20 pages, 11 figures
Related papers
A transient-network theory of active soft matter with two remodelling channels
Shared title terminologycond-mat.softStefano Turzi
Charged Colloidal Crystals as a Third Soft-Matter Brazovskii Platform
Shared title terminologycond-mat.softHao Wu
Soft Matter, Hard Rules: Emulsions Follow the Laws of Granular Suspension Rheology
Shared title terminologycond-mat.softWenjun Chen, Eric De Giuli, Matthieu Wyart et al.
A Minimal Theoretical Model for Morphodynamic Selection in Soft Matter Systems
Shared title terminologycond-mat.softWeihua Mu, Da Wang
Phase-Field Fracture Simulation of Highly Deformable Thin Structures via a Discrete Differential Geometry Framework
Shared title terminologycond-mat.softBohan Zhang, Bo Wang, Huajiang Ouyang et al.
How Does Hard Magnetic Soft Matter Deform?
Shared title terminologycond-mat.softDaniel Katusele, Carmel Majidi, Liping Liu et al.