Batch
To enable this option in the context menu, click the Show More Options button () and select Batch or Batch and Cluster (if your license includes cluster computing) in the Show More Options dialog box.
Use a Batch () study to start a COMSOL Multiphysics batch process that solves the current study on your computer. Once the filename and directory are set, right-click the parent Study node and choose Compute to start a COMSOL Multiphysics batch process that computes the current study.
When the batch process starts, the COMSOL Desktop follows the progress in The External Process Window. When the process finishes (or you click the Detach Job button to no longer follow the process), an External Process node is added, one for each parameter, under a Batch Data node as in Figure 20-5. The External Process node represents the current running process. For more information, see Batch (Job Configurations), Batch Data, and External Process.
Figure 20-5: An example of the two kinds of Batch nodes available under Study and Job Configurations.
Micromixer — Batch Version: Application Library path: COMSOL_Multiphysics/Tutorials/micromixer_batch
Batch Settings
Specify the file in which to store the model in the Filename field. The directory in which to store the model is the one in the Batch directory field on the Multicore and Cluster Computing page in the Preferences dialog box.
Select the Generate solver sequence in external process check box to delay the generation of the solver sequence (for example, to avoid expensive mesh generation on the desktop before submitting the batch job).
If you are connected to a COMSOL Multiphysics server on another computer, you can control the working directory used by the COMSOL Multiphysics server if you select the Specify server directory path check box and enter the path to the server Directory or Browse for the path. Otherwise, a temporary directory on the COMSOL Multiphysics server is used to save files.
Study Extensions
Select the Use graphics check box when the batch process should run results nodes that create graphical contents such as exporting to file.
Enter the Number of simultaneous jobs. The default is 1. This value is the maximum number of batch processes that are allowed to run simultaneously.
Enter the Number of job restarts. The default is 0. This value is the maximum number of times the job can be restarted if it fails to complete, so you need to increase it to make the batch process restart the job.
Enter a value for the Alive time (seconds). The default is 300 seconds. This is the longest time the process is allowed to run before it must inform that it is still running. Failure to do so means that the process is considered dead, and a new process is started if the maximum number of job restarts is not reached. The new job is restarted, and data from the previous job run is treated as invalid.