But who would want to return to the office after hours or on weekends just to launch their next model?įortunately, there is a solution: creating a shell script, or a batch file, which automatically launches your COMSOL Multiphysics simulations one after the other. You could launch your first model in the graphical user interface (GUI) and wait for it to solve, launch the second model in the GUI and wait for it to solve, and so on. Running multiple models at the same time on the same computer is not a good option, as they would compete for resources (RAM, in particular) and therefore take longer to run simultaneously than they would sequentially, or back to back. This is especially common if your models are quick to set up but take a fair amount of time to solve. If you have used simulation tools for any significant period of time, you may have found yourself creating new models faster than your computer can solve them. Why Run COMSOL Multiphysics® in Batch Mode from the Command Line? As it turns out, this is quite a simple process. Do you find yourself creating new models in the COMSOL Multiphysics® software faster than you can launch them interactively in the COMSOL Desktop® environment? If having to wait for your current model to finish solving before launching the next one does not sound appealing, it’s time to learn how to run your simulations in Batch mode from the command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |