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 conditional material properties

Please login with a confirmed email address before reporting spam

Hi,

I am trying to give a conditional electrical conductivity as a material property. It will be something like when the voltage becomes 0 then the conductivity should be 1 other than that it will change with the voltage. I am using a rectangular pulse as a pulsed voltage. So after the pulse the conductivity should be 1. I am using v4.2a. will be very glad if someone replies.

I used this but this is not converging,

if(v>0,(2.205*(10e-3*0.05)/(v*1*pi*0.65)),1)


Thanks ,
Arif

3 Replies Last Post 9 mag 2012, 04:13 GMT-4
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 8 mag 2012, 10:00 GMT-4
Hi

I believe you can try like that, but the solver might well have trouble with such Dirac steps, you can as well, I assume, use a smoothened step() or rect() function from COMSOL, then you will have a smoother transition

--
Good luck
Ivar
Hi I believe you can try like that, but the solver might well have trouble with such Dirac steps, you can as well, I assume, use a smoothened step() or rect() function from COMSOL, then you will have a smoother transition -- Good luck Ivar

Nagi Elabbasi Facebook Reality Labs

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 mag 2012, 10:01 GMT-4
Try using a continuous function and “v>eps” instead of “v>0”, where eps is a small number.
Try using a continuous function and “v>eps” instead of “v>0”, where eps is a small number.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 9 mag 2012, 04:13 GMT-4
Thanks a lot Ivar and Nagi, Will try to do so .
Thanks a lot Ivar and Nagi, Will try to do so .

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.