Is it possible to retrieve data from table when Fields Container is passed to SetOutPutContour?

Options
ArnoldH
ArnoldH Member Posts: 9
First Anniversary Name Dropper First Comment
**

Hello,

In ANSYS help there is a following example:

https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v251/en/wb_sim/ds_python_result_examples_table.html

I am trying to do the same but by passing a fields container, see snippet below:

 forward = dpf.operators.utility.forward_fields_container()
 forward.inputs.fields.Connect(Data_FC)
 dpf_workflow = dpf.Workflow()
 dpf_workflow.Add(forward)
 dpf_workflow.SetOutputContour(forward)
 dpf_workflow.Record('wf_id', False)
 this.WorkflowId = dpf_workflow.GetRecordedId()

The above doesn't work, the script seems to display result for last time step. I would like to have a table of results from the fields container and allow the user to retrieve the result, is this possible and is this feature supported?

Answers

  • ArnoldH
    ArnoldH Member Posts: 9
    First Anniversary Name Dropper First Comment
    **

    Anyone knows the answer to the above, excerpt from the help below: