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.
Attempt to evaluate real logarithm of negative number.
Posted 21 mars 2017, 11:15 UTC−4 Results & Visualization 1 Reply
Please login with a confirmed email address before reporting spam
Hi, All
I got this error when I run the simulation:
" Attempt to evaluate real logarithm of negative number.
- Function: log
Failed to evaluate variable.
- Variable: comp1.semi.Efp
- Defined as: comp1.semi.Ev-(comp1.semi.Vth*log(comp1.semi.P/(comp1.semi.gamma_p*comp1.semi.Nv))) "
I tried to calculate the component in log (i.e., comp1.semi.P/(comp1.semi.gamma_p*comp1.semi.Nv) ) in Comsol Results and the result shows that this component indeed a positive number with a order about 10^-4~10^-9. If so, why I still face this error?
Can anybody help?
Best regards
I got this error when I run the simulation:
" Attempt to evaluate real logarithm of negative number.
- Function: log
Failed to evaluate variable.
- Variable: comp1.semi.Efp
- Defined as: comp1.semi.Ev-(comp1.semi.Vth*log(comp1.semi.P/(comp1.semi.gamma_p*comp1.semi.Nv))) "
I tried to calculate the component in log (i.e., comp1.semi.P/(comp1.semi.gamma_p*comp1.semi.Nv) ) in Comsol Results and the result shows that this component indeed a positive number with a order about 10^-4~10^-9. If so, why I still face this error?
Can anybody help?
Best regards
1 Reply Last Post 21 mars 2017, 15:13 UTC−4