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 Sep 18, 2016, 5:34 p.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Sep 18, 2016, 5:34 p.m. EDT
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.