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.

Why do I get "Error 9171"

Please login with a confirmed email address before reporting spam

Hello,

Is there an issue with using constants, defined in the Constants window, to define geometries?

I have defined a number of constants that I want to use as geometric parameters, but I get a syntax error when inputing the constant names into the geometry dimension fields:

Error: 9171
Syntax error in expression
- Expression: 50 [mm]

What is the cause of this?

Thank You,

Jonathan

2 Replies Last Post Jun 21, 2010, 4:30 p.m. EDT
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 Jun 21, 2010, 1:39 p.m. EDT
Hi

if you are in 3.5 I seem to remember that the units are not accepted for dimension of geometries, its better in V4
Try with 0.050

Good luck
Ivar
Hi if you are in 3.5 I seem to remember that the units are not accepted for dimension of geometries, its better in V4 Try with 0.050 Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 21, 2010, 4:30 p.m. EDT
Ivar,

Thank you for your help!
Ivar, Thank you for your help!

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.