Quantcast
Channel: COMSOL Forums: Problem with complex numbers
Viewing all articles
Browse latest Browse all 9

Problem with complex numbers

$
0
0
Hi!
I am using for heating one subdomain a complicate function of temperature. COMSOL says that in my heating function apperas complex numbers, but i think that my heating function avoid this... This is how I define my heating function:
J.*(((E1*(1-T./Tc).^n0).*(J./(J1*(1-T./Tc).^n0)-1).^n).*(T<Tc)+(J.*(Al.*T+Ac)).*(T>=Tc))

in theory when T>Tc the first part is complex but I avoided it with the (T<Tc) statement... is this correct?
Maybe is a too complicate function to give it to COMSOL?
Thanks for your helping

Viewing all articles
Browse latest Browse all 9

Trending Articles