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.

Adding 'for loop' and threshold limit

Please login with a confirmed email address before reporting spam

Hello Professionals!!!

I'm an intermediate user of comsol and need some hints and suggestions out of your experiences.

  1. I have to perform heat transfer simulations. The emperature of one cell (primary heat source) will increase with respect to time and the others (secondary heat source) will get affected resulting in the increase of temperature. I’ve to limit the increase in temperature of the secondary (for example 1000K) and make the temperature to jump from 1000K to 1500 K (in single step). How do I achieve this?
  2. How to add ‘for loop’ in comsol. for (i=0; a[i]>=800; i++) { a(i)=1400 }


0 Replies Last Post 11.08.2020, 04:59 GMT-4
COMSOL Moderator

Hello Naresh Virothi

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.