Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

Reducing the decimal point of the output of analytical function (Not reducing the display precision)

$
0
0

Hello,

I have an analytical function (1.291E5 x exp(-1.528E4/(T-0)) of Electrical Conductivity, which produces outputs with far higher precision than COMSOL can handle (up to e-16). For example, if the temperature reaches 200K then the function produces 8.527619713E-29.

This causes the model cannot be converged so I need to reduce the accuracy (by reducing the number of decimal points). One suggestion I had was to add 1 to the function (1+(1.291E5exp(-1.528E4/(T-0)))), but it seems there is no way I can subtract 1 again without gaining the high precision again...?

Can anyone know how I can reduce the number of decimal points of outputs? I am not asking to reduce the display precision, which we can adjust it in the preference.

Many thanks in advance. Sungwoo


Viewing all articles
Browse latest Browse all 5773

Trending Articles