PyAnsys Error: Joint Forces #1105
-
I am trying to extract joint reaction forces from an .rst file and I am getting the following error: "Source operator "mapdl::rst::JFL" not found" I can see the joint reaction forces in Ansys Mechanical using a joint probe but when I try to extract them from the rst file I get the error. Is there a way to make sure the joint reactions are written to the rst file? I am using Ansys 2022R2 and Python 3.9.2. My code is pasted below. Data Sourcespath = 'file.rst' Time Scopingop = dpf.operators.metadata.time_freq_provider() Meshop = dpf.operators.mesh.mesh_provider() Scopingop = dpf.operators.scoping.from_mesh() Joint Forcesop = dpf.operators.result.joint_force_reaction() Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @mredoutey, print(dpf.Model(my_data_sources)) This should list all the metadata found about the |
Beta Was this translation helpful? Give feedback.
-
@mredoutey, the joint force operator is for Ansys Motion and not for MAPDL results. Sorry for the confusion, we need to improve the documentation here. For MAPDL you can use SMISC results but you need to know the MPC184 Element ID beforehand. I have created posted a solution on Ansys Developer Forum, please refer to this. Please feel free to use Developer Forum for future questions and discussion. |
Beta Was this translation helpful? Give feedback.
@mredoutey, the joint force operator is for Ansys Motion and not for MAPDL results. Sorry for the confusion, we need to improve the documentation here. For MAPDL you can use SMISC results but you need to know the MPC184 Element ID beforehand. I have created posted a solution on Ansys Developer Forum, please refer to this. Please feel free to use Developer Forum for future questions and discussion.
https://discuss.ansys.com/discussion/2442/how-can-i-calculate-joint-forces-on-mpc184-elements-using-pydpf#latest