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.
COMSOL with matlab always stop looping
Posted 2019年11月14日 GMT-5 02:48 2 Replies
Please login with a confirmed email address before reporting spam
DERA All, I use COMSOL with matlab to run my model with a for-loop (change some parameters every time) . But, when the loop time achieved about 15, it will be ended, and says my computer's memory is not enough. What from where it ends, and after about 15 times loop, it comes again. And, the problem described by COMSOL is bellow:
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
以下特征遇到问题:
- 特征: 稳态求解器 1 (sol1/s1)
找不到解。
执行稀疏矩阵操作时内存不足。
返回的解不收敛。
没有返回所有参数步长。
Stack trace:
at com.comsol.solver.SolverOperation.execute(SourceFile:284)
at com.comsol.solver.SolverOperation.addError(SourceFile:442)
at com.comsol.solver.SolverOperation.execute(SourceFile:292)
at com.comsol.model.method.SolverSequenceMethod.doRun(SourceFile:2168)
at com.comsol.model.method.SolverSequenceMethod.doRun(SourceFile:2710)
at com.comsol.model.dbmodel.SolverSequenceDb.run(SourceFile:186)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.comsol.bridge.command.b.a(SourceFile:145)
at com.comsol.bridge.command.b.run(SourceFile:90)
at com.comsol.bridge.command.i.execute(SourceFile:45)
at com.comsol.bridge.command.j.d(SourceFile:711)
at com.comsol.bridge.command.j.a(SourceFile:699)
at com.comsol.bridge.command.j$3.a(SourceFile:600)
at com.comsol.bridge.command.j$3.call(SourceFile:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Can somebody help me ? Thanks!