Skip to content

Get contact penetration of selected nodes on a line #1705

Answered by mikerife
herttim asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @herttim
There are a few answers here as when I see "need X for further calculations" I'm assuming you need to capture the value and not a plot. Anyway Contact 178's don't support plotting contact values with the "cont" items as the other contact element types do. The name of the value is USEP (go figure) where negative values represent a gap and positive values penetration. And are stored on the third NMISC. So the following should plot these:

mapdl.esel('s','enam','',178)
mapdl.nsle()
mapdl.post_processing.plot_element_values(item='nmisc', comp=3)

You could capture the values for later calculations using:

contact_penetration = mapdl.post_processing.element_values(item='nmisc', comp=3)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by germa89
Comment options

You must be logged in to vote
2 replies
@mikerife
Comment options

@herttim
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants