transform direction stresses to a different coordinate system node for node

Peter
Peter Member Posts: 6
First Anniversary Name Dropper First Comment

for rotating the stress tensor I use the dpf.operators.geo.rotate function
with an op.inputs.fields_container
and an op.inputs.coordinate_system for an rotation field
the problem is, the rotation is just performt for the first entry in the rotation field, not used as a field as I expected.
Use case is getting stress in a direction along a path/curved edge for e.g. welding.
Is there a way to do it with dpf? The now used way is looping over the elements again

Tagged:

Comments

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

    Have you considered orienting the element coordinate systems prior to the solve so the results are in the correct orientation?
    In your DPF operator to retrieve stress, you should set the rotate to global property as false to keep them in the element orientation.