Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2012年6月18日 GMT-4 05:35
Seeing as how Comsol does not complain about your use of the variable "x" (in other words, it works as expected), you should do what Comsol tells you to: fix the unit. It's probably a simple syntax issue.
Seeing as how Comsol does not complain about your use of the variable "x" (in other words, it works as expected), you should do what Comsol tells you to: fix the unit. It's probably a simple syntax issue.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2012年6月18日 GMT-4 21:38
Seeing as how Comsol does not complain about your use of the variable "x" (in other words, it works as expected), you should do what Comsol tells you to: fix the unit. It's probably a simple syntax issue.
Thank you very much for your quick reply.
But I can not set the unit since the default unit of charge is C/cm3 and fixed by COMSOL.
Pls see the attached image. I highlight the problem shown.
PS. It is a 2D modle and left and right parts are electrodes. The dielectric is in the middle.
[QUOTE]
Seeing as how Comsol does not complain about your use of the variable "x" (in other words, it works as expected), you should do what Comsol tells you to: fix the unit. It's probably a simple syntax issue.
[/QUOTE]
Thank you very much for your quick reply.
But I can not set the unit since the default unit of charge is C/cm3 and fixed by COMSOL.
Pls see the attached image. I highlight the problem shown.
PS. It is a 2D modle and left and right parts are electrodes. The dielectric is in the middle.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2012年6月19日 GMT-4 02:22
You can override the unit. Just insert "[C/cm^3]" behind the "10^6" factor or at the end of the expression. Only if you don't specify a unit, the default unit displayed in the right margin is used.
However, as you can tell from this explanation, the unit of the pre-exponential factor is not the issue here. Rather, you're dividing x^2 (which has unit m²) by something unitless in the exponential, so your overall unit is exp(m²), which is what throws Comsol. Instead of dividing by 25, you should divide by something like "(5[m])^2" to get the units right.
Other than that, it's usually safe to ignore the unit warnings, if you know what you're doing. After all, the solver just deals with numbers.
You can override the unit. Just insert "[C/cm^3]" behind the "10^6" factor or at the end of the expression. Only if you don't specify a unit, the default unit displayed in the right margin is used.
However, as you can tell from this explanation, the unit of the pre-exponential factor is not the issue here. Rather, you're dividing x^2 (which has unit m²) by something unitless in the exponential, so your overall unit is exp(m²), which is what throws Comsol. Instead of dividing by 25, you should divide by something like "(5[m])^2" to get the units right.
Other than that, it's usually safe to ignore the unit warnings, if you know what you're doing. After all, the solver just deals with numbers.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2012年6月19日 GMT-4 02:53
Yeah!
I get it. Thank you very very much.
Yeah!
I get it. Thank you very very much.