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.
problem with if condition
Posted Nov 16, 2011, 9:15 a.m. EST Heat Transfer & Phase Change Version 4.2 3 Replies
Please login with a confirmed email address before reporting spam
hello,
I have been trying to put condition in heat source
like heat flux= (t>=1e-6)*0+(t<=1e-12)*10e6
and my time dependent:
times: range(1e-6,1e-6,2e-6) range(2e-6,1e-12,2.000010e-6 ) range(2.000010e-6, 1e-6,10e-6)
when I run solution it is not giving me any heat flux!..(as per my idea it should give me heat flux in interval of range(2e-6,1e-12,2.000010e-6 ) but it is not)....... !!!!!
Please kindly reply if any one has idea how to put condition so that heat source will have value!!!
Chirag Patel
3 Replies Last Post Nov 16, 2011, 10:18 a.m. EST