1. How to get started with plots - Part 3

2. Handy tools to make many plot in a workflow

  • Workflow set

    • This a workflow running another workflow in a loop

  • Input

    • Text box

    • In this example it is used to set used to set the filter for the signals

1950887295 image13

3. Make workflow for plotting with signal filter input

  • Copy the workflow created for plotting in step2

  • Give it a new name.

    • here: wf_makeSinglePlot_filterSignal

2064782957 image14

4. Add a filter to choose one signal

  • Two changes must be done in the workflow, wf_makeSinglePlot_filterSignal:

    • Add a string called <filterTxt> . This variable is used to select/filter the signals passed in as <input>. Th reason is that we have to send all signals to the workflow and only want to use one signal in the plot.

    • Use the Signal output Selection operator to filter the signal

filter

5. Signal output Selection operator

  • Add a variable as input for the filter

    • Drag and drop the operator (Signal output Selection operator) into the work sheet

    • Create an input variable for local scripting

    • Call the variable filterTxt

904742071 image18
2065372121 image19
  • Set a script to filter the signal using the variable

1481802649 image20
1386559301 image21

6. Signal output Selection operator, cont.

  • Use the text operator to create a filterTxt-box

  • Connect the input and output slots as shown in the figure below

1553201176 image22

7. Call the workflow from main workflow

  • Drag and drop the workflow set operation

1283487199 image23
  • Connect the workflow set operation to the new workflow

    • wf_makeSinglePlot_filterSignal

  • Add input slots

840962634 image24
  • Make a selection of dynamic signal using the signal output selection operator

  • Use * to chose axial force from all segments and elements

1171525301 image25

8. flatten

  • Drag and drop the flatten operation into the workflow sheet

  • Rename , here:

    • flatten: remove folder structure

1549143991 image26

9. Make an array of signal name

  • Extract signal name

    • Use the Extract signal property operator

  • Make an array

    • Use the Merge Signal Operator

  • Then you a have an array of names. You use this one to select one signal at the time in the loop.

387565529 image27

10. Connect the slots

1576538277 image28

11. Run the total workflow

836485727 image29
  • Find resulting plots in storage task

38357615 image30

12. Notes