Quantcast
Channel: COMSOL Forums: Units not considered
Browsing latest articles
Browse All 12 View Live

Units not considered

Hi I define a constant NA with units cm^-3 and a function f(x) = NA*exp(-(x/k)^2), where 'x' and 'k' are in meters making the units of f(x) essentially cm^-3. However, in the variables list, where I...

View Article



Re: Units not considered

I believe when you use built-in functions like exp() in variable definition they expect non-dimensional arguments and return non-dimensional values. You can add dimensions later as exp(a)[cm].

View Article

Re: Units not considered

Hey, thanks for pointing this out.

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images