


{"id":312702,"date":"2023-10-22T00:54:45","date_gmt":"2023-10-22T00:54:45","guid":{"rendered":"\/forum\/forums\/topic\/turbulent-viscosity-for-transitional-sst-model-in-ansys-fluent\/"},"modified":"2023-10-22T00:54:45","modified_gmt":"2023-10-22T00:54:45","slug":"turbulent-viscosity-for-transitional-sst-model-in-ansys-fluent","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/turbulent-viscosity-for-transitional-sst-model-in-ansys-fluent\/","title":{"rendered":"Turbulent viscosity for transitional SST model in ANSYS Fluent."},"content":{"rendered":"<p class=\"MsoNormal\" style=\"text-align: justify\"><span style=\"font-size: 12.0pt;line-height: 107%;font-family: 'Times New Roman',serif\">Hello all, how can one access the turbulent viscosity for transitional SST model in a UDF for further calculations? This is needed in my investigation to estimate the turbulent diffusivity for later solving a specie transport equation. <\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: justify\"><span style=\"font-size: 12.0pt;line-height: 107%;font-family: 'Times New Roman',serif\">Although the turbulent viscosity is visible in the GUI, I have tried the macro C_MU_T(c,t) in a User Define Memory (UDM) but it doesn&rsquo;t work as seen the attached picture. It seems this macro only works for the k-e and k-w models. <\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: justify\"><span style=\"font-size: 12.0pt;line-height: 107%;font-family: 'Times New Roman',serif\">I tried storing in UDMs other variables such as turbulent kinetic energy (with C_K(c,t)), specific dissipation rate (with C_O(c,t)) and strain rate magnitude (with C_STRAIN_RATE_MAG(c,t)), to calculate it according to Menter&rsquo;s work. However, only the former macro works as the others (i.e., C_O(c,t) and C_STRAIN_RATE_MAG(c,t)) didn&rsquo;t work. <\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: justify\"><span style=\"font-size: 12.0pt;line-height: 107%;font-family: 'Times New Roman',serif\">Also, I can create a custom field function for turbulent viscosity in the GUI but how does one access this within a UDF? Is there way to pass custom field functions into UDM for UDF calculations?<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: justify\"><span style=\"font-size: 12.0pt;line-height: 107%;font-family: 'Times New Roman',serif\"><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/10\/22-10-2023-1697936053-Turb_viscosity.png\" alt=\"\"><\/span><\/p>\n","protected":false},"template":"","class_list":["post-312702","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["295458","62368"],"_bbp_author_ip":["23.206.193.146"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_bbp_likes_count":["1"],"_btv_view_count":["1052"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["312702"],"_bbp_forum_id":["27792"],"_bbp_engagement":["62368","295458"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["313298"],"_bbp_last_active_id":["313298"],"_bbp_last_active_time":["2023-10-25 12:56:20"]},"test":"bovinille-anyechomanchester-ac-uk"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/312702","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\/312702\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=312702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}