Expressions
Test an expression
This procedure shows how to evaluate an expression for a specific value of the independent domain. In this procedure, you create a formula field from the expression and then reference the formula field that you created in the field function.
Note:
Because Simcenter 3D does not support the Knowledge Fusion Navigator, you can only use this procedure when accessing Pre/Post through NX.
In the Simulation Navigator, right-click the Fields node and choose New Field→Formula.
(Optional) In the Name box, type the formula field name.
In the Domain group, from the Independent list, select the independent domain type for the expression that you want to test.Note: It is possible that the independent domain for the expression that you want to test is not included in the Independent list. If so, you cannot use this procedure to test the expression.
If the independent domain contains more than one variable, note the variables in the order in which they are listed.You will need this information later in the procedure.
From the Dependent list, select the dependent domain type for the expression that you want to test.
In the Expressions group, enter the name of the expression that you want to test and click Accept Edit .
Click OK to create the formula field for the expression you want to test.
On the Resource bar, click the Knowledge Fusion Navigator tab.Note: If the Knowledge Fusion Navigator tab is not displayed, choose Application tab→More list→Knowledge Fusion .
In the Knowledge Fusion Navigator, right-click root and choose Evaluate Temporary Rule.
In the Rule Formula box, type the field function specification.The exact format for the argument of the field function depends on the number of variables in the independent domain of the expression. The general format for the field function specification is:fd(“formula field name”,value(1),value(2),...,value(n),.....)where value(n) is the dimensional or dimensionless value for the nth variable. In the argument of the field function, list the values for the independent variables in the same order they are listed in the Domain group of the Formula Field dialog box.
Click Evaluate.The value of the expression for the values of the independent variables that you specify is displayed in the Result box. When you include units in the specification of an independent variable, the software converts the value for the independent variable to base units and then evaluates the expression.
To evaluate the expression at other values of the independent domain, repeat steps 10 and 11.
Click Close.
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
Generate a contour plot of an expression
Learn more
Expressions
System-defined and user-defined expressions
Domains
Case sensitivity in expressions
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
Test an expression, 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/xid921722 · retrieved 2026-07-17