Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

How to use COMSOL batch to solve many files repeatedly without GUI?

$
0
0
Hi,

When I open an .mph file with a given geometry and settings, then click "Solve", COMSOL creates the mesh then solves the problem.
I would like to do this in batch mode (i.e., without GUI), however, I am not successful.

I think I should use something like "comsol batch -input myfile.mph" and that should suffice, however, COMSOL quits saying that the file doesn't contain a mesh. The COMSOL help files state that the .mph file's geometry must be meshed before using the above to solve the project.

Can anyone explain how may I *simply* tell COMSOL to open file after file after file, *create a mesh* and solve each?

Thank you

Viewing all articles
Browse latest Browse all 26527

Trending Articles