Matlab with Comsol simulation

I am doing research on stereo lithography process. Basically it's a process to solidify a liquid resin. I am doing process planning for this system, so I use MATLAB to run Comsol simulation several times to simulate the whole process. The problem right now is when I run the Matlab code, it gives me the error:
Running COMSOL Simulation (Next Layers Loop) for pixel #21 for curing time of 2 seconds for count# 3
Error using axisym_growth7 (line 61)
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:
Repeated error test failures. May have reached a singularity.
Time : 1.239088014920458
Last time step is not converged.
- Feature: Time-Dependent Solver 1 (sol3/t1)
However, if I manually run the simulation in COMSOL, it is working without any error. I am wandering if someone met this problem before? or who can give me some suggestion to overcome that problem?
Thanks in advance!
Ying

回答 (1 件)

argo yang
argo yang 2018 年 8 月 23 日

0 投票

I have the same question. Do you have solved the question?

カテゴリ

ヘルプ センター および File ExchangeLanguage Fundamentals についてさらに検索

製品

質問済み:

2016 年 4 月 7 日

回答済み:

2018 年 8 月 23 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by