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.

Results not saved in Batch Mode

Please login with a confirmed email address before reporting spam

I have set up several models and run them in batch mode. They seemed to run okay (the log files don't indicate any errors and tell me the simulation finished solving), however when I open the models back up no solution data seems to have been saved.

My commands are just like in the reference manual: comsol batch -inputfile in.mph -outputfile out.mph -study std2

An outputfile is produced but contains no results data. A .mph.recovery file is also produced but it is empty and a .mph.status file just reads "Done."

Have I made a mistake somewhere? And if not does anyone know if there's some way to find the data that should have resulted?

Cheers

EDIT:

Well after a bit more looking I might have solved my own problem. It seems that the solution is not automatically generated in the results section but has to be specifically added by right-clicking "Data Sets" and adding the required solution. Perhaps, this will be useful to other beginners.


1 Reply Last Post 30 dic 2017, 18:59 GMT-5
Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 30 dic 2017, 18:59 GMT-5

A "show default solver" will provide the steps used to solve before hand and often will show the data sets that are generated as a result of the solution. You need to make sure that your plots are linked to the correct data sets.

-------------------
James D. Freels, Ph.D., P.E.
A "show default solver" will provide the steps used to solve before hand and often will show the data sets that are generated as a result of the solution. You need to make sure that your plots are linked to the correct data sets.

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.