{"id":179522,"date":"2023-08-25T12:16:33","date_gmt":"2023-08-25T12:16:33","guid":{"rendered":"\/knowledge\/forums\/topic\/is-it-possible-to-define-a-contact-offset-function-of-x-y-or-z\/"},"modified":"2023-08-25T12:16:33","modified_gmt":"2023-08-25T12:16:33","slug":"is-it-possible-to-define-a-contact-offset-function-of-x-y-or-z","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/is-it-possible-to-define-a-contact-offset-function-of-x-y-or-z\/","title":{"rendered":"Is it possible to define a contact offset function of X, Y or Z ?"},"content":{"rendered":"<p>Yes it&#8217;s possible. For that you need to define a table with APDL and modify CNOF to make it function of a table.  *DIM,cnof,table,7,1,,Y! Define a new table variable &#8216;cnof&#8217; as a function of Y  cnof(1,0) = -35000! Define the row 1 (Y) of the table cnof(2,0) = -30000 cnof(3,0) = -25000 cnof(4,0) = -20000 cnof(5,0) = -15000 cnof(6,0) = -10000 cnof(7,0) = -5000  cnof(1,1) = 0.0! Define row 2(Offset) of the table cnof(2,1) = 0.01 cnof(3,1) = 0.02 cnof(4,1) = 0.025 cnof(5,1) = 0.02 cnof(6,1) = 0.01 cnof(7,1) = 0.0  RMODIF,cid,10,%cnof%! Modify the real constant 10 of the contact elements &#8216;cid&#8217;   Please find attached an example <\/p>\n<p>Attachments:<br \/>\n1. <a href=https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Phase-3\/2052095\/2052095.zip>2052095.zip<\/a><\/p>\n","protected":false},"template":"","class_list":["post-179522","topic","type-topic","status-publish","hentry","topic-tag-18-2","topic-tag-contact","topic-tag-general","topic-tag-mechanical","topic-tag-structural-and-thermal","topic-tag-structural-mechanics"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"siebel_km_number":["2052095"],"_bbp_last_active_time":["8\/25\/2023 20:20"],"_bbp_forum_id":["27795"],"_bbp_author_ip":["23.56.168.180"],"application_name":["Mechanical"],"family":["Structural Mechanics"],"km_published_date":["2017-10-25T00:00:00.000Z"],"product_version":["18"],"_btv_view_count":["2121"]},"test":"solution"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/179522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/179522\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=179522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}