Hi, is there a way to convert the stress tensor from the global coordinate system to local coordinate system? in pyDPF
You do this with the geo.rotate operator. Convert the local CS into a rotation matrix input.
thanks Mike, i´m tring to generate the rot max for the loacl CS. but it gives me error.
cs = model.operator(r"mapdl::rst::CS") cs.inputs.cs_id.connect(31) cs_rot_mat = cs.outputs.field.get_data().data.T[0:9] print(cs_rot_mat)
Resolved, please ignore.