Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

heat source in terms of pulse

Please login with a confirmed email address before reporting spam



I have doubt regarding heat source term.

I am writing terms like following, but heat source is not available for later time....

heat source term is:

10e5*(t>=1.000000e-006)*(t<=1.000010e-006)+10e5*(t>=2.000000e-006)*(t<=2.000010e-006)+10e5*(t>=3.000000e-006)*(t<=3.000010e-006)

and time step:

range(1.000000e-006,1e-12,1.000010e-006) range(2.000000e-006,1e-12,2.000010e-006) range(3.000000e-006,1e-12,3.000010e-006)

Please gibe suggestion regarding how to put heat source term to get it in every mention time steps.

Thank you very much

Regards,
Chirag

2 Replies Last Post 14.02.2012, 18:32 GMT-5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 14.02.2012, 15:03 GMT-5
Hi

what about using a (or several) step function/operator, or a piecewise integration in this way you make smooth transitions, that would help the solver to integrate over the steps.

Then for the ranges , I do not know of any other way, and a repeat(..) does not (yet?) exist, just define a series of ranges, with small steps around the transition and larger steps in between.

note if you have "jumps" like with the bolean function the solver will have some issues jumping from one step to the next



--
Good luck
Ivar
Hi what about using a (or several) step function/operator, or a piecewise integration in this way you make smooth transitions, that would help the solver to integrate over the steps. Then for the ranges , I do not know of any other way, and a repeat(..) does not (yet?) exist, just define a series of ranges, with small steps around the transition and larger steps in between. note if you have "jumps" like with the bolean function the solver will have some issues jumping from one step to the next -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 14.02.2012, 18:32 GMT-5


Hi..

Thank you Ivar, for your kind suggestion.

Regards,
Chirag
Hi.. Thank you Ivar, for your kind suggestion. Regards, Chirag

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.