Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Parameterise loads in Stress analysis

Parameterise loads in Stress analysis

Give us the possibility to parameterise the loads in FEM.

I want to be able to set a range of loadcases or load dependent on other variables.

4 Comments
el_jefe_de_steak
Collaborator

@Thetigerpirro You could implement this with some simple iLogic.

Thetigerpirro
Enthusiast

@el_jefe_de_steak 

The suggestion is here because is shouldn't have to. Since I can already pick other variables to change I don't really see why load isn't one of them.

But I am curious, how do you suggest I fix this with iLogic?

el_jefe_de_steak
Collaborator

@Thetigerpirro All FEA loads are stored as parameters. After looking at it, you can add expressions in the Stress Analysis parameters to make the forces parametric. The trick is that you have to multiply/modify the forces by a "unitless" value.

 

If you needed something a little more complicated, you can use iLogic similar to this.

paramA = Parameter.Param("LoadA")
paramB = Parameter.Param("LoadB")
forceUnitString = " lbforce" 'this intentionally includes a space

'The "if...else if" statements are iLogic's version of case statements
If Multiplier = 3 
	paramA.Expression = 4 & forceUnitString & " * Multiplier" 'this is how you would set the expression to show the equation
	paramB.Expression = 9  & forceString 'you must include the force string in the ilogic when setting FEA parameters
ElseIf Multiplier = 2
	paramA.Expression = 4 & forceUnitString & " * Multiplier" 
	paramB.Expression = 6  & forceString
Else If Multiplier = 1
	paramA.Expression = 4 & forceUnitString & " * Multiplier" 
	paramB.Expression = 3  & forceString
End If

2019-10-02 10_40_00-Parameters.jpg

 

2019-10-02 10_40_21-Parameters.jpg

 

2019-10-02 10_40_42-Parameters.jpg

 

el_jefe_de_steak
Collaborator

@Thetigerpirro 

 

Actually, you can simplify the iLogic even more by using

Parameter.Param("LoadA").Expression = "3 lbforce"

 If you do this, you don't have to declare your variables in iLogic.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report