SimcenterKnowledge

Fields > Formula fields

Examples of formula field expressions

  • Linearly increasing force from 0.0 N at time equal to zero, to 200.0 N at time equal to 1 second:200.0[N]*ug_var("time")/1.0[sec]

  • Force distribution for a 1000.0 N bearing load directed along the global x-axis:if (ug_var("theta")>90.0[degrees]&&ug_var("theta")<270.0[degrees]) then 0.0[N] else 0.5*1000.0[N]*cos(ug_var("theta"))

  • 500.0 N force pulse from time equal to zero to time equal to 1.0 second:if (ug_var("time")<=1.0[sec]) then 500.0[N] else 0.0[N]

  • Hydrostatic (gage) pressure distribution for a liquid having a density of 1000.0 kg/m3. The surface of the liquid is at z equal to zero and the depth increases in the negative z-direction:if (ug_var(“z”)>0.0[mm]) then 0.0[N/mm^2(MPa)] else (1000.0[kg/m^3]*9.81[m/sec^2]*abs(ug_var(“z”))*1[mm])

  • Linear velocity of points on a body executing simple angular motion about the z-axis as a function of radial position and angular frequency:2.0*pi()*ug_var(“radius”)*ug_var(“frequency”)

The software auto-generates expressions for all the variables used in the above expressions. Thus, you can simplify the syntax of the above expressions by replacing the UG variable function with the corresponding expression name as follows:

  • Linearly increasing force from 0.0 N at time equal to zero, to 200.0 N at time equal to 1 second:200.0[N]*time/1.0[sec]

  • Force distribution for a 1000.0 N bearing load directed along the global x-axis:if (theta>90.0[degrees]&&theta<270.0[degrees]) then 0.0[N] else 0.5*1000.0[N]*cos(theta)

  • 500.0 N force pulse from time equal to zero to time equal to 1.0 second:if (time<=1.0[sec]) then 500.0[N] else 0.0[N]

  • Hydrostatic (gage) pressure distribution for a liquid having a density of 1000.0 kg/m3. The surface of the liquid is at z equal to zero and the depth increases in the negative z-direction:if (z>0.0[mm]) then 0.0[N/mm^2(MPa)] else (1000.0[kg/m^3]*9.81[m/sec^2]*abs(z)*1[mm])

  • Linear velocity of points on a body executing simple angular motion about the z-axis as a function of radial position and angular frequency:2.0*pi()radiusfrequency

For more information on auto-generated expressions, see Auto-generated expressions.

How do I

Create a formula field

Define a boundary condition using a formula field

Define a material property using a formula field

Define a formula field with complex dependent variables

Learn more

Formula fields

Look up more details

Special editing options for formula fields

Quick links

Command reference

Pre/Post video examples

Bulk Entry Descriptions

Simcenter 3D tutorials

Browse Simcenter 3D help by product area

Examples of formula field 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/id624951 · retrieved 2026-07-17