I am doing a mode-superposition harmonic analysis in Workbench Simulation, and I am using a command object in the Environment branch to modify some settings. I discovered that the command object is executed twice during the solution (once for the required modal and once for the harmonic).


You can use a combination of *GET and *IF commands to control which solve certain commands get executed for. Please see the following example below:


! command object for splitting up commands

*GET,my_anty,ACTIVE,0,ANTY
*IF,my_anty,EQ,2,THEN

/com this is executed only in the modal section

*ELSEIF,my_anty,EQ,3

/com this is executed only in the harmonic section

*ENDIF





Show Form
No comments yet. Be the first to add a comment!