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 Sep 16, 2020, 7:48 AM EDT

Please login with a confirmed email address before reporting spam

Posted: 2 weeks ago Sep 16, 2020, 7:48 AM EDT

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.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.