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

Error:-18, COMSOL with MATLAB

$
0
0
Dear COMSOL Experts,

When I run my own created model using COMSOL LIVELINK with MATLAB, COMSOL with MATLAB window shows an error:-18. After all the commands in the function scripts are executed, it shows error such as
Error using com.comsol.model.impl.SolverSequenceImpl/runAll
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Failed to find a solution for all parameters
............................................................................
Out of memory LU factorization

Returned solution is not converged
- Feature: Stationary Solver 1 (sol1/s1)
- Error: Failed to find a solution for all parameters,
................................................................................

My model file .mph does not have any bug since I got results from graphic user interface.

However, when I run the busbar.mph and busbar.m obtained from the model library of COMSOL, using COMSOL with MATLAB, it works fine. I also performed geometry parameterization of busbar.mph model it provides accurate results.

Why am I getting this error for my created model even though my GUI model does not provide any error?

I appreciate your response.

Regards
Mazhar

Viewing all articles
Browse latest Browse all 26527

Trending Articles