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.

unexpected unit of input

Please login with a confirmed email address before reporting spam

Hi everyone..
using the version 5.2, in the variable expression i try to use sinh(phi) or cosh(phi) and give them a name. the unit of (phi) is the volt wich is the variable of electrostatic module, but the color is orange and show ''unexpected unit of input'' so i can't use it in boundary condition ad i can't solve my problem
Appreciate much for your help!!

1 Reply Last Post 2016年9月18日 GMT-4 17:34

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年9月18日 GMT-4 17:34
Since hyperbolic functions are transcendental, they take unitless quantities as arguments, and thus I'd try dividing phi by some value, like 1[V]

sinh(phi/1[V])

or

sinh(phi/1[µV])
Since hyperbolic functions are transcendental, they take unitless quantities as arguments, and thus I'd try dividing phi by some value, like 1[V] sinh(phi/1[V]) or sinh(phi/1[µV])

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.