Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variables in FEMAP

Status
Not open for further replies.

ajostler

Mechanical
Mar 17, 2016
1
Hello,

What I'm trying to do is use variables in my model to vary the cross-section of a beam element. I have an API script created that will change the value of a variable and re-run the analysis. I do this often, where I want to plot the stresses, deflections, etc as a function of a member dimension. It would be exponentially more efficient to complete this programmatically as opposed to manually like I've been doing it.

This is a simple example explaining what I'm trying to do. I have a beam that's constrained at one end, and has a force at the other. In the model, I also have a variable 'A' set as '0.1' that I want to map to the 'Radius' field in the cross-section definition of my beam element. As you can see, I put the variable in there.

original


After I hit OK, and go back in, I now have the following:

original


The Radius correctly takes the value of variable 'A'. However, if I now change the value of 'A' in the variable editor, it doesn't update the Radius field.

Is this a limitation of the software? Or is there a different method for maintaining the reference to the variable?

Any help you can provide would be greatly appreciated. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor