...
Ref: https://www.comsol.com/blogs/how-to-run-simulations-in-batch-mode-from-the-command-line/
ReRef: https://doc.comsol.com/5.5/doc/com.comsol.help.comsol/comsol_ref_running.29.30.html
Ref models: https://www.comsol.com/models
An example is this: comsol batch -inputfile Model1.mph -outputfile Model1_solved.mph
...