About Expressions

An expression is a mathematical relationship that involves a combination of numbers, variables, and operators.

This page discusses:

See Also
Creating Expressions

The 3DEXPERIENCE apps let you create expressions to use in a variety of ways. For example, you can use expressions to:

  • Make a particular parameter of a simulation feature more realistic.

    For example, some simulation features allow you to vary their magnitudes according to expressions that you create.

  • Automate calculations that you would otherwise perform manually.

    For example, sensors can display output according to the simulation's results and an expression that you specify.

Syntax

When creating an expression, follow the rules for Enterprise Knowledge Learning (EKL) syntax. For more information, see 3DEXPERIENCE | Enterprise Knowledge Language.

Coordinates

If you base your expression on the Cartesian axis system, use X, Y, and Z to denote the coordinates (for example, X**2+3*Y+Z).

If you base your expression on the cylindrical axis system, use R, T, and Z to denote the coordinates (for example, R+2*T*Z). For axisymmetric models, R and Z are sufficient.

Formula Editor

The Formula Editor is a tool that helps you create your expressions. It provides a dictionary from which you can select the variables and operators that comprise your expression.

For complex expressions, it is often easier and quicker to use the Formula Editor to create your expression than it is to enter all of the numbers, variables, and operators manually. In addition, selecting variables from the Formula Editor's dictionary reduces the chance of input errors.

The image below shows the layout of the Formula Editor.

Number Description
Options to help you set preferences, manage your expression, etc.
A field in which you enter the numbers, variables, and operators that comprise your expression.

The text located immediately above the field indicates the parameter for which you are creating an expression. In the image above, you are creating an expression for the magnitude of surface traction in the X-direction.

A dictionary from which you can select variables to add to your expression, if required.