Please login with a confirmed email address before reporting spam
Posted:
4 years ago
25 giu 2020, 07:39 GMT-4
Hi Kevin,
The problem is that somewhere inside your expression, units are not what they should from COMSOL point of view.
The expression should be highlighted in red or yellow when you enter it.
To solve your problem, you should apply a divide and conquer strategy : remove some parts of your equation until the message disappears. Then you know that the problem came from something you deleted.
Once you have identified where the unit is wrong. Check the unit of your input parameters : are they all correct? If yes, check the expression itself and try to work the units by hand.
Things to remember :
- the input of all usual functions exp, log, sin, cos, etc. should have no dimension
- when using
a^b
, a
may have a dimension but b
must be dimensionless
- you can not add or subtract quantities that do not have the same dimension
- the unit of a product is the product of the factors' units
Cheers,
Alexis
Hi Kevin,
The problem is that somewhere inside your expression, units are not what they should from COMSOL point of view.
The expression should be highlighted in red or yellow when you enter it.
To solve your problem, you should apply a divide and conquer strategy : remove some parts of your equation until the message disappears. Then you know that the problem came from something you deleted.
Once you have identified where the unit is wrong. Check the unit of your input parameters : are they all correct? If yes, check the expression itself and try to work the units by hand.
Things to remember :
* the input of all usual functions exp, log, sin, cos, etc. should have no dimension
* when using `a^b`, `a` may have a dimension but `b` must be dimensionless
* you can not add or subtract quantities that do not have the same dimension
* the unit of a product is the product of the factors' units
Cheers,
Alexis
Please login with a confirmed email address before reporting spam
Posted:
4 years ago
25 giu 2020, 10:38 GMT-4
Hi Alexis,
Thanks for your reply. it was very usefull to me
Hi Alexis,
Thanks for your reply. it was very usefull to me