Condition Based Boundary Source

Please login with a confirmed email address before reporting spam

I was trying to develop a process model in Heat transfer module (2d). I have curve boundary and a heat source has to be applied on certain portion of the curve . I selected the complete curve in Boundary heat source , and gave such an expression in the heat source tab

(x<50)*(x>10)*Heat source value

I was assuming that the source will be applied only in the portion where x>10 and x<50. But observed that the source is acting on the complete curve. Tried the same with if condition, and the output is same.

Can anyone please consider Thanks a lot, Stay safe


1 Reply Last Post May 27, 2020, 2:02 PM EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 months ago May 27, 2020, 2:02 PM EDT
Updated: 4 months ago May 27, 2020, 3:13 PM EDT

Hello Aswin,

That seems odd. My initial guess would be that perhaps you meant to type something like instead of or something along those lines. Another possibility is that perhaps you meant to type . If neither is the issue, please consider posting your .mph file so other users of this Discussion Forum can take a look.

Best,

Jeff

-------------------
Jeff Hiller
Hello Aswin, That seems odd. My initial guess would be that perhaps you meant to type something like (x10[mm]) instead of (x10) or something along those lines. Another possibility is that perhaps you meant to type (X10). If neither is the issue, please consider posting your .mph file so other users of this Discussion Forum can take a look. Best, Jeff

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.