Search arXiv⌕ Search

arXiv subjects

Håkan Hallberg

Publications and source records attributed to Håkan Hallberg.

2 recordsLinked to original sources

pyLSET: an open-source Python package for level set simulations

pyLSET is an open-source Python package for level set simulations of evolving interface networks in 2D and 3D, with grain boundaries in polycrystals as the primary application. Each grain, or other region, is represented by a signed distance function on a fixed Cartesian grid. The package is built on PyTorch, which means that the same code runs on CPUs and GPUs, in single or double floating point precision. pyLSET provides the main components of multi-level set modeling of microstructure evolution. These comprise signed distance construction from voxelized label maps, such as grain maps from diffraction contrast tomography, several reinitialization methods, graph coloring with dynamic recoloring to limit the memory use and interaction corrections that restore a partition of space at junctions. Interface mobility and energy can be local and anisotropic, and stored energy and prescribed velocity fields can be added as driving forces. Immobile regions can represent free surfaces, particles or inclusions. A scalar field, such as a temperature, can be solved on the same grid, with the interface properties depending on it. Simulation data can be written to various formats suitable for further processing in dedicated visualization codes. The underlying level set formulation and its implementation are detailed, and examples are provided to verify the code against analytical solutions and to illustrate its performance, including a 3D grain growth simulation with more than 30\,000 grains on a single GPU.

cond-mat.mtrl-sci↗

Frustrated junctions in interfacial networks

Networks of interfaces in materials and living systems evolve through motion and rearrangement of interfaces and junctions. Local equilibrium at a junction requires interfacial force balance. We show that in three dimensions the classical Herring condition for triple lines is necessary but insufficient: four triple lines meeting at a quadruple node may each satisfy Herring equilibrium, while the four conditions remain mutually incompatible. Such a frustrated node has no admissible local equilibrium geometry. In the semi-isotropic limit, the six interfacial energies must form the edge lengths of a non-degenerate tetrahedron, with constructibility determined by the Cayley-Menger determinant. This hidden compatibility constraint arises from three-dimensional geometry and applies broadly to foams, polycrystals, tissues and other interfacial networks.

cond-mat.mtrl-sci↗