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.
Error:-18, COMSOL with MATLAB
Posted 2012/11/06 11:05 GMT-5 Interfacing 2 Replies
Please login with a confirmed email address before reporting spam
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
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
2 Replies Last Post 2012/11/08 4:51 GMT-5