turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Navigation
- Simcenter
- Forums
- Blogs
- Knowledge Bases

- Siemens PLM Community
- Simcenter
- 3D Simulation - NX Nastran Forum
- spatial varying pressure

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-04-2015 02:09 PM

3 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-04-2015 02:16 PM

You are applying a pressure, so your expression needs to evaluate to either a unitless value (in which case the system assumes pressure units) or to pressure units. The only variable in the expression that has units is 'y', which has length units, so 4.1233*(y-50) evaluates to length units.

To fix this, divide the y value by 1 length unit. If you are working in mm , the expression would be:

4.1233*(y/1[mm]-50)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-04-2015 02:44 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-04-2015 02:56 PM

You forgot the key part - the units designation on the 1.

ug_var("y") returns a length unit. Dividing it by a unitless 1 still leaves a length unit. You need to divide by 1[mm] to have the units cancel:

the expression should be entered exactly as follows:

4.1233*((ug_var("y")/1* [mm]*)-50)

Follow Siemens PLM Software

© 2018 Siemens Product Lifecycle Management Software Inc