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.

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

Please login with a confirmed email address before reporting spam

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


0 Replies Last Post 31 août 2018, 06:34 UTC−4
COMSOL Moderator

Hello Sungwoo Lim

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.