General

General

How to handle the error message for an expression that is unused and has been removed? Error at Node 0: Error at Node 1: Invalid expression : Speed Invalid expression : Speed

    • FAQFAQ
      Participant

      The listed error message might appear when an expression was applied in some definition (cell zone setting, boundary condition, …) but then the setting has been disabled and the expression has been deleted. In this case the expression is still listed in the unused (and hence unvisible) setting. An example is when Frame Motion was specified with the velocity defined by an expression, i.e. “Speed”. When the Frame Motion is disabled, the expression will be shown as not used (“Used in : 0 places”). So there are no active uses, but there is still an inactive use in the hidden Frame Motion setting. If the expression is deleted, the mentioned error message will appear due to the still existing inactive use of the expression. This can be easily fixed by either re-creating the expression or by removing the inactive use of the expression. In the above example this means to activate Frame Motion again, replace the expression “Speed” by a constant value and then deactivating Frame Motion again.