Running a specific Study node using batch

Topics: output, 4.4

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   3 Replies   Last post: September 30, 2014 2:01am UTC
J

J

January 10, 2013 4:44pm UTC

Running a specific Study node using batch

Hi,

I would like to run a specific Study node (suppose I have a model with 2 or more Study nodes) using batch commands. Normally I write something like

comsol -nn 8 -np 8 batch -inputfile input.mph -outputfile output.mph -batchlog batch.log

Does anyone know which additional command I should issue to be able to select a specific Study node to run?

Best,

J

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Josh Thomas

Josh Thomas
Certified Consultant
AltaSim Technologies, LLC

January 10, 2013 9:54pm UTC in response to J

Re: Running a specific Study node using batch

Doctor J,

Simply type:

comsol -nn 8 -np 8 batch -inputfile input.mph -outputfile output.mph -study <study tag> -batchlog batch.log

You can even specify which parameters to solve for and their values from the command line if you wanted using -pname and -plist.

Check out pgs 95 and 96 of the Installation and Operations Guide for more COMSOL Batch Commands.

Hope that helps.

Regards,
Josh Thomas
AltaSim Technologies



Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Josh Thomas

Josh Thomas
Certified Consultant
AltaSim Technologies, LLC

January 10, 2013 9:58pm UTC in response to Josh Thomas

Re: Running a specific Study node using batch

Oh, if you don't know the <study tag>...right-click on the main Study node and select Properties from the list. The Settings window will give you the tag. For example, std1 or std2, etc.

Regards,
Josh Thomas
AltaSim Technologies

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Weijia Cui

Weijia Cui

September 30, 2014 2:01am UTC in response to Josh Thomas

Re: Running a specific Study node using batch

Hi,
What if I want to get output of one node?
For example, I want to know the temperature of a node and I know the tag of this node is tag1.
What command should I type for this?


THX

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines