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

"Java exception" problem during multiple iterations in Livelink for MATLAB

$
0
0
Hi everyone, this forum is great and it helped a lot to grow in COMSOL world.

Anyway, now i am trying to calculate/simulate a phase growth process considering the mass transfer through the interfaces, in which I am using "Livelink for MATLAB' module.
For each iteration, the solution from the previous study was passed down as intial values for the current step and some boundary conditions were changed also. The original plans are to repeat about 10000 iterations, while MATLAB always jumped out after about 2600 iterations with this red "Java exception" warnings. I tried to change the settings in COMSOL and MATLAB wherever shows "cache size" or "buffer size" but it is still happening at exact the same point.

So could you guys help me out with it? Really appreicate your effort and help!!!

ps: I paste the MATLAB warning here. If you want to see the M file, i would upload it later.

Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem
The following feature has encountered a problem
The following feature has encountered a problem:
Error in multiphysics compilation.
- Feature: Compile Equations: Time Dependent (sol5158/st1)
Stack trace:
at com.comsol.clientapi.engine.c.handleException(Unknown Source)
at com.comsol.client.interfaces.f$d.f(Unknown Source)
at com.comsol.client.interfaces.f.a(Unknown Source)
at com.comsol.client.interfaces.f.runAndWait(Unknown Source)
at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)
at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)
at com.comsol.clientapi.impl.SolverSequenceClient.runAll(Unknown Source)
Caused by: Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem
The following feature has encountered a problem:
Error in multiphysics compilation.
- Feature: Compile Equations: Time Dependent (sol5158/st1)
at com.comsol.clientapi.engine.c.handleException(Unknown Source)
at com.comsol.client.interfaces.f.a(Unknown Source)
at com.comsol.client.interfaces.f.processCommandAnswer(Unknown Source)
... 6 more
Caused by: Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
The following feature has encountered a problem:
Error in multiphysics compilation.
- Feature: Compile Equations: Time Dependent (sol5158/st1)
at com.comsol.solver.SolverOperation.addError(Unknown Source)
at com.comsol.solver.SolverOperation.execute(Unknown Source)
at com.comsol.model.internal.impl.SolverSequenceImpl.a(Unknown Source)
at com.comsol.model.internal.impl.SolverSequenceImpl.i(Unknown Source)
at com.comsol.model.internal.impl.SolverSequenceImpl$23.a(Unknown Source)
at com.comsol.model.internal.impl.SolverSequenceImpl$23.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManager$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Viewing all articles
Browse latest Browse all 26527

Trending Articles