Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

help internal parser error

María Belén Amunategui

Please login with a confirmed email address before reporting spam

Hi,
it appears an error that says "internal parser error" when I write " 0.01[Pa·s] " in Global Definitions->Parameters.
It has something to do with the viscosity units.
Could anyone help me?
Thanks in advance,
Belén

2 Replies Last Post 2013年3月2日 GMT-5 03:07
COMSOL Moderator

Hello María Belén Amunategui

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.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2013年3月1日 GMT-5 18:15
I got the same general "Internal parser error" message when trying to plot an interpolation function, with function value units specified as J/(kg·K) (which I must have copied from some COMSOL generated results). It took me quite some time to realize that the only problem with this function is the dot used in the units specification. After changing it to J/(kg*K), everything was fine.

Could this error message be made more specific?
Or does it always indicate an illegal units input?

Thanks,
Miroslav
I got the same general "Internal parser error" message when trying to plot an interpolation function, with function value units specified as J/(kg·K) (which I must have copied from some COMSOL generated results). It took me quite some time to realize that the only problem with this function is the dot used in the units specification. After changing it to J/(kg*K), everything was fine. Could this error message be made more specific? Or does it always indicate an illegal units input? Thanks, Miroslav

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2013年3月2日 GMT-5 03:07
Hi

yo uare probably right the * and the . are two different characters (ASCII Codes), so it could be that the equation parser does not understand the dot"

--
Good luck
Ivar
Hi yo uare probably right the * and the . are two different characters (ASCII Codes), so it could be that the equation parser does not understand the dot" -- Good luck Ivar

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.