MCPlas, a MATLAB toolbox for reproducible plasma modelling with COMSOL
Marjan N. Stankov, Daan Boer, Wouter Graef, Kevin van 't Veer, Aleksandar P. Jovanović, Florian Sigeneger, Detlef Loffhagen, Jan van Dijk, Markus M. Becker
TL;DR
MCPlas addresses reproducibility and interoperability in fluid-Poisson modelling of non-thermal plasmas by encoding all model data in JSON schemas aligned with LXCat and Plasma-MDS, and by automating COMSOL model generation via LiveLink for MATLAB. It offers multiple geometries and electron-transport descriptions, notably the DDAn scheme, and provides stabilisation and boundary-treatment enhancements to improve robustness. The toolbox is validated against the COMSOL Plasma Module for DC and RF argon discharges, and demonstrates the ability to reuse complex RKMs (e.g., 23-species) across different simulation tools (PLASIMO, FEDM), illustrating FAIR data principles in practice. Overall, MCPlas provides a transparent, reusable, and cross-platform framework that lowers barriers to reproducible plasma modelling while enabling detailed chemistry and boundary physics to be explored with consistent input data.
Abstract
The MCPlas toolbox represents a collection of MATLAB functions for the automated generation of an equation-based fluid-Poisson model for non-thermal plasmas in the multiphysics simulation software COMSOL. Following the development of the new generation of the LXCat platform, all input data are prepared in a structured and interoperable JSON format and can be supplied and validated using existing JSON schemas. The toolbox includes fully transparent, editable MATLAB source code and offers an advanced description of electron transport in addition to commonly used approaches in the plasma modelling community. It supports one-dimensional and two-dimensional modelling geometries employing Cartesian, polar and cylindrical coordinate systems. MCPlas is tested on two reference cases: DC- and RF-driven low-pressure glow discharges in argon. Comparison of MCPlas results with results obtained by employing COMSOL's Plasma Module verifies the reliability of the plasma model implemented by MCPlas and demonstrates the significance of electron transport treatment and boundary conditions applied in the toolbox. Using the same examples, the easy handling of complex reaction kinetic models in MCPlas and the reusability of its JSON input data across different modelling platforms are illustrated. This demonstrates that MCPlas provides a transparent and reproducible workflow for the simulation of non-thermal plasmas using COMSOL.
