Are stresses extracted from DPF global or local to the element orientation

Options
Mike.Thompson
Mike.Thompson Member, Employee Posts: 300
First Anniversary First Comment 5 Likes Ansys Employee

When using DPF to extract stresses are the values returned in the global system, or the local element system?

Tagged:

Answers

  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 300
    First Anniversary First Comment 5 Likes Ansys Employee
    Options

    The stress operators have an input "bool_rotate_to_global" that is often default = True. This will be in the global system by default, but setting this to False will keep in the element orientation.

    `
    import mech_dpf
    import Ans.DataProcessing as dpf

    op = dpf.operators.result.stress() # operator instantiation
    op.inputs.bool_rotate_to_global.Connect(False) # optional
    `