


{"id":35190,"date":"2019-05-07T22:30:37","date_gmt":"2019-05-07T22:30:37","guid":{"rendered":"\/forum\/forums\/topic\/fluent-conditional-functions-in-named-expression\/"},"modified":"2019-05-07T22:30:37","modified_gmt":"2019-05-07T22:30:37","slug":"fluent-conditional-functions-in-named-expression","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-conditional-functions-in-named-expression\/","title":{"rendered":"Fluent: Conditional functions in named expression"},"content":{"rendered":"<p>Hi, I&#8217;m trying to use a expression to define a wall heat flux. In fluent 2019 R1 one can write the expression using named expressions. I have succeeded in creating a wall heat flux that varies with respect to time but failed to create a conditional statement for such. I need to learn how to use the conditional statements &#8220;if&#8221; but I can&#8217;t find any manual or mention in a forum for its use in a named expression. Can someone help (if there is a syntax manual it would be splendid). For reference in this case I want a heat flux up to 65 ns, then it would become zero. (I tried using a UDF but when the value changes the simulation crashes with a divergence error in Temperature). Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-35190","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["7362"],"_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"],"_btv_view_count":["5190"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["35190"],"_bbp_forum_id":["27792"],"_bbp_engagement":["22555","165132"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["84744"],"_bbp_last_active_id":["84744"],"_bbp_last_active_time":["2019-05-08 05:01:51"]},"test":"esantana"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/35190","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\/35190\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=35190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}