


{"id":160628,"date":"2021-07-23T11:24:30","date_gmt":"2021-07-23T11:24:30","guid":{"rendered":"\/forum\/forums\/topic\/how-to-get-shear-rate-macro-in-udf\/"},"modified":"2021-07-26T11:15:52","modified_gmt":"2021-07-26T11:15:52","slug":"how-to-get-shear-rate-macro-in-udf","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-get-shear-rate-macro-in-udf\/","title":{"rendered":"How to get shear rate macro in UDF?"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Hello.<\/p>\n<p><\/p>\n<\/p>\n<p>I&#039;m modelling a 2D channel with a non-newtonian fluid flow and I need to describe its viscosity through an equation that depends on the shear rate ( <strong>&eta;<\/strong>=f(gamma_dot) ). I am doing this through an UDF. How can I access the shear rate? Should I use the C_STRAIN_RATE(c, t) macro or the C_DUDY(c, t) (in this case, the absolute value of it) one?<\/p>\n<p><\/p>\n<\/p>\n<p>Thank you.<\/p>\n<p>Best regards<\/p>\n","protected":false},"template":"","class_list":["post-160628","topic","type-topic","status-closed","hentry","topic-tag-macro-1","topic-tag-non-newtonian","topic-tag-shear-rate","topic-tag-udf","topic-tag-viscosity"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":[""],"_bbp_old_reply_author_name_id":["Anonymous"],"_bbp_old_is_reply_anonymous_id":["false"],"_btv_view_count":["1580"],"_bbp_likes_count":["0"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["160628"],"_bbp_forum_id":["27792"],"_bbp_engagement":["25","199","185491"],"_bbp_voice_count":["3"],"_bbp_reply_count":["7"],"_bbp_last_reply_id":["186508"],"_bbp_last_active_id":["186508"],"_bbp_last_active_time":["2021-07-26 11:15:52"]},"test":"montenegro"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/160628","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\/160628\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=160628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}