Cancel
Showing results for
Did you mean:

# spatial varying pressure Pioneer

I am trying to give spatial varying pressure(i.e 4.1233*(y-50)) on edge of plane stress element. But when I am giving this varying pressure it shows the error Dimensioned not matched. So can anyone tell how should we give this pressure.

3 REPLIES 3

# Re: spatial varying pressure  Siemens Phenom

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)

# Re: spatial varying pressure Pioneer

Still getting the same error. Please have a look at the attached snippet.

# Re: spatial varying pressure  Siemens Phenom

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)