Skip to content

Accessing Contact Results #1591

Answered by mikerife
fzanst asked this question in Q&A
Oct 27, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @fzanst Yes, see the post_processing nodal_value. Here is an example of using this. Since MAPDL stores only corner node results in the result file I'll first select the corner nodes of the contact elements (ename 174).

mapdl.post1()
mapdl.set('last','last')
mapdl.esel('s','enam','',174)
mapdl.nsle('s','corner')
contact_pressure = mapdl.post_processing.nodal_values('cont','pres')
print(contact_pressure)
mapdl.mesh.nnum

Then compare to the MAPDL listing of the contact results. Unfortunately MAPDL "prints" all the contact information with the PRNSOL command.

print(mapdl.prnsol('cont'))

Mike

Replies: 1 comment 2 replies

Comment options

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

@mikerife
Comment options

Answer selected by germa89
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