Expressions > Inputs to expressions > Migrating expressions that include angular measures
Processing of angular and non-angular measures in versions prior to Simcenter 3D 11
For versions prior to Simcenter 3D 11, the software returned unexpected results as follows:
| Product | Expression dimensionality (units) | Formula for the expression | Value for the expression |
|---|---|---|---|
| rθ | Displacement (mm) | 25[mm]*3[radians] | 4297.1....[mm] |
| 25[mm]*3[degrees] | 75[mm] | ||
| rω2 | Acceleration (mm/sec^2) | 25[mm]*(2[radians/sec]^2) | 328280.6....[mm/sec^2] |
| 25[mm]*(2[degrees/sec]^2) | 100[mm/sec^2] |
As a workaround, you could include correction factors in your formulas, so that the software returned the expected result. The following examples demonstrate these workarounds.
Workaround when angles are in radians
Suppose that you created an expression whose formula is as follows:
25[mm]*3[radians]
When the software evaluated this expression in a version of Simcenter 3D prior to 11, it performed the following calculation:
25,{\rm{mm}},\left( {3,{\rm{radians}}} \right)\left( {\frac{{180}}{\pi }} \right) = 4297.1....,{\rm{mm}}
where the quotient is applied by the software to convert the angle to the base unit of degrees.
To correct for the conversion from radians to degrees, you could have added a correction factor to the formula for the expression as follows:
25[mm]*3[radians]*PI()/180)
where PI()/180 is the correction factor.
When the software evaluated this expression in a version of Simcenter 3D prior to 11, it performed the following calculation:
25,{\rm{mm}}\left( {3,{\rm{radians}}} \right)\left( {\frac{{180}}{\pi }} \right)\left( {\frac{\pi }{{180}}} \right) = 75,{\rm{mm}}
where the first quotient is applied by the software to convert the angle to the base unit of degrees and the second quotient is the correction factor that you included in the formula for the expression.
Workaround when angles are in degrees
Suppose that you created an expression whose formula is as follows:
25[mm]*3[degrees]
When the software evaluated this expression in a version of Simcenter 3D prior to 11, it performed the following calculation:
25,{\rm{mm}}\left( {3,{\rm{degrees}}} \right) = 75,{\rm{mm}}
In this case, the software did not convert the angle to degrees because degrees were the base unit. Consequently, you had to add a correction factor to the formula that converts the angle from degrees to radians as follows:
25[mm]*3[degrees]*PI()/180)
where PI()/180 is the correction factor.
When the software evaluated this expression in a version of Simcenter 3D prior to 11, it performed the following calculation:
25,{\rm{mm}}\left( {3,{\rm{degrees}}} \right)\left( {\frac{\pi }{{180}}} \right) = 1.3089....,{\rm{mm}}
where the quotient is the correction factor that you included in the formula for the expression.
Note:
The correction factor is the same regardless of whether the formula for the expression contains angular measures in degrees or radians.
Additional examples
The following table provides additional examples of how you could have applied correction factors in versions of Simcenter 3D prior to 11.
| Product | Expression dimensionality (units) | Formula for the expression | Value for the expression |
|---|---|---|---|
| rθ | Displacement (mm) | 25[mm]*3[radians]*PI()/180 | 75[mm] |
| 25[mm]*3[degrees]*PI()/180 | 1.3089....[mm] | ||
| rω2 | Acceleration (mm/sec^2) | 25[mm](2[radians/sec]^2)((PI()/180)^2) | 100[mm/sec^2] |
| 25[mm](2[degrees/sec]^2)((PI()/180)^2) | 0.03046....[mm/sec^2] |
Processing of angular and non-angular measures in versions prior to Simcenter 3D 11, 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/xid1665606 · retrieved 2026-07-17