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

Mike.Thompson
Mike.Thompson Member, Employee Posts: 330
25 Answers First Anniversary 100 Comments 25 Likes
✭✭✭✭

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: 330
    25 Answers First Anniversary 100 Comments 25 Likes
    ✭✭✭✭

    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
    `