


{"id":27880,"date":"2017-09-27T11:19:28","date_gmt":"2017-09-27T11:19:28","guid":{"rendered":"\/forum\/forums\/topic\/change-a-physical-property-value-only-near-the-wall\/"},"modified":"2017-09-27T11:19:28","modified_gmt":"2017-09-27T11:19:28","slug":"change-a-physical-property-value-only-near-the-wall","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/change-a-physical-property-value-only-near-the-wall\/","title":{"rendered":"Change a physical property value only near the wall?"},"content":{"rendered":"<p><span style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">Physical property values such as thermal conductivity can be defined as a function of position etc. by using the DEFINE<\/span><em style=\"box-sizing: border-box; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">PROPERTY macro. This example will change the physical property value between the wall adjacent cell and the other cells in which the thermal conductivity of the wall adjacent to ID=5 is 1.2 times. DEFINE<\/em><span style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">PROPERTY(thermal<\/span><em style=\"box-sizing: border-box; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">con,c,t) { Domain *d= Get<\/em><span style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">Domain(1); Thread&nbsp;<\/span><em style=\"box-sizing: border-box; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">t5=Lookup_Thread(d,5); face_t f; begin_f_loop(f,t5) { if(c==F_C0(f,t5)) { return 0.6<\/em><span style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">1.2; } } end<\/span><em style=\"box-sizing: border-box; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">f<\/em><span style=\"font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 15px;\">loop(f,t5) return 0.6; }<\/span><\/p>\n","protected":false},"template":"","class_list":["post-27880","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["45"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0","0","0","0","0"],"_btv_view_count":["244"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["27880"],"_bbp_forum_id":["27792"],"_bbp_engagement":["15"],"_bbp_voice_count":["1"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["122551"],"_bbp_last_active_id":["122551"],"_bbp_last_active_time":["2017-09-27 11:19:28"]},"test":"nselvara"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/27880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/27880\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=27880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}