SimcenterKnowledge

Expressions

Example of an expression

Suppose you define a force in the Force dialog box, and you specify the magnitude of the force with an expression. You enter the following formula to define the expression:

100.0*sin(90.0[degrees]*ug_var("time")/1[sec])

Viewing the formula for the expression alone suggests that the expression is dimensionless. There is no unit associated with the numerical value of 100.0, and the sine function evaluates to a dimensionless value. However, because you created the expression in the Force dialog box, the software automatically interprets the dimensionality of the expression to be force. You specify the unit of force such as Newtons or milli-Newtons in the Force dialog box, and the software assigns the unit to the expression.

The expression is plotted in the following graph. The horizontal axis represents time in seconds and the vertical axis represents force in the specified units. The argument of the sine function is explicitly defined to be in degrees. You do this by assigning the unit of degrees to the numerical value of 90.0, and making the time variable dimensionless by dividing it by 1[sec].

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

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

Quick links

Command reference

Pre/Post video examples

Bulk Entry Descriptions

Simcenter 3D tutorials

Browse Simcenter 3D help by product area

Example of 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/id624946 · retrieved 2026-07-17