I am running a multi-step analysis in Workbench. I inserted a command snippet that does some specialized postprocessing (writes some matrices of results items to text files) for each of 5 load steps. These matrices look correct for every load step. However, when examining the results objects within WB itself, the LS 1 and LS 5 results are identical even though the loading is different in each load step. I have written an ANSYS input file and have rerun the analysis in ANSYS (traditional) Environment and the results looks correct for every load step. Is this a bug in WB?


This is not a bug. The command snippet that was inserted under Solution caused the 5th results set to be used for postprocessing LS 1. Here`s how it works.

When the user specifies Sequence Selection Mode = First, the command snippet is inserted in the ds.dat input during postprocessing of the First load step:

/com,*********** POST FOR LS 1 ***********
set,1
! ****** Begin Command Snippet ******
! Commands inserted into this file will be executed immediately after the Ansys /POST1 command.
! If a SET command is issued, results from that load step will be used as the basis of all
! result objects appearing in the Solution folder.

Notice that WB inserts the command snippetimmediately after a WB-issued SET,N command, where N = the set specified by Sequence Selection Mode. WB will thus normally postprocess the first result set as LS 1. However, if the user issues any SET commands in the command snippet, the last SET command in the user`s command snippet will override this WB-issued SET, and will determine which results set is used for postprocessing LS N. In this particular case, the last SET command that the user issued was SET,5. Thus, WB used the 5th results set for LS 1, in accordance with the instructions embedded in the command snippet.

To have WB`s LS 1 contain the results from the first result set, simply add a SET,1 command to the end of the command snippet.





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