-
Hello all, I would like to calculate the contact penetration of a tapered roller bearing by using CONTA178 elements between the raceways. So that, I´ve created a model with 30 contact elements including a pre-defined gap along the surface of the raceway and applied a constant pressure around the surface of the outer ring to simulate the pre-load of the bearing. The gap should simulate the profile of the logarithmic raceways. I would be very happy if someone here can help me. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hi @herttim, your question is related to the modelling approach and usage of MAPDL, and not on a specific coding issue with PyMAPDL. For such type of questions, please contact your local Ansys support provider, or use the Ansys Innovation Space forum. Thank you for your understanding. |
Beta Was this translation helpful? Give feedback.
-
Hi @herttim @ChrisHarrold @pmaroneh @germa89 with all due respect to you (my coworkers), herttim has asked similar questions in the past and the answers have varied between being a pure Python issue, MAPDL command issue, and using PyMAPDL. We really need to look at the code, and probably run it, before assuming the answer is purely a MAPDL answer. Mike |
Beta Was this translation helpful? Give feedback.
-
Hi @herttim result = mapdl.result The PyMAPDL result plotting includes plotting of equivalent stress, so no real need to use the PyMAPDL Reader anyway. The second issue is that the contact penetration post-processing needs to be issued while in /POST1 and after reading in the results. So move these: # Contact Penetration
# Example to test contact penetration
mapdl.allsel()
mapdl.lsel("S", "LINE", vmin=4)
mapdl.nsll("S", 1)
mapdl.esln("S", 0)
mapdl.esel("R", "ENAM", "", 178)
mapdl.eplot(vtk=True)
contact_penetration_r = mapdl.post_processing.element_values(item='nmisc', comp=3)
print(contact_penetration_r) To after the mapdl.set("last") command. Lastly the Contact178 elements default to use the defined (by real constant) GAP + the nodes locations as the total contact gap. In this model this results in a gap that is too large and I am pretty sure is not meant in this model. Otherwise the outer housing would almost (or not almost?) need to collapse before that gap was closed. Change the keyopt (4) for the contact elements to define the gap just by the real constant value: mapdl.keyopt(2,4,1) Also the second use of the ET command to define element type 2 to be cont178 is redundant (and kind of dangerous to be issues more than once). Mike |
Beta Was this translation helpful? Give feedback.
-
@germa89 @mikerife This issue suggests possible improvements that could be made to pymapdl:
|
Beta Was this translation helpful? Give feedback.
Hi @herttim, your question is related to the modelling approach and usage of MAPDL, and not on a specific coding issue with PyMAPDL. For such type of questions, please contact your local Ansys support provider, or use the Ansys Innovation Space forum. Thank you for your understanding.