Continuum multi-physics modeling with scripting languages: the Nsim simulation compiler prototype for classical field theory
Thomas Fischbacher, Hans Fangohr

TL;DR
This paper presents a framework that enables automated translation of classical field theory equations into parallelized finite-element simulation code, facilitating multiphysics modeling through scripting languages like Python.
Contribution
It introduces a novel simulation compiler prototype that allows users to specify physical systems at script level and automatically generate efficient simulation code.
Findings
Demonstrated successful application to micromagnetic simulations
Enabled morphogenesis study via reaction-diffusion models
Showed feasibility of runtime translation for classical field systems
Abstract
We demonstrate that for a broad class of physical systems that can be described using classical field theory, automated runtime translation of the physical equations to parallelized finite-element numerical simulation code is feasible. This allows the implementation of multiphysics extension modules to popular scripting languages (such as Python) that handle the complete specification of the physical system at script level. We discuss two example applications that utilize this framework: the micromagnetic simulation package "Nmag" as well as a short Python script to study morphogenesis in a reaction-diffusion model.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Distributed and Parallel Computing Systems · Scientific Research and Discoveries
