Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Use of multiple processors to run simulation faster

Please login with a confirmed email address before reporting spam

Hello I am working on laminar flow module for a simple straight channel. I am using mesh of very high resolution for my computation. It is taking really long time. Is there is a way to set the simulation such that it uses multiple processors and runs faster?


1 Reply Last Post 16.09.2020, 07:48 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 16.09.2020, 07:48 GMT-4

Save your mph, exit the GUI and from a terminal run:

comsol batch -inputfile my_file.mph -np 4

where -np 4 is for the number of processes to use.

Save your mph, exit the GUI and from a terminal run: `comsol batch -inputfile my_file.mph -np 4` where `-np 4` is for the number of processes to use.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.