{"id":178901,"date":"2023-08-25T12:15:35","date_gmt":"2023-08-25T12:15:35","guid":{"rendered":"\/knowledge\/forums\/topic\/how-can-the-heat-flux-variable-be-calculated-on-user-surface-patches-at-a-wall-boundary\/"},"modified":"2023-08-25T12:15:35","modified_gmt":"2023-08-25T12:15:35","slug":"how-can-the-heat-flux-variable-be-calculated-on-user-surface-patches-at-a-wall-boundary","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-can-the-heat-flux-variable-be-calculated-on-user-surface-patches-at-a-wall-boundary\/","title":{"rendered":"How can the Heat Flux variable be calculated on User Surface patches at a wall boundary?"},"content":{"rendered":"<p>When creating a User Surface in ANSYS CFD-Post using the option from contour or an Iso Clip object to limit geometrically a wall boundary, it will be not possible to plot the variable Heat Flux on them. The reason is that Heat Flux is a boundary only variable and it can not be interpolated on the User Surface or the Iso Clip. One possibility to get the Heat Flux on a wall patch is to create the patch at mesh level. Another way in ANSYS CFD-Post will be to create: 1. a &#8216;mask&#8217; variable using step functions or if statements. It should have a 1 where the user surface is and zero elsewhere. For example, if geometry should be limited in x-direction, so that only positive x-coordinates are from interest, the expression will look like: mask = step(X*1 [m^-1]-0) 2. a new MyHeat Flux variable, that equal to Heat Flux times the mask: myHeatFlux = Heat Flux*mask  Plots and expression evaluations at the corresponding boundary condition are now possible with the User Variable MyHeatFlux. Please find an example attached.<\/p>\n<p>Attachments:<br \/>\n1. <a href=https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Phase-3\/2042678\/2042678.zip>2042678.zip<\/a><\/p>\n","protected":false},"template":"","class_list":["post-178901","topic","type-topic","status-publish","hentry","topic-tag-17-1","topic-tag-cfd-post","topic-tag-fluid-dynamics","topic-tag-general"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"siebel_km_number":["2042678"],"_bbp_last_active_time":["8\/25\/2023 20:20"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"application_name":["CFD-Post"],"family":["Fluid Dynamics"],"km_published_date":["2016-07-06T00:00:00.000Z"],"product_version":["17"],"_btv_view_count":["2179"]},"test":"solution"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/178901","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\/178901\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=178901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}