


{"id":358295,"date":"2024-03-21T09:46:28","date_gmt":"2024-03-21T09:46:28","guid":{"rendered":"\/forum\/forums\/reply\/358295\/"},"modified":"2024-03-21T09:46:28","modified_gmt":"2024-03-21T09:46:28","slug":"358295","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/","title":{"rendered":"Reply To: Need micromovement in X, Y and Z directions"},"content":{"rendered":"<p>&lt;p&gt;CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It&#8217;s probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:&lt;\/p&gt;&lt;p&gt;! Turn on &#8220;Analysis Settings &gt; Output Controls &gt; Contact miscellaneous&#8221;&lt;br&gt;! &#8220;contact_results&#8221; should be a named selection containing &#8220;contact&#8221; faces not target faces.&lt;br&gt;! nonlinear contacts will only have contacting area where status is sliding or sticking&lt;br&gt;! sliding and sticking regions will also have nonzero contact pressure.&lt;br&gt;! This snippet gets values at nodes (might be averaged from element centroid). It then averages by just adding the 4 nodes and dividing by 4.&lt;br&gt;! The pletab then averages element values to nodes for contour display. &nbsp;There is probably a better way than all this averaging.&lt;br&gt;! Maybe just put nodal values to a nodal result quantity: *VPUT, then use a User Defined Result to plot that result quantity&lt;br&gt;! You could alternatively just plot a user defined result in Mechanical, such as CONTNMISC17 to get R direction sliding on only I nodes (no averaging for connected elements).&lt;\/p&gt;&lt;p&gt;\/post1&lt;br&gt;cmsel,s,contact_results &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! contact_results should be a named selection containing contact faces (1 side)&lt;br&gt;esln,s,1,active &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! contact elements will not be in a component so select attached elements&lt;br&gt;set,last&lt;br&gt;etable,sta,cont,stat &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! It also gets inactive contact side from the symmetric contacts, so get status&lt;br&gt;esel,u,etab,sta,0,0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! remove elements with contact status = 0, which is for inactive and far open&lt;br&gt;etable,eras &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! erase entire etable to clear data from possible previous calls to etable command&lt;br&gt;esel,r,enam,,174 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! may need to elliminate any other connected types, such as beams, mpc184&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! If selecting all contacts, use esel,s,enam,,174 and delete previous commands through cmsel&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! can also just get contact using a command snippet under the contact, mcid = cid, then use esel,s,type,,mcid under Solution&lt;\/p&gt;&lt;p&gt;! sliding distance in S direction&lt;br&gt;*do,i,1,4&lt;br&gt;&nbsp; etable,sslide%i%,nmisc,i+20 &nbsp; &nbsp; &nbsp; &nbsp; ! etable sequence numbers for tass at each node 21,22,23,24 (I,J,K,L)&lt;br&gt;*enddo&lt;br&gt;sadd,temp1,sslide1,sslide2&lt;br&gt;sadd,temp2,sslide3,sslide4&lt;br&gt;sadd,sslidet,temp1,temp2&lt;br&gt;smult,sslide,sslidet,,0.25&lt;\/p&gt;&lt;p&gt;! sliding distance in R direction&lt;br&gt;*do,i,1,4&lt;br&gt;&nbsp; etable,rslide%i%,nmisc,i+16 &nbsp; &nbsp; &nbsp; &nbsp; ! etable sequence numbers for tasr at each node 17,18,19,20 (I,J,K,L)&lt;br&gt;*enddo&lt;br&gt;sadd,temp1,rslide1,rslide2&lt;br&gt;sadd,temp2,rslide3,rslide4&lt;br&gt;sadd,rslidet,temp1,temp2&lt;br&gt;smult,rslide,rslidet,,0.25&lt;\/p&gt;&lt;p&gt;\/view,1,1,1,1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Set isometric view&lt;br&gt;\/ang,1&lt;br&gt;\/auto,1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! fit to screen&lt;br&gt;\/show,png&lt;br&gt;pldisp,1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;! display both displaced and undisplaced model. use \/PLOPTS for other contour display options&lt;br&gt;pletab,sslide,avg&lt;br&gt;pletab,rslide,avg&lt;br&gt;! need to show coordinate system and undeformed model&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-358295","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It&#039;s probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:! Turn on &quot;Analysis Settings &gt; Output Controls &gt; Contact\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Reply To: Need micromovement in X, Y and Z directions | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It&#039;s probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:! Turn on &quot;Analysis Settings &gt; Output Controls &gt; Contact\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-03-21T09:46:28+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-03-21T09:46:28+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Reply To: Need micromovement in X, Y and Z directions | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It&#039;s probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:! Turn on &quot;Analysis Settings &gt; Output Controls &gt; Contact\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/358295\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/358295\\\/#listItem\",\"name\":\"Reply To: Need micromovement in X, Y and Z directions\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/358295\\\/#listItem\",\"position\":2,\"name\":\"Reply To: Need micromovement in X, Y and Z directions\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/358295\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/358295\\\/\",\"name\":\"Reply To: Need micromovement in X, Y and Z directions | Ansys Learning Forum\",\"description\":\"CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It's probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:! Turn on \\\"Analysis Settings > Output Controls > Contact\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/358295\\\/#breadcrumblist\"},\"datePublished\":\"2024-03-21T09:46:28+00:00\",\"dateModified\":\"2024-03-21T09:46:28+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Reply To: Need micromovement in X, Y and Z directions | Ansys Learning Forum","description":"CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It's probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:! Turn on \"Analysis Settings > Output Controls > Contact","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/#listItem","name":"Reply To: Need micromovement in X, Y and Z directions"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/#listItem","position":2,"name":"Reply To: Need micromovement in X, Y and Z directions","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/","name":"Reply To: Need micromovement in X, Y and Z directions | Ansys Learning Forum","description":"CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It's probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:! Turn on \"Analysis Settings > Output Controls > Contact","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/#breadcrumblist"},"datePublished":"2024-03-21T09:46:28+00:00","dateModified":"2024-03-21T09:46:28+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Reply To: Need micromovement in X, Y and Z directions | Ansys Learning Forum","og:description":"CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It's probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:! Turn on &quot;Analysis Settings &gt; Output Controls &gt; Contact","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/","article:published_time":"2024-03-21T09:46:28+00:00","article:modified_time":"2024-03-21T09:46:28+00:00","twitter:card":"summary_large_image","twitter:title":"Reply To: Need micromovement in X, Y and Z directions | Ansys Learning Forum","twitter:description":"CONTA174 has TASS and TASR for sliding in contact R and S directions. See the following command snippet. It's probably not the best way since I did an arithmetic average to get an element value. R and S directions can be different for every contact element:! Turn on &quot;Analysis Settings &gt; Output Controls &gt; Contact"},"aioseo_meta_data":{"post_id":"358295","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 16:52:52","updated":"2026-09-02 20:39:29","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tReply To: Need micromovement in X, Y and Z directions\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Reply To: Need micromovement in X, Y and Z directions","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/358295\/"}],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/358295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/358295\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=358295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}