Expressions
Case sensitivity in expressions
The expression system is generally case insensitive with exceptions noted in the following table.
| Type of expression input | Case sensitivity |
|---|---|
| Expression names | See Expression names |
| Mathematical functions | Insensitive |
| Lookup functions | Insensitive |
| Utility functions | Insensitive |
| Thermal-flow functions | Insensitive |
| Units | See Units |
| Variables(1) | Sensitive |
| Fields(2) | Sensitive |
| (1) In expressions, variables are used as the argument for the UG_VAR function. For more information on the UG_VAR function, see Lookup functions in expressions. (2) In expressions, fields are used as an argument for the FD or FDM functions. For more information on these functions, see Lookup functions in expressions. |
Expression names
Expression names are generally case insensitive. Thus, the software prevents you from creating an expression named Aa when a dimensional expression named AA or aa or aA exists.
The exception to this rule is that if a dimensionless (unitless) expression named AA exists, the software allows you to create a dimensional or dimensionless expression named Aa or aA or aa.
As a best practice, avoid using case to differentiate expression names. When a naming conflict exists among expressions, you can configure the software to issue a warning and prevent the solve from proceeding. Use the List Expression and Units Inconsistency Warnings customer default to cause the software to do the following:
Issue a warning message when you create an expression whose name is the same as an existing unitless expression except for the case of letters.For example, if you create an expression named Aa and a unitless expression named AA or aa or aA exists, the software issues a warning message.
Issue a warning message when you load a FEM or Simulation file that contains a unitless expression and another expression that has the same name except for the case of the letters.For example, if you load a file that contains a unitless expression named Aa and another expression named AA or aa or aA, the software issues a warning message.
Terminate a solve when the simulation contains a unitless expression and another expression that has the same name except for the case of the letters.For example, if your simulation contains a unitless expression named Aa and another expression named AA or aa or aA, when you attempt to solve, the software terminates the solve. When this occurs, the software describes the naming conflict in the Information window.
Include the Check Warnings command in the Expressions dialog box.When you click Check Warnings , if a naming conflict exists, the software opens the Information window with a list of the conflicts.
Units
Not all units are case insensitive. Thus, when entering units in an expression, as a best practice, do one of the following:
Use the auto-complete suggestion for the unit.
Use the case for the unit as shown in the Units Manager dialog box.
Where do I find it?
Selecting the List Expression and Units Inconsistency Warnings customer default
| Application | Pre/Post |
|---|---|
| Prerequisite | A Simulation file or FEM file as the work part and displayed part |
| Customer Default | File→Utilities→Customer Defaults→Pre/Post tab→Expressions→List Expression and Units Inconsistency Warnings check box |
Opening the Units Manager dialog box
| Application | Pre/Post |
|---|---|
| Prerequisite | A Simulation file or FEM file as the work part and displayed part |
| Menu | Tools→Units Manager |
How do I
Create a user-defined expression
Create a system-defined expression
Create an expression for a measurement
Replace an expression in a formula
Test an expression
Generate a contour plot of an expression
Learn more
Expressions
System-defined and user-defined expressions
Domains
Using expressions to define boundary conditions
Finding where expressions are used
Boundary condition ID in expressions
Using unit normal vector components as variables in expressions
Special consideration when importing expressions
Specifying the default value for variables and plug-in functions
Generating a contour plot of an expression
Look up more details
Example of an expression
Quick links
Command reference
Pre/Post video examples
Bulk Entry Descriptions
Simcenter 3D tutorials
Browse Simcenter 3D help by product area
Case sensitivity in expressions, Simcenter 3D 2021.1 Series
© 2020 Siemens
window.mainLanguage="en_US"
window.delivId=""
window.projectId=""
MathJax.Hub.Config({ TeX: { extensions: ["autoload-all.js"] }, tex2jax: { displayMath: [ ] }, "SVG": { scale: 125 } });
Source: https://docs.sw.siemens.com/en-US/doc/289054037/PL20200601120302950.advanced/xid1754514 · retrieved 2026-07-17