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.

Is it a COMSOL Bug?

Please login with a confirmed email address before reporting spam

Dear COMSOLers

Recently, I encounter a very weird question about COMSOL 4.0a.

I just open Try.mph in COMSOL desktop and COMSOL with Matalb, and then export it to COMSOL server, then open the Try.m in the Matlab and press F5 to run it.

Try.m is like this:

% Import model form the COMSOL server
model = ModelUtil.model('Model');
for k = 1: 60
disp(k);
tic;
model.sol('sol1').runAll;
toc;
end

I just use the "tic" and "toc" to test the time consumed in each sweep.

The weird things happens!

As you see in the figures in the attached files, when k<33 , the time consumed is nearly same, about 13 seconds.(fig1.jpg, fig2.jpg). But when k> 34, the time consumed in each sweep increased significantly(fig2.jpg, fig3.jpg). when k = 55, it almost takes 199 seconds for one sweep(So weird). and After it, the sweep for k=56 stoped without any error message, but the comsolserver CPU is 0%(fig4.jpg).

I'm so confused about this. I donot know if this is a COMSOL bug. How can I figure it out?

Best wishes!

Kyo




0 Replies Last Post 2010年8月28日 GMT-4 06:18
COMSOL Moderator

Hello Kyo Lee

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.