Running COMSOL Multiphysics in Batch Mode
You can submit COMSOL Multiphysics batch jobs from the COMSOL Desktop and the command line.
To run a COMSOL Multiphysics batch job from the COMSOL Desktop, you need to make the Batch feature visible: in the Model Builder tree, click the Show More Options button () and select Batch and Cluster in the Show More Options dialog. In the Model Builder, right-click a Study node and select Batch to create batch jobs.
From the terminal window, you can start batch jobs using the comsol batch command. This is an example of how such a command could look:
comsol batch -inputfile in.mph -outputfile out.mph
To run a specific study add the command line option -study <tag>, where <tag> is the tag of the study to run, for instance, std1. To see the tag, click the toolbar button Model Tree Node Text in the Model Builder and select Tag.
The COMSOL Multiphysics Reference Manual includes a dedicated section on running COMSOL Multiphysics from the terminal window, including a list of COMSOL commands and associated syntax.