The circuit definition in COMSOL Multiphysics adheres to the SPICE format developed at the University of California, Berkeley (Ref. 1). SPICE netlists can be imported and the corresponding circuit nodes are generated in the COMSOL Multiphysics model. Most circuit simulators can export to this format or some version of it.
Statements corresponding to multiple devices are resolved by parsing the associated .model statement. The physics interface also supports the
.subckt statement, which is represented in COMSOL by a
Subcircuit Definition node, and the
.include statement. SPICE commands are interpreted case-insensitively. The statement defining each device is also interpreted as the
Device name.