Guilin Sun
Ansys Employee

You are duplicating the variable zspan!

When you specify zspan 0.7 in the variable panel, you can use directly, eg

z=zspan*.5 which means z is at half the zspan, since now zspan is a variable and has the value.

you can also define rrr before assigning it to radius_bottom, as you have done.

Once a varaible has the value, you can do math operations with it.

If you have defined a variable in the “variable” panel, it should not appear on the left side of the “=”. Instead, since it has alreay had a value, it should appear in the irhgt hand side.